RAK2245 Rejecting activation from TTN

From me personally, no, I’ve spent the last few hours unconscious.

Before buying, I checked with the RAK store and confirmed that this module will work in India. Right now I am completely clueless on this issue. I need to complete this at the earliest for POC.

Kindly provide a solution at the earliest.

Thanks,
Mary

I’m just another user trying to help another user and unfortunately I had to sleep last night, hence the slow response.

cslorabox on the TTN forum gave a suggestion about using a different EUI just in case something has gone wrong inside the TTN servers with the gateway registration.

But let’s get the RAKstars on the case. Paging @Sucre, @Nicholas, @ZhuQI, @Fomi, @anon55548400, @velev, @nero, @Hobo, customer at the service desk …

How can I overwrite a different EUI on the gateway?

The conf files location appear at the beginning of the log on startup. On the nearest RAK Gateway I have to hand, that’s:

/opt/ttn-gateway/packet_forwarder/lora_pkt_fwd/local_conf.json

I believe the EUI is derived from the network MAC address so it’s not an official one as such, so you can edit the one you have to something else. For instance, my gateways that don’t have an official EUI embedded all start DE5CA7.

You will then need to re-register the gateway on TTN.

I stress, this is cslorabox’s suggestion - he’s got more knowledge on these things than I do - I’m more focused on device firmware and backend applications.

Most of RAK will be coming to the end of their work day - I seem to cover the other half of the clock - but hopefully someone will chime in shortly.

Hi. This is something related to TTN. I have tested it and sometimes join requests and downlinks are sent at 923MHz. If you use router.as2.thethings.network in the global_conf.json in the Gateway, the node will join after few attempts, but downlinks and ACK packets are sent with the correct frequency.

1 Like

Hi
Thanks for responding. What you said is right. After few attempts, TTN sends in 865 - 867 band but the gateway is not forwarding it to my node. Please have a look at the logs below -

Oct 30 17:37:20 rak-gateway ttn-gateway[485]: JSON up: {“stat”:{“time”:“2020-10-30 17:36:13 GMT”,“rxnb”:1,“rxok”:1,“rxfw”:1,“ackr”:0.0,“dwnb”:1,“txnb”:0}}
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: INFO: [down] PULL_ACK received in 137 ms
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: INFO: Received pkt from mote: D0037274 (fcnt=46037)
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: JSON up: {“rxpk”:[{“tmst”:1029245236,“time”:“2020-10-30T17:36:25.586344Z”,“tmms”:1288114604586,“chan”:2,“rfch”:1,“freq”:865.985000,“stat”:1,“modu”:“LORA”,“datr”:“SF12BW125”,“codr”:“4/5”,“lsnr”:11.0,“rssi”:-25,“size”:23,“data”:“AHRyA9B+1bNwBHY3czc3MjEETgHrDYY=”}]}
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: INFO: [down] PULL_RESP received - token[0:6] :slight_smile:
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: JSON down: {“txpk”:{“imme”:false,“tmst”:1035245236,“freq”:923.2,“rfch”:0,“powe”:14,“modu”:“LORA”,“datr”:“SF10BW125”,“codr”:“4/5”,“ipol”:true,“size”:17,“ncrc”:true,“data”:“IL2p/rtLTpDd8hobdIxaEmQ=”}}
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: ERROR: Packet REJECTED, unsupported frequency - 923200000 (min:865000000,max:867000000)
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: INFO: Received pkt from mote: D0037274 (fcnt=46037)
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: JSON up: {“rxpk”:[{“tmst”:1037665284,“time”:“2020-10-30T17:36:42.006392Z”,“tmms”:1288114621006,“chan”:0,“rfch”:0,“freq”:865.062500,“stat”:1,“modu”:“LORA”,“datr”:“SF12BW125”,“codr”:“4/5”,“lsnr”:12.0,“rssi”:-23,“size”:23,“data”:“AHRyA9B+1bNwBHY3czc3MjGu5/8tON8=”}]}
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: INFO: [down] PULL_ACK received in 126 ms
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: INFO: [down] PULL_RESP received - token[0:7] :slight_smile:
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: JSON down: {“txpk”:{“imme”:false,“tmst”:1042665284,“freq”:865.0625,“rfch”:0,“powe”:14,“modu”:“LORA”,“datr”:“SF10BW125”,“codr”:“4/5”,“ipol”:true,“size”:17,“ncrc”:true,“data”:“ICx7kjC13hfCy04RMJ0Bjgk=”}}
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: INFO: == used txlut index:9
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: INFO: tx_start_delay=1495 (1495.500000) - (1497, bw_delay=1.500000, notch_delay=0.000000)
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: INFO: [down] PULL_ACK received in 99 ms
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: ##### 2020-10-30 17:36:43 GMT #####
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: ### [UPSTREAM] ###
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: # RF packets received by concentrator: 2
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: # CRC_OK: 100.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: # RF packets forwarded: 2 (46 bytes)
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: # PUSH_DATA datagrams sent: 3 (643 bytes)
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: # PUSH_DATA acknowledged: 0.00%
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: ### [DOWNSTREAM] ###
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: # PULL_DATA sent: 3 (100.00% acknowledged)
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: # PULL_RESP(onse) datagrams received: 2 (385 bytes)
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: # RF packets sent to concentrator: 1 (34 bytes)
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: # TX errors: 0
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: # TX rejected (collision packet): 0.00% (req:3, rej:0)
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: # TX rejected (collision beacon): 0.00% (req:3, rej:0)
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: # TX rejected (too late): 0.00% (req:3, rej:0)
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: # TX rejected (too early): 0.00% (req:3, rej:0)
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: # BEACON queued: 0
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: # BEACON sent so far: 0
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: # BEACON rejected: 0
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: ### [JIT] ###
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: # SX1301 time (PPS): 1022658891
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: ### [GPS] ###
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: # Valid time reference (age: 0 sec)
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: # no valid GPS coordinates available yet
Oct 30 17:37:20 rak-gateway ttn-gateway[485]: ##### END #####

Hi,

Can you please check if the logs confirm transmission of JOIN Accept from server to the mote as my mote hits RxTimeout.

Thanks,
Mary