OTAA joins 1 out 10 times

Issue: I am configuring the connection through OTAA of a RAK815 device, towards a Kerlink Gateway with internal LNS, which the Join Accept fails several times since apparently I have not configured the masks correctly. When it manages to receive the Join Accept, the program works as expected but when you restart it, it fails again. I have configured the RAK7200 and RAK7205 correctly towards the same gateway, but it worked only after I correctly assigned the channels with the command at + set_config = lora: ch_mask: X: Y

Setup: program with KEIL, using Peripherals DEMO and Lorawan DEMO, burn with j-link, frequency AU915.

Server: Kerlink SPN

Details: Could someone help me to correctly configure the given example code? For now I am trying to modify the RegionAU915.h file but without results.

Thanks everybody!

Solved: it has to be change like:

uint16_t channelMask[] = { 0x00FF, 0x0000, 0x0000, 0x0000, 0x0001, 0x0000};

image

This is the config to AU915 1st subBand (used in Chile)

1 Like

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