is it possible to change the channel in lorawan board B-L072Z-LRWAN1 in run time in ping pong example?
I have made one MASTER and one SLAVE using B-L072Z-LRWAN1 ST board.
I'm using Lora Phys layer to establish peer to peer network. I have modified Ping-Pong example.
Task: I'm trying to achieve communication between MASTER and multiple SLAVE (typically 14 slaves) in INDIA region. MASTER first start listening on initial channel (for example CH_1) and then switching between all 7 channels of IND865 band. Each slave is sending data on fixed channel to master. (each slave is having particular wake-up time)
Problem: while switching to different channel in run time on master using setchannel function . device not adapting new channel.
see below image in which master_init_CH_1_after_that_switching_and_Slave_CH0
--> Initial channel on master is CH1 after that master is switching between CH0 and CH1, slave is having fixed CH0 and sending IMG on 10 seconds interval.
in this case master is not receiving any data from slave.
--> But if i modify slave channel to CH1, and initial MASTER channel is CH1.
then master is able to receive data from slave even if switching between CH0 and CH1.
master_init_CH_1_after_that_switching_and_Slave_CH1.png
So master is listening on initial channel only, if I change value run time it is not set on device. Is it possible to change channel on run time? I have tried few things by pausing and resuming the ping_pong process.
