5 - Class B
This book explores in depth how to use Class B in end devices implementing LoRaWAN® 1.0.4. Class B mode enables the end device to receive downlinks at regular intervals. We teach you how to configure your end device to receive Class B downlinks using beacons and ping slots and best practices to follow to increase the chance of receiving downlinks while maintaining reasonable battery life.
Listening for Class B Downlinks
Open Receive Windows
The end device now knows when to begin listening, and the data rate and frequency to listen on. The ping slot window must remain open for long enough to detect a preamble. If no preamble is detected, the device must stop listening. If a preamble is detected then the window must remain open until the message has been demodulated. Process the message by following the method described in the next section.