Difference between revisions of "MM002-xx-EU Personalization"

From nemeuswiki
Jump to: navigation, search
(Activation of MM002 devices)
 
m
Line 1: Line 1:
 +
[[Category:MM002]]
 +
[[Category:Modules]]
 +
 
The module MM002 is pesonalized as follows:
 
The module MM002 is pesonalized as follows:
  
== ABP personalization ==
+
== LoRaWAN™ ABP personalization ==
  
 
* Device address can be read with AT+MAC=RDEVADDR can be modified with AT+MAC=SDEVADDR,<devaddr> (new value is persistent, it is saved in file system)
 
* Device address can be read with AT+MAC=RDEVADDR can be modified with AT+MAC=SDEVADDR,<devaddr> (new value is persistent, it is saved in file system)
Line 19: Line 22:
 
  OK
 
  OK
  
== OTAA personalization ==
+
== LoRaWAN&trade; OTAA personalization ==
  
 
* Device EUI can be read with AT+MAC=RDEVUID it is read only
 
* Device EUI can be read with AT+MAC=RDEVUID it is read only
Line 38: Line 41:
  
  
== SigFox Personalization ==
+
== SigFox&trade; Personalization ==
  
  
Line 53: Line 56:
 
Warning: PAC ID given by the command <span style="color: red;">is only valid for First Activation</span>. If the device has already been activated in the past you should get the new PAC which is available from SigFox Backend linked to the previous activation.  
 
Warning: PAC ID given by the command <span style="color: red;">is only valid for First Activation</span>. If the device has already been activated in the past you should get the new PAC which is available from SigFox Backend linked to the previous activation.  
  
== Sigfox Activation (Platinium Evaluation Kit) ==
+
== SigFox&trade; Activation (Platinium Evaluation Kit) ==
  
 
The activation of Platinium Evaluation Kit (MK002-LS-EU, SIS_LS_EU, ...) can be done directly through SigFox Backend
 
The activation of Platinium Evaluation Kit (MK002-LS-EU, SIS_LS_EU, ...) can be done directly through SigFox Backend
 
https://backend.sigfox.com/activate/Nemeus
 
https://backend.sigfox.com/activate/Nemeus

Revision as of 17:45, 15 March 2017


The module MM002 is pesonalized as follows:

1 LoRaWAN™ ABP personalization

  • Device address can be read with AT+MAC=RDEVADDR can be modified with AT+MAC=SDEVADDR,<devaddr> (new value is persistent, it is saved in file system)
  • Network security key can be read with AT+MAC=RNSKEY it is read only
  • Application security key can be read with AT+MAC=RAPPSKEY it is read only

Before reading the ABP security keys you must send AT+MAC=ON,,A,0 to switch the module in ABP mode

If you modify the device address you must perform MAC OFF and MAC ON to take into account the new device address (you can also reset the module):

AT+MAC=OFF

OK

AT+MAC=ON,,A,0

OK

2 LoRaWAN™ OTAA personalization

  • Device EUI can be read with AT+MAC=RDEVUID it is read only
  • Application key can be read with AT+MAC=RAPPKEY can be modified with AT+MAC=SAPPKEY,<AppKey>
  • Application EUI can be read with AT+MAC=RAPPUID can be modified with AT+MAC=SAPPUID,<AppEUI>

If you modify the AppKey and/or the AppEUI you must perform MAC OFF and MAC ON to take into account the new values.

To trigger the join procedure in OTAA mode, you must send AT+MAC=ON,,A,1

Then you can send AT+MAC=? to check that MAC is ON

When the join procedure is finished you will receive the following unsolicited AT response:

+MAC: RDEVADDR,<devAddr>,<NwkId>

You can also poll the module with AT+MAC=RDEVADDR until the device address is not null.


3 SigFox™ Personalization

To get SigFox Activation information you can send the following command

AT+SF= ?

+SF: OFF,NMS-SFX-LIB-1.2,UDL1-1.6.0,xxxxxxxx,yyyyyyyyyyyyyyyyyyy,1

The response indicate:

  • xxxxxxxx => ID sigfox
  • yyyyyyyyyyyyyyyyyyy => PAC ID

Warning: PAC ID given by the command is only valid for First Activation. If the device has already been activated in the past you should get the new PAC which is available from SigFox Backend linked to the previous activation.

4 SigFox™ Activation (Platinium Evaluation Kit)

The activation of Platinium Evaluation Kit (MK002-LS-EU, SIS_LS_EU, ...) can be done directly through SigFox Backend https://backend.sigfox.com/activate/Nemeus