Document

TS001-1.0.4 LoRaWAN® L2 1.0.4 Specification

Issue link: https://read.uberflip.com/i/1428395

Contents of this Issue

Navigation

Page 41 of 89

LoRaWAN ® L2 1.0.4 Specification © 2020 LoRa Alliance ® Page 42 of 90 The authors reserve the right to change specifications without notice. 6 End-Device Activation 1323 To participate in a LoRaWAN network, each end-device SHALL be personalized and 1324 activated. 1325 Activation of an end-device can be achieved in two ways, either via Over-The-Air Activation 1326 (OTAA) when an end-device is deployed or reset, or via Activation By Personalization (ABP) 1327 in which the two steps of end-device personalization and activation are performed in one step. 1328 An end-device SHALL implement either OTAA or ABP, and MAY implement both OTAA and 1329 ABP. 1330 6.1 Data Stored in End-Device after Activation 1331 After activation, the following information is stored in the end-device: a device address 1332 (DevAddr), a network session key (NwkSKey), and an application session key (AppSKey). 1333 6.1.1 End-device address (DevAddr) 1334 The DevAddr consists of 32 bits and identifies the end-device within the current network. 1335 The DevAddr is allocated by the Network Server of the end-device. 1336 Its format SHALL be as follows: 1337 1338 1339 Bits [31..32−N] [31−N..0] DevAddr AddrPrefix NwkAddr Table 51: DevAddr fields 1340 1341 1342 The variable N is an integer within the [7:25] range. 1343 1344 The LoRaWAN protocol supports various network address types with different network 1345 address space sizes. The variable-size AddrPrefix field SHALL be derived from the 1346 Network Server's unique identifier NetID (see [TS002]) allocated by the LoRa Alliance with 1347 the exception of the AddrPrefix values reserved for experimental/private networks. The 1348 AddrPrefix field enables the discovery of the Network Server that had assigned the 1349 DevAddr. End-devices and Network Servers that do not respect this rule are considered non- 1350 compliant. 1351 The least significant (32-N) bits are the network address (NwkAddr) of the end-device. They 1352 SHALL be arbitrarily assigned by the Network Server. 1353 1354 The following AddrPrefix values may be used by private/experimental networks and will 1355 not be allocated by the LoRa Alliance. 1356 1357

Articles in this issue

view archives of Document - TS001-1.0.4 LoRaWAN® L2 1.0.4 Specification