xDot "Failed to join network" on TTN with EU868

Home Forums mDot/xDot xDot "Failed to join network" on TTN with EU868

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #26704
    sven@rysta.io
    Participant

    I have problems to get myxDot connected to TheThingsNetwork (TTN).
    I have a TTN Gateway in direct line of sight and tried with the binary firmware releases 3.1, 3.0, 2.0.16 and even self-compiled mbed-os OTA example. In all setups, the xDot cannot join the network and I don’t see any logs in the TTN console hinting to a successful radio connection.

    I’m using a MTXDOT-EU1-A00 Demoboard and I’m located in Europe/Germany.
    Manufacturing date was: 02/2018

    Here is the Output of At&V

    
    Device ID:		00:80:00:00:04:00:xx:xx
    Default Frequency Band:	US915
    Current Frequency Band:	EU868
    Frequency Sub Band:	0
    Public Network:		on
    Start Up Mode:		COMMAND
    Network Address:	00000000
    Network ID:		70:b3:d5:7e:d0:xx:xx:xx
    Network ID Passphrase:	
    Network Key:		b2.65.26.0e.62.5e.84.8c.9a.fd.ee.95.99.xx.xx.xx
    Network Key Passphrase:	
    Network Session Key:	00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
    Data Session Key:	00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
    Network Join Mode:	OTA
    Network Join Retries:	2
    Preserve Session:	off
    Join Byte Order:	LSB
    Join Delay:		5
    Join Rx1 DR Offset:	0
    Join Rx2 Datarate:	DR8 - FSK
    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 - SF12BW125
    Min/Max Tx Data Rate:	Min: DR0 - SF12BW125
    			Max: DR7 - FSK
    Tx Power:		20
    Min/Max Tx Power:	Min: 0
    			Max: 27
    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:		WAKE
    Log Level:		6
    

    And here the debug output on AT+JOIN

    
    [TRACE] Initiating join...
    [TRACE] Join Network - OTA
    [INFO] Send join request RxDelay: 0 Rx1Offset: 0 Rx2Freq: 923300000 Rx2Dr: 8
    [TRACE] DevEUI: 0080000004005xxx
    [TRACE] AppEUI: 70b3d57ed0013xxx
    [TRACE] AppKey: b265260e625e848c9afdee959970xxxxx
    [INFO] Configure radio for TX
    [DEBUG] Session pwr: 20 ant: 3 max: 14
    [DEBUG] Radio Power index: 10 output: 11 total: 14
    [DEBUG] TX PWR: 10 DR: 0 SF: 12 BW: 0 CR: 1 PL: 8 CRC: 1 IQ: 0
    [INFO] Configure radio for TX
    [DEBUG] Session pwr: 20 ant: 3 max: 14
    [DEBUG] Radio Power index: 10 output: 11 total: 14
    [DEBUG] TX PWR: 10 DR: 0 SF: 12 BW: 0 CR: 1 PL: 8 CRC: 1 IQ: 0
    [TRACE] Sending 23 bytes
    [TRACE] Number of available channels: 3
    [DEBUG] Using channel 0 : 868100000
    [INFO] Configure radio for TX
    [DEBUG] Session pwr: 20 ant: 3 max: 14
    [DEBUG] Radio Power index: 10 output: 11 total: 14
    [DEBUG] TX PWR: 10 DR: 0 SF: 12 BW: 0 CR: 1 PL: 8 CRC: 1 IQ: 0
    [INFO] Configure radio for TX
    [DEBUG] Session pwr: 20 ant: 3 max: 14
    [DEBUG] Radio Power index: 10 output: 11 total: 14
    [DEBUG] TX PWR: 10 DR: 0 SF: 12 BW: 0 CR: 1 PL: 8 CRC: 1 IQ: 0
    [DEBUG] update TOE: freq: 868100000 i:1 toa: 1482 DC:100
    [DEBUG] mDotEvent - TxDone
    [TRACE] Event: OK
    [TRACE] Flags Tx: 1 Rx: 0 RxData: 0 RxSlot: 0 LinkCheck: 0 JoinAccept: 0
    [TRACE] Info: Status: 0 ACK: 0 Retries: 0 TxDR: 0 RxPort: 0 RxSize: 0 RSSI: 0 SNR: 0 Energy: 0 Margin: 0 Gateways: 0
    [DEBUG] RadioEvent - TxDone
    [TRACE] RX1 on freq: 868100000
    [TRACE] RX DR: 0 SF: 12 BW: 0 CR: 1 PL: 8 STO: 8 CRC: 0 IQ: 1
    [TRACE] Stats: Up: 1 Down: 0 DupTx: 0 CRC Errors: 0
    [INFO] Rx Window 1
    [TRACE] Event: RX_TIMEOUT
    [TRACE] Flags Tx: 0 Rx: 0 RxData: 0 RxSlot: 1 LinkCheck: 0 JoinAccept: 0
    [TRACE] Info: Status: 3 ACK: 0 Retries: 0 TxDR: 0 RxPort: 0 RxSize: 0 RSSI: 0 SNR: 0 Energy: 0 Margin: 0 Gateways: 0
    [TRACE] RX2 on freq: 923300000
    [TRACE] RX DR: 9 SF: 14 BW: 50 CR: 0 PL: 10 STO: 12 CRC: 0 IQ: 1
    [TRACE] Stats: Up: 1 Down: 0 DupTx: 0 CRC Errors: 0
    [INFO] Rx Window 2
    [TRACE] Event: RX_TIMEOUT
    [TRACE] Flags Tx: 0 Rx: 0 RxData: 0 RxSlot: 2 LinkCheck: 0 JoinAccept: 0
    [TRACE] Info: Status: 3 ACK: 0 Retries: 0 TxDR: 0 RxPort: 0 RxSize: 0 RSSI: 0 SNR: 0 Energy: 0 Margin: 0 Gateways: 0
    [ERROR] Failed to join network
    
    

    I tried for hours getting the device connected to a gateway – I tried a different location (again with a gateway close by) and still no success. I cannot make fully sense of the debug output – but as far as I understand there is no gateway in reach. (Im living in Berlin and there are at least 3-4 TTN routers in reach).

    Is my xDot broken??

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.