the fuction is getting the total millisecond ?
but TimerTime_t is uint32_t
so it has a overflow problem
for example
sysTime.Seconds=1527471204
sysTime.SubSeconds=469
so the currentTime will be (1527471204 *1000+469) & 0xFFFFFFFF=0xA460E875
but in LoRaMacClassBDeviceTimeAns fuction because of the total millisecond 's overflow problem
for example
when currentTime %128000=0
but systime(millisecond ) % 128 may ≠0
while the beacon will send at the time witch modulo 128 equal 0,so if I set the beacon RXwindow by “currentTime ”,the sysTime will diffrent from the gateway send the beacon