Configure Cubecell to connect to single channel gateway

Hi,

I have a cubecell connecting to a pycom lopy4 acting as a lora nano gateway. The nano gateway is single channel only. I can see the cubecell connecting to the gatway and connecting to the TTN network.

I think however i need to configure the cubecell to send traffic on a single channel only to the gateway. Looking at the logs (lopy and TTN) this should be channel 0.

I think I need to update this code to make this happen:

**/LoraWan channelsmask, default channels 0-7/ **
uint16_t userChannelsMask[6]={ 0x00FF,0x0000,0x0000,0x0000,0x0000,0x0000 };

…but I am not sure what to. Can someone advise what I should be changing this to please? It is EU868 region and needs to connect on Channel 0 only.

Many thanks,

Richard

Hi,

about how to change the channels? you can refer this url:


https://heltec-automation-docs.readthedocs.io/en/latest/gateway/ht-m00/connect_to_gateway.html#channel-frequency