RAK2245 Rejecting activation from TTN

Hi
Any update ?

Thanks,
Mary

The downlink frequency on the gateway logs you posted is 923.2Mhz. That’s why @Hobo wants you to doublecheck the frequency plan you selected on setting up the gateway :slight_smile:

This is the IN865 frequency plan from TTN.

image

As it’s a Pi based gateway, why not reinstall from scratch - shouldn’t take more than a few minutes and you can record your setup as you go.

Also, please don’t cross post to TTN, it gets confusing for the volunteers over there as things progress but no one can figure out why because the discussion is else where. Stick to here, RAK are the experts on the RAK2245!

Sure will do that. But I am not getting the issue solved and I’m not sure if the issue is from the RAK side or from TTN. But the TTN downlink frequency is at 923.32Mz though I have configured in the Indian frequency band.
Anyway, will reinstall from scratch.

Thanks,
Mary

Can you post a screen shot of the TTN gateway page, just to sanity check it for you.

And can you find an official or branded power supply - not saying that has any bearing on what TTN servers may request your gateway to transmit on, but it helps with the Pi & the radio board don’t brown out due to power issues.

Would be useful to know if ABP is OK and if you can send a downlink to an ABP device.

The gateway page -

The gateway traffic -

I tried the ABP. Still ends up with the same issue.

Due to the general nature of Programmer OCD with a good dollop of paranoia, can you confirm that this means:

  1. ABP will send uplinks OK?
  2. If you schedule a downlink, it is sent at 923.2?

And, finally, is this before a re-install or after?

ABP issue is there even after re-install.
If I schedule a downlink, it is sent at 923.2. I shall share the screenshot if required.

