Channel Mask with CUBE lrwan library

Greetings deer members,

I am using a Murata typeABZ chip as end node with the ST LoRa librairies.
I actually have a single channel Dragino Gateway for test purposes only and I want to use only 3 channels to loose “only” 2/3 of my packets during my tests.

I assume there is something to do in the RegionEU868.c code like here

image

but I tried different things that did not reduce the number of channels my module emits on.

Do you have an idea of which code I need to modify from the original files ?

Thank you.

See this issue on Github for how to properly do the channel mask, endorsed by the developers. This issue is on the original LoRaMAC-node project by Semtech, which is forked by ST.

https://github.com/Lora-net/LoRaMac-node/issues/742#issuecomment-492231231

That is not a LoRaWAN gateway and it should not be used on TTN. Connecting it will result in degraded network performance in your vicinity. Please disconnect it.

2 Likes

I know it but as I specified it’s for test purpose only, I do not connect it more than 5-10 minutes a day and I will change it for an WAN gateway as soon as I receive it. Apologies for the inconvenience.