Activation by Personalisation

  • 10 augustus 2016
  • 0 reacties
  • 858 keer bekeken

Reputatie 2
Badge +1
There are 2 methods of device activation, namely Over The Air Activation (OTAA) and Activation By Personalisation (ABP). ABP is not allowed on the KPN live network. On the developer portal it is still allowed, however KPN encourages users to use OTAA also in the development phase, since this makes it easier to scale up in the long run.
Every device has a unique identifier within a specific LoRa network, a Device Address: DevAddr (32 bits). Both Core and Device must know this DevAddr plus the NwkSKey and optionally the AppSKey. Globally, an End Device Unique Identifier DevEUI (64 bits) is defined, that is unique for all LoRaWAN networks. The DevEUIs are administrated by the IEEE.

Messages can be sent when DevAddr, NwkSKey and AppSKey are set. For small numbers of devices this can be done manually using the Activation By Personalisation (ABP) method. With ABP, KPN gives the developer a DevAddr manually (by mail or portal for example) that the developer should upload in the device. This DevAddr must also be provisioned in the network. Similarly, the NwkSKey and AppSKey are generated manually (with a random number generator for instance) and updated in the device and in the Core Network. Once updated, the device keeps using the same address and keys and cannot go to another network without provisioning the device again with a new local DevAddr.

Within ABP, the use of the DevEUI is only administrative to be able to roam between networks when available. ABP is not suitable for solutions with many devices and is limited in security because keys are static (always the same).

Please be aware that ABP is only used during the development phase. For production, only Over-The-Air-Activation (OTAA) can be used.
Information regarding OTAA can be found in this topic.

0 reacties

Geen reactie

Reageer