4.
Allow the personal computer to enumerate and install the USB drivers.
Take note of the Virtual COM port number assigned to the board.
Note: the Nucleo board is also enumerated as an mbed removable storage device.
Figure 18.
USB enumerated instances
4.2
Extracting DevEUI and AppEUI from the LoRa
®
module
Device enrollment to the network server requires activation parameters stored in the LoRa
®
module. Depending
on the join mode used (OTAA/ABP), the pieces of information presented in
LoRa
®
module (default) or changed.
Table 4.
Device activation and parameters (P-NUCLEO-LRWAN2)
Parameters
Description
End-device
activation
DevEUI
64-bit global unique ID that uniquely identifies the end-device (IEEE EUI64
address).
OTAA
AppEUI
64-bit application ID that uniquely identifies the application provider (owner) of
the end-device (IEEE EUI64 address).
AppKey
AES-128 application key, specific to the end-device, assigned by the
application provider, that is used to derive the session keys,
NwkSKey
and
AppSKey
specific to that end-device to encrypt and verify network
communication and application data.
NwkSKey
Network session key, specific to the end-device. Used by the network server
and end-device to calculate and verify the MIC (message integrity code) and
further encrypt and decrypt the payload field of MAC-only data messages.
ABP
AppSKey
Application session key, specific to the end-device. Used by both the network
server and the end-device to encrypt and decrypt the payload field of 30
application-specific data messages.
DevAddr
32-bit address that identifies the end-device within the current network.
Send a
get
AT command to extract the default parameters of the USI
®
WM-SG-SM-42 LoRa
®
module through its
for details.
•
Get Device EUI (
AT+EUI
)
•
Get Application EUI (
AT+APPEUI
)
•
Get Application Key (
AT+AK
)
UM2587
Extracting DevEUI and AppEUI from the LoRa® module
UM2587
-
Rev 3
page 22/55