15.2 Beacon frame content
- The beacon payload BCNPayload consists of a network common part and a gateway-
- specific part.
14
Size (bytes) | 3 | 4 | 1/2 | 7 | 0/1 | 2 |
---|---|---|---|---|---|---|
BCNPayload | NetID | Time | CRC | GwSpecific | RFU | CRC |
15 The network common part contains a network identifier NetID to uniquely identify the
- network for which the beacon is sent, and a timestamp Time in seconds since 00:00:00
- Coordinated Universal Time (UTC), 1 January 1970. The integrity of the beacon‘s network
- common part is protected by an 8 or 16 bits CRC depending on PHY layer parameters. The
- CRC-16 is computed on the NetID+Time fields as defined in the IEEE 802.15.4-2003 section
- 7.2.1.8. When an 8 bits CRC is required then the 8 LSBs of the computed CRC-16 are used.
- For example: This is a valid EU868 beacon frame:
22 AA BB CC | 00 00 02 CC | 7E | 00 | 01 20 00 | 00 81 03 | DE 55
23 Bytes are transmitted left to right. The corresponding field values are: 24
Field | NetID | Time | CRC | InfoDesc | lat | long | CRC |
---|---|---|---|---|---|---|---|
Value Hex | CCBBAA | CC020000 | 7E | 0 | 002001 | 038100 | 55DE |
25 The CRC-16 of the NetID+Time fields is 0xC87E but only the 8LSBs are used in that case 26
27 The seven LSB of the NetID are called NwkID and match the seven MSB of the short 28 address of an end-device. Neighboring or overlapping networks must have different 29 NwkIDs.
©2016 LoRa™ Alliance Page 52 of 70
The authors reserve the right to change specifications without notice.
LoRaWAN Specification
- The gateway specific part provides additional information regarding the gateway sending a
- beacon and therefore may differ for each gateway. The RFU field when applicable (region
- specific) should be equal to 0. The optional part is protected by a CRC-16 computed on the
- GwSpecific+RFU fields. The CRC-16 definition is the same as for the mandatory part.
- For example: This is a valid US900 beacon:
Field | NetID | Time | CRC | InfoDesc | lat | long | RFU | CRC | ||
---|---|---|---|---|---|---|---|---|---|---|
Value Hex | CCBBAA | CC020000 | C87E | 0 | 002001 | 038100 | 00 | D450 | ||
6 | Over the air the bytes are sent in the following order: | |||||||||
7 | AA BB CC | 00 00 02 CC | 7E C8 | 00 | 01 20 00 | 00 81 03 | 00 | 50 D4 |
- Listening and synchronizing to the network common part is sufficient to operate a stationary
- end-device in Class B mode. A mobile end-device should also demodulate the gateway
- specific part of the beacon to be able to signal to the network server whenever he is moving
- from one cell to another.
12 | Note: As mentioned before, all gateways send their beacon at exactly |
---|---|
13 | the same point in time (i.e., time-synchronously) so that for network |
14 | common part there are no visible on-air collisions for a listening end- |
15 | device even if the end-device simultaneously receives beacons from |
16 | several gateways. With respect to the gateway specific part, collision |
17 | occurs but an end-device within the proximity of more than one |
18 | gateway will still be able to decode the strongest beacon with high |
19 | probability. |