Closed QiuYukang closed 4 years ago
Hi! If the first window is successful, the second receive window is not opened (this behavior is defined in the standard). The call to cancel is in the ClassAEndDeviceLorawanMac::Receive
method, and it will only be invoked if the received message is intended for the device. You can find it at line 176 of the class-a-end-device-lorawan-mac.cc
!
I found it with your help, Thank you very much!
Hello, I run the
example/network-server-example.cc
, through logs i see this:This means the ED received an ACK after closing the first receive window(the second receive window has not been opened at this time). Finally the second receive window was not opened either. why this is happening? From the source code
lorawan/model/class-a-end-device-lorawan-mac.cc
it seems that the second receive window will still should be opened, I didn't find where you calledm_secondReceiveWindow .Cancel()
:Can you please guide me on this.
Thanks and Regards