Issue link: https://read.uberflip.com/i/1428386
LoRaWAN Specification ©2016 LoRa™ Alliance Page 66 of 91 The authors reserve the right to change specifications without notice. 13 Beacon acquisition and tracking 1 Before switching from Class A to Class B, the end-device must first receive one of the 2 network beacons to align his internal timing reference with the network. 3 Once in Class B, the end-device must periodically search and receive a network beacon to 4 cancel any drift of its internal clock time base, relative to the network timing. 5 A Class B device may be temporarily unable to receive beacons (out of range from the 6 network gateways, presence of interference, ..). In this event, the end-device has to 7 gradually widen its beacon and ping slots reception windows to take into account a possible 8 drift of its internal clock. 9 Note: For example, a device which internal clock is defined with a +/- 10 10ppm precision may drift by +/-1.3mSec every beacon period. 11 13.1 Minimal beacon-less operation time 12 In the event of beacon loss, a device shall be capable of maintaining Class B operation for 2 13 hours (120 minutes) after it received the last beacon. This temporary Class B operation 14 without beacon is called "beacon-less" operation. It relies on the end-device's own clock to 15 keep timing. 16 During beacon-less operation, unicast, multicast and beacon reception slots must all be 17 progressively expanded to accommodate the end-device's possible clock drift. 18 19 20 Figure 14 : beacon-less temporary operation 21 13.2 Extension of beacon-less operation upon reception 22 During this 120 minutes time interval the reception of any beacon directed to the end-device, 23 should extend the Class B beacon-less operation further by another 120 minutes as it allows 24 to correct any timing drift and reset the receive slots duration. 25 13.3 Minimizing timing drift 26 The end-devices may use the beacon's (when available) precise periodicity to calibrate their 27 internal clock and therefore reduce the initial clock frequency imprecision. As the timing 28 oscillator's exhibit a predictable temperature frequency shift, the use of a temperature 29 sensor could enable further minimization of the timing drift. 30 End-device End-device receives the beacon Beacon reception window End-device temporarily stop receiving beacon End-device receives a beacon and resets the reception window length Reception window enlarges to accommodate clock drift
