Skip to main content
Peter Simpson
Associate
May 17, 2019
Question

How do i limit the channels that will be used in the STM32CubeExpansion_LRWAN_V1.2.1 End Node example

  • May 17, 2019
  • 2 replies
  • 773 views

I am using a B-L072Z-LRWAN1 and the STM32CubeExpansion_LRWAN_V1.2.1 End node example with an 8 channel lora gateway set to channels 1-8. The gateway is receiving some data from the End Node.

Appears the End Node may be transmitting on channels that the gateway is not receiving. Is it possible to limit the channels used by the End Node?

This topic has been closed for replies.

2 replies

d.hinojosa.cordova
Visitor II
May 27, 2019

Hi @Peter Simpson​ 

I limited the channels by modifying the RegionAU915.c file in the RegionAU915InitDefaults function. I guess you have to modify the one in your region. This Is not recommended but accelerates "join accept" .

 //SUB BAND 1 (channel 0-7)
 NvmCtx.ChannelsDefaultMask[0] = 0x00FF;
 NvmCtx.ChannelsDefaultMask[1] = 0x0000;
 NvmCtx.ChannelsDefaultMask[2] = 0x0000;
 NvmCtx.ChannelsDefaultMask[3] = 0x0000;
 NvmCtx.ChannelsDefaultMask[4] = 0x00FF;
 NvmCtx.ChannelsDefaultMask[5] = 0x0000;

I hope it serves you.

Peter Simpson
Associate
May 28, 2019

Hi,

Thank you for taking the time to reply and for the information.

I have made the changes and will see how much data I am loosing

I am sending data every 15 seconds so I know which packets are not received

Thank You again

Regards