Get AT_NO_CLASSB_ENABLE error when reading the beacon time

Hi,

I´m using a RAK3172-SiP module in class B and I want to read the beacon time. But I get the response AT_NO_CLASSB_ENABLE.

I (3171) RAK3172: Transmit command: AT+JOIN=0:0:7:0
I (3211) RAK3172:      Status: OK
I (3211) RAK3172: Transmit command: AT+NJS=?
I (3221) RAK3172:      Value: 0
I (3221) RAK3172:      Status: OK
I (3221) RAK3172: Transmit command: AT+CLASS=B
I (3271) RAK3172:      Status: OK
I (3271) RAK3172: Transmit command: AT+ADR=1
I (3271) RAK3172:      Status: OK
I (3271) RAK3172: Transmit command: AT+BAND=4
I (3281) RAK3172:      Status: OK
I (3281) RAK3172: Transmit command: AT+BAND=?
I (3291) RAK3172:      Value: 4
I (3291) RAK3172:      Status: OK
I (3291) RAK3172: Transmit command: AT+TXP=0
I (3301) RAK3172:      Status: OK
I (3301) RAK3172: Transmit command: AT+NJM=1
I (3311) RAK3172:      Status: OK
I (3311) RAK3172_LoRaWAN: Using OTAA mode
I (3321) RAK3172: Transmit command: AT+DEVEUI=AC1F09FFFE071978
I (3371) RAK3172:      Status: OK
I (3371) RAK3172: Transmit command: AT+APPEUI=0000000000000000
I (3381) RAK3172:      Status: OK
I (3381) RAK3172: Transmit command: AT+APPKEY=1ED00F6F5EF603C7B1B7DACA1E262E44
I (3431) RAK3172:      Status: OK
I (3431) RAK3172: Transmit command: AT+NJS=?
I (3441) RAK3172:      Value: 0
I (3441) RAK3172:      Status: OK
I (3441) main: Not joined. Rejoin...
I (3441) RAK3172: Transmit command: AT+JOIN=1:0:15:5
I (3601) RAK3172:      Status: OK
I (11931) RAK3172: Event: +EVT:JOINED
I (11941) RAK3172: Transmit command: AT+BTIME=?
I (11941) RAK3172:      Value: AT_NO_CLASSB_ENABLE

Is this an issue with the device configuration or with my LoRaWAN network?

Hi @kampi ,

After joining the network, you can try to send an uplink packet. Then you can try to check again the status via AT+CLASS. After two minutes, if the beacon was received successful, you should have a beacon lock. Btw, what is your Network Server and Gateway you are using? Does both support class B? Also, does the gateways has GPS fix?

Hi @carlrowan

I´m using a Dragino Indoor gateway. The gateway doesn´t have a GPS fix as far as I know but supports class B. The network server is realized by ChirpStack and class B support is enabled in the device profile.

Is it necessary for the gateway to have GPS to provide this functionality? Why using NTP on the gateway isn´t enough for only the time?

Hi @kampi ,

I am not sure about the the class B functionality of the Dragino Indoor gateway. Maybe you can confirm on Dragino team just to be sure. On our test, we only use our gateways with GPS. We tested with Chirpstack Class B and it is working ok. With regards to NTP, it might sound practical but probably possible delay on time data might be an issue. With GPS, you can get the exact time with out latency since it is on the hardware itself. I haven’t seen class B implementation with NTP yet but I might be wrong.

Hi @carlrowan,

I have checked your suggestions. Transmitting data before the request solves the issue. I receive a time of 0, because of the missing GPS I think.

I have access to a RAK indoor gateway, but I guess this gateway doesn´t have GPS too? The documentation doesn´t mention GPS.

That’s good it works now.

If that is WisGate Edge Indoor, yes none. But WisGate Developer has GPS.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.