Hi, I have two SODAQ ONE, I loaded the same firmware in both
#define PROJECT_NAME "SodaqOne Universal Tracker v3"
#define VERSION "6.0.0"
#define STARTUP_DELAY 5000
// #define DEFAULT_TEMPERATURE_SENSOR_OFFSET 33
// #define DEFAULT_LORA_PORT 1
#define DEFAULT_IS_OTAA_ENABLED 1
// #define DEFAULT_DEVADDR_OR_DEVEUI "00000002"
#define DEFAULT_APPSKEY_OR_APPEUI "4141414141414141" //
#define DEFAULT_NWSKEY_OR_APPKEY "41414141414141414141414141414141" //
On both, I get accept denied
[wakeUp]
mac set deveui 0004A30B0020762E
[expectString] (“ok”) .–> “ok” found a match!
mac set appeui 4141414141414141
[expectString] (“ok”) .–> “ok” found a match!
mac set appkey 41414141414141414141414141414141
[expectString] (“ok”) .–> “ok” found a match!
mac set adr on
[expectString] (“ok”) .–> “ok” found a match!
[joinNetwork]
mac join otaa
[expectString] (“ok”) .–> “ok” found a match!
[expectString] (“accepted”) …–> “denied”
LoRa initialization failed!
[sleep]
sys sleep 259200000
** Boot-up completed successfully!
Starting getGpsFixAndTransmit()…
I have Multicomp nodes, and I’m using the same settings as in the SODAQ:
AT&V
Device ID: 00:80:00:00:00:00:f0:7d
Default Frequency Band: US915
Current Frequency Band: US915
Frequency Sub Band: 1
Public Network: off
Start Up Mode: COMMAND
Network Address: 00000001
Network ID: 41:41:41:41:41:41:41:41
Network ID Passphrase:
Network Key: 41.41.41.41.41.41.41.41.41.41.41.41.41.41.41.41
Network Key Passphrase:
Network Session Key: eb.7a.05.81.f0.1c.90.69.be.db.15.bd.84.72.5d.fc
Data Session Key: 3b.55.a3.77.30.34.de.2c.d4.d3.27.38.07.58.a8.45
Network Join Mode: OTA
Network Join Retries: 2
Preserve Session: off
Join Byte Order: LSB
Join Delay: 1
Join Rx1 DR Offset: 0
Join Rx2 Datarate: DR8 - SF12BW500
Join Rx2 Frequency: 923300000
App Port: 1
Listen Before Talk: off
Link Check Threshold: off
Link Check Count: off
Error Correction: 1 bytes
ACK Retries: off
Packet Repeat: 1
Encryption: on
CRC: on
Adaptive Data Rate: off
Command Echo: on
Verbose Response: off
Tx Frequency: 0
Tx Data Rate: DR0 - SF10BW125
Min/Max Tx Data Rate: Min: DR0 - SF10BW125
Max: DR4 - SF8BW500
Tx Power: 30
Min/Max Tx Power: Min: 0
Max: 30
Tx Antenna Gain: 3
Tx Wait: on
Tx Inverted Signal: off
Rx Delay: 1 s
Rx Inverted Signal: on
Rx Output Style: HEXADECIMAL
Debug Baud Rate: 115200
Serial Baud Rate: 115200
Serial Flow Control: off
Serial Clear On Error: on
Wake Mode: INTERVAL
Wake Interval: 10 s
Wake Delay: 100 ms
Wake Timeout: 20 ms
Wake Pin: DI8
Log Level: 0
With the multicomp it connects ok
AT+JOIN
AT+JOIN
Successfully joined network
OK
AT+PING
AT+PING
-31,9.0
OK
When I go to the gateway Log I can see the 3 nodes:
The multicomp node always increases the package counter on the gateway
The sodaq nodes only sometimes, I retry connections with the sodaq but only sometimes they increases the counter in the log.
I have all the nodes in the same room at the same distance of the gateway, using the included antena an also tried with an SMA antenna like the multicomp.
These are some lines of the log of the sodaq nodes connection tries.
Aug 10 04:00:04 mtcdt user.info lora-network-server: ED:00-04-a3-0b-00-20-76-2e|JOINREQ|New End Device assigning DevAddr 00000003
Aug 10 04:00:04 mtcdt user.info lora-network-server: ED:00-04-a3-0b-00-20-76-2e|QUEUE-TX|JOIN SIZE: 17
Aug 10 04:00:04 mtcdt user.info lora-network-server: ED:00-04-a3-0b-00-20-76-2e|JOINREQ-OK|JOINS: 1 UP: 1
Aug 10 04:00:04 mtcdt user.info lora-network-server: ED:00-04-a3-0b-00-20-76-2e|JOIN-ACCEPT|DevAddr: 00000003
Aug 10 04:00:04 mtcdt user.info lora-network-server: ED:00-04-a3-0b-00-20-76-2e|SCHED-TX|Use RX1 TOA:22 ms
Aug 10 04:00:04 mtcdt user.info lora-network-server: ED:00-04-a3-0b-00-20-76-2e|SCHED-TX|Q-SIZE: 1 PKT-SIZE: 17 PKT-ROOM: 242
And these are of the multicomp node
Aug 10 04:08:05 mtcdt user.info lora-network-server: ED:00-80-00-00-00-00-f0-7d|DEV-ADDR|Found End Device in DB 1
Aug 10 04:08:05 mtcdt user.info lora-network-server: ED:00-80-00-00-00-00-f0-7d|QUEUE-TX|JOIN SIZE: 17
Aug 10 04:08:05 mtcdt user.info lora-network-server: ED:00-80-00-00-00-00-f0-7d|JOINREQ-OK|JOINS: 3 UP: 3
Aug 10 04:08:05 mtcdt user.info lora-network-server: ED:00-80-00-00-00-00-f0-7d|JOIN-ACCEPT|DevAddr: 00000001
Aug 10 04:08:05 mtcdt user.info lora-network-server: ED:00-80-00-00-00-00-f0-7d|SCHED-TX|Use RX1 TOA:22 ms
Aug 10 04:08:06 mtcdt user.info lora-network-server: ED:00-80-00-00-00-00-f0-7d|SCHED-TX|Q-SIZE: 1 PKT-SIZE: 17 PKT-ROOM: 242
Aug 10 04:08:13 mtcdt user.info lora-network-server: ED:00-80-00-00-00-00-f0-7d|CHECK-PKT|FCNT: 00000000 LAST-FCNT: 00000000 Duplicate: no
Aug 10 04:08:13 mtcdt user.info lora-network-server: ED:00-80-00-00-00-00-f0-7d|CHECK-MIC|ADDR: 00:00:00:01 passed
Aug 10 04:08:13 mtcdt user.info lora-network-server: ED:00-80-00-00-00-00-f0-7d|PER|0.000000%
Aug 10 04:08:13 mtcdt user.info lora-network-server: ED:00-80-00-00-00-00-f0-7d|FCTRL|ADR:0 ADRACK:0 ACK:0 CLASS:A OPTS:1
Aug 10 04:08:13 mtcdt user.info lora-network-server: ED:00-80-00-00-00-00-f0-7d|SCHED-TX|Use RX1 TOA:82 ms
I’m powering the sodaq with two different usb cables, they are less than 20cm long.
Thanks