RAK4200 not updating it's channel list correctly with region AS923

Issue: RAK4200 not updating it’s channel list correctly with region AS923

Setup: Device: RAK4200 version:3.2.0.14; Gateway: RAK2287+lora-net; Region Selected: AS923

Server: chirpstack

Details:
1, the sequence showing on the device:

2, Device join accept carried 5 channels in its CFLIST:

root@ccimx6ulsbc:~$ echo IATCzHzvZPMCFx5wV0SSYNc11YBa6N7uRcsKnj7LQLAY | base64 -d | xxd -p  -c 1000000
2004c2cc7cef64f302171e7057449260d735d5805ae8deee45cb0a9e3ecb40b018
root@ccimx6ulsbc:~$ echo 04c2cc7cef64f302171e7057449260d735d5805ae8deee45cb0a9e3ecb40b018 | xxd -r -p  | openssl enc  -aes-128-ecb -nosalt -nopad -K 64993368a14a4de2961b7729e589b907 |  xxd -p -c 100000
100000000000fc1a5001020320ee8cf0f58cc0fd8c90058d600d8d00d5da1af7

20 ee 8c	=	9236000
f0 f5 8c	=	9238000
c0 fd 8c	=	9240000
90 05 8d 	=	9242000
60 0d 8d	=	9244000

3, subsequent downlink acknowledgements showing channel 9246000 was sent to device 4 times:

                ( FHDR = DevAddr[4] | FCtrl[1] | FCnt[2] | FOpts[0..15] )
               DevAddr = 00E5D320 (Big Endian)
                 FCtrl = A6
                  FCnt = 0000 (Big Endian)
                 FOpts = 070730158D50


                ( FHDR = DevAddr[4] | FCtrl[1] | FCnt[2] | FOpts[0..15] )
               DevAddr = 00E5D320 (Big Endian)
                 FCtrl = A6
                  FCnt = 0001 (Big Endian)
                 FOpts = 070730158D50

                ( FHDR = DevAddr[4] | FCtrl[1] | FCnt[2] | FOpts[0..15] )
               DevAddr = 00E5D320 (Big Endian)
                 FCtrl = A6
                  FCnt = 0002 (Big Endian)
                 FOpts = 070730158D50

                ( FHDR = DevAddr[4] | FCtrl[1] | FCnt[2] | FOpts[0..15] )
               DevAddr = 00E5D320 (Big Endian)
                 FCtrl = A6
                  FCnt = 0003 (Big Endian)
                 FOpts = 070730158D50

                ( FHDR = DevAddr[4] | FCtrl[1] | FCnt[2] | FOpts[0..15] )
               DevAddr = 00E5D320 (Big Endian)
                 FCtrl = A0
                  FCnt = 0004 (Big Endian)
                 FOpts =
30158D	=	9246000

4, 2 problems here :
a) duplicated channels turned on on the device after it joined the gateway, so channel list wasn’t cleaned when new updates came
b) channel carried in MAC command NewChannelReq did not make it to the device

Please advise

Hi @rcai ,

It seems you are using an old firmware 3.2.0.14.

We have improvements on AS923 freq plan and its sub-bands on firmware 3.2.0.16.

I suggest you update the firmware and see if channels will be updated after join.

You can use this guide for updating the firmware - RAK4200 Module Quick Start Guide | RAKwireless Documentation Center

Thanks for the prompt response.
My initial test shows that 3.2.0.16 worked as expected:


1, channel list after fw update to 3.2.0.16
2, channel list after the 1st successfull join
3, channel list after ACK of the 1st packet sent was received