diff --git a/SUMMARY.md b/SUMMARY.md index f738ca5..59ad123 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -31,7 +31,7 @@ * [Cellular](gettingstarted/registration/cellular.md) * [LoRaWAN](gettingstarted/registration/lora/README.md) * [The Things Network](gettingstarted/registration/lora/ttn.md) - * [Objenious](gettingstarted/registration/lora/objenious.md) + * [Senet](gettingstarted/registration/lora/senet.md) ## Pymakr Plugin @@ -205,4 +205,3 @@ ## Have a question? * [Ask on the Forum](https://forum.pycom.io) - diff --git a/gettingstarted/registration/lora/README.md b/gettingstarted/registration/lora/README.md index c2c7fc3..d4c656b 100644 --- a/gettingstarted/registration/lora/README.md +++ b/gettingstarted/registration/lora/README.md @@ -32,18 +32,11 @@ With ABP the encryption keys enabling communication with the network are preconf ### Networks -[![](../../../.gitbook/assets/ttn-logo.png)](ttn.md) - - - -[![](../../../.gitbook/assets/image-3.png)](objenious.md) - - +[![](../../../.gitbook/assets/ttn-logo.png)](ttn.md) [![](../../../.gitbook/assets/Senet-logo-2.png)](senet.md) - + {% hint style="info" %} If you cannot find your favourite LoRaWAN network in the list above, please consider writing a tutorial for how to connect a Pycom module with it and contribute it to this documentation via a [GitHub pull request](https://github.com/pycom/pycom-documentation). {% endhint %} - diff --git a/gettingstarted/registration/lora/objenious.md b/gettingstarted/registration/lora/objenious.md deleted file mode 100644 index ced9fb5..0000000 --- a/gettingstarted/registration/lora/objenious.md +++ /dev/null @@ -1,61 +0,0 @@ -# Objenious - -## Identifiers - -To connect a Pycom LoRa device \(LoPy, LoPy4, FiPy\) to Objenious you'll need to provision it. This requires three pieces of information - -* Device EUI \(DevEUI\) -* Application EUI \(AppEUI\) -* Application Key \(AppKey\) - -### Device EUI - -This comes from the device itself and can be obtained from `lora.mac()`. -To obtain the required hexadecimal representation you can run the following code on your LoPy: - -```python -from network import LoRa -import ubinascii - -lora = LoRa() -print("DevEUI: %s" % (ubinascii.hexlify(lora.mac()).decode('ascii'))) -``` - -### Application EUI and Application Key - -Application EUI and Key are two LoRaWAN parameters that should ideally by generated by you, if supplying devices to end customers. -The Application EUI is a EUI-64 \(8 bytes\) identifier which should be universally unique - it's usually allocated from a MA-S block purchased from the [IEEE Registration Authority](http://standards.ieee.org/develop/regauth/oui36/index.html). -The Application Key should be a randomly generated, secure, 128 bit \(16 byte\) token. - -For testing purposes we provide a script which generates a random Application EUI from our assignment and a series of Application Keys: - -[EUI/Key generator for testing](https://github.com/pycom/pycom-scripts/blob/master/lorakeys/generate_keys.py) - -_\(note: the Application EUI produced by this script is not guaranteed to be unique\)_ - -To use the script make sure you are using Python 3.6 on your computer and run it \(on your computer, _not_ on the Pycom board\) as: - -```bash -python generate_keys.py 1 -``` - -The output will be similar to: - -```text -AppEUI: 70b3d54923e36a89 -AppKeys: 78fe712d96f46784a98b574a8cd616fe -``` - -If you are registering multiple devices you can generate more Applications Keys by changing `1` to your desired number of devices. - -## Provisioning - -Once you have the three identifiers for your device you need to register them on the Objenius portal. -Follow "Importer des capteurs" under "Statuc do Parc" and select "Provisioning Unitaire": - -![](../../../.gitbook/assets/objeniousprovision1.jpg) - -Once there give your device a name and enter the DevEUI, AppEUI, and AppKey obtained from the steps above: - -![](../../../.gitbook/assets/objeniousprovision2%20%281%29.jpg) -