I think sometimes the TTN is sending at 865.985 and the gateway logs are -
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: # BEACON sent so far: 0
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: # BEACON rejected: 0
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: ### [JIT] ###
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: # SX1301 time (PPS): 602647310
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: ### [GPS] ###
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: # Valid time reference (age: 0 sec)
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: # no valid GPS coordinates available yet
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: ##### END #####
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: JSON up: {“stat”:{“time”:“2020-10-29 15:48:25 GMT”,“rxnb”:1,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0}}
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: INFO: Received pkt from mote: D0037274 (fcnt=46037)
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: JSON up: {“rxpk”:[{“tmst”:604462684,“time”:“2020-10-29T15:48:27.815374Z”,“tmms”:1288021726815,“chan”:2,“rfch”:1,“freq”:865.985000,“stat”:1,“modu”:“LORA”,“datr”:“SF12BW125”,“codr”:“4/5”,“lsnr”:9.5,“rssi”:-22,“size”:23,“data”:“AHRyA9B+1bNwBHY3czc3MjFYCzsQAVM=”}]}
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: INFO: [down] PULL_RESP received - token[0:4] :slight_smile:
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: JSON down: {“txpk”:{“imme”:false,“tmst”:609462684,“freq”:865.985,“rfch”:0,“powe”:14,“modu”:“LORA”,“datr”:“SF10BW125”,“codr”:“4/5”,“ipol”:true,“size”:17,“ncrc”:true,“data”:“IKspeoF//WdyU5Pqtia17V0=”}}
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: INFO: == used txlut index:9
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: INFO: tx_start_delay=1495 (1495.500000) - (1497, bw_delay=1.500000, notch_delay=0.000000)
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: INFO: [down] PULL_ACK received in 120 ms
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: INFO: [down] PULL_ACK received in 96 ms
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: INFO: [down] PULL_ACK received in 87 ms
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: ##### 2020-10-29 15:48:55 GMT #####
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: ### [UPSTREAM] ###
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: # RF packets received by concentrator: 1
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: # CRC_OK: 100.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: # RF packets forwarded: 1 (23 bytes)
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: # PUSH_DATA datagrams sent: 2 (375 bytes)
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: # PUSH_DATA acknowledged: 0.00%
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: ### [DOWNSTREAM] ###
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: # PULL_DATA sent: 3 (100.00% acknowledged)
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: # PULL_RESP(onse) datagrams received: 1 (192 bytes)
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: # RF packets sent to concentrator: 1 (17 bytes)
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: # TX errors: 0
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: # TX rejected (collision packet): 0.00% (req:1, rej:0)
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: # TX rejected (collision beacon): 0.00% (req:1, rej:0)
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: # TX rejected (too late): 0.00% (req:1, rej:0)
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: # TX rejected (too early): 0.00% (req:1, rej:0)
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: # BEACON queued: 0
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: # BEACON sent so far: 0
Oct 29 15:49:25 rak-gateway ttn-gateway[650]: # BEACON rejected: 0

Any clue on this?

It’s not clear how you are determining that it’s requesting a send on 923.2.

The log shows the uplink and the subsequent downlink on 865.985 so this looks OK and I’ll assume that the information appears as expected on the web console.

Can you try again with OTAA and post the log so we can see if the re-install has changed anything.

The RSSI shown in the second log seems rather high - how far apart is the gateway & device?

Whilst in theory this is irrelevant to the TTN asking for the wrong frequency, it will still have an impact on other tests as both transmitters can overload the input stage of the receiver and make a mess of things.

As a part of testing, they are just few meters apart. Should I keep them away?

Yes, read above, the concentrator can get very confused about which channel received a message if you have reasonable antenna’s without any blocking.

A brick wall, a computer monitor or 5m is needed to minimise this. Preferably 20m separation.

I’ve kept them apart. Still the same scenario.

I wasn’t expecting that to fix it, it was an aside.

Please can we have the log for the OTAA join 923.2 issue.

Oct 29 17:42:21 rak-gateway ttn-gateway[1508]: JSON up: {“stat”:{“time”:“2020-10-29 17:41:45 GMT”,“rxnb”:1,“rxok”:1,“rxfw”:1,“ackr”:0.0,“dwnb”:0,“txnb”:0}}
Oct 29 17:42:21 rak-gateway ttn-gateway[1508]: WARNING: [gps] could not get GPS time from GPS
Oct 29 17:42:21 rak-gateway ttn-gateway[1508]: WARNING: [gps] could not get GPS time from GPS
Oct 29 17:42:21 rak-gateway ttn-gateway[1508]: INFO: [down] PULL_RESP received - token[0:1] :slight_smile:
Oct 29 17:42:21 rak-gateway ttn-gateway[1508]: JSON down: {“txpk”:{“imme”:false,“tmst”:275000092,“freq”:923.2,“rfch”:0,“powe”:14,“modu”:“LORA”,“datr”:“SF10BW125”,“codr”:“4/5”,“ipol”:true,“size”:17,“ncrc”:true,“data”:“IEJtPCbx/6FMY3nrXgSxJjU=”}}
Oct 29 17:42:21 rak-gateway ttn-gateway[1508]: ERROR: Packet REJECTED, unsupported frequency - 923200000 (min:865000000,max:867000000)
Oct 29 17:42:21 rak-gateway ttn-gateway[1508]: WARNING: [gps] could not get GPS time from GPS
Oct 29 17:42:21 rak-gateway ttn-gateway[1508]: WARNING: [gps] could not get GPS time from GPS
Oct 29 17:42:21 rak-gateway ttn-gateway[1508]: WARNING: [gps] could not get GPS time from GPS
Oct 29 17:42:21 rak-gateway ttn-gateway[1508]: INFO: [down] PULL_ACK received in 124 ms

Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: INFO: Received pkt from mote: D0037274 (fcnt=46037)
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: JSON up: {“rxpk”:[{“tmst”:569030292,“chan”:2,“rfch”:1,“freq”:865.985000,“stat”:1,“modu”:“LORA”,“datr”:“SF12BW125”,“codr”:“4/5”,“lsnr”:10.0,“rssi”:-87,“size”:23,“data”:“AHRyA9B+1bNwBHY3czc3MjF+8qEbwWk=”}]}
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: WARNING: [gps] could not get GPS time from GPS
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: WARNING: [gps] could not get GPS time from GPS
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: WARNING: [gps] could not get GPS time from GPS
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: INFO: [down] PULL_ACK received in 85 ms
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: WARNING: [gps] could not get GPS time from GPS
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: ##### 2020-10-29 17:46:45 GMT #####
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: ### [UPSTREAM] ###
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: # RF packets received by concentrator: 1
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: # CRC_OK: 100.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: # RF packets forwarded: 1 (23 bytes)
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: # PUSH_DATA datagrams sent: 2 (318 bytes)
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: # PUSH_DATA acknowledged: 0.00%
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: ### [DOWNSTREAM] ###
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: # PULL_DATA sent: 3 (100.00% acknowledged)
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: # RF packets sent to concentrator: 0 (0 bytes)
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: # TX errors: 0
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: # BEACON queued: 0
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: # BEACON sent so far: 0
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: # BEACON rejected: 0
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: ### [JIT] ###
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: # SX1301 time (PPS): 542640452
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: ### [GPS] ###
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: # Invalid time reference (age: 1603993605 sec)
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: # no valid GPS coordinates available yet
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: ##### END #####
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: JSON up: {“stat”:{“time”:“2020-10-29 17:46:45 GMT”,“rxnb”:1,“rxok”:1,“rxfw”:1,“ackr”:0.0,“dwnb”:0,“txnb”:0}}
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: INFO: [down] PULL_RESP received - token[0:3] :slight_smile:
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: JSON down: {“txpk”:{“imme”:false,“tmst”:574030292,**“freq”:865.985,"**rfch":0,“powe”:14,“modu”:“LORA”,“datr”:“SF10BW125”,“codr”:“4/5”,“ipol”:true,“size”:17,“ncrc”:true,“data”:“IIvoQ4g0Q56kWNublMmcnqU=”}}
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: INFO: == used txlut index:9
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: WARNING: [gps] could not get GPS time from GPS
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: INFO: tx_start_delay=1495 (1495.500000) - (1497, bw_delay=1.500000, notch_delay=0.000000)
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: WARNING: [gps] could not get GPS time from GPS
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: WARNING: [gps] could not get GPS time from GPS
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: WARNING: [gps] could not get GPS time from GPS
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: WARNING: [gps] could not get GPS time from GPS
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: WARNING: [gps] could not get GPS time from GPS
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: WARNING: [gps] could not get GPS time from GPS
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: WARNING: [gps] could not get GPS time from GPS
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: WARNING: [gps] could not get GPS time from GPS
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: WARNING: [gps] could not get GPS time from GPS
Oct 29 17:47:15 rak-gateway ttn-gateway[1508]: INFO: [down] PULL_ACK received in 97 ms

The above log shows TTN has sent at freq":865.985, but not forwarded to the mote.

HI
Any update on this?

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 …