Prerequisites#
Sample applications for the embedded device are available in the examples/
folder, within the full-sdk-delivery
repository.
Our Demo examples aim to demonstrate how lab.SCHC software help the communication between heterogeneous protocols and create a bridge between IoT and IP worlds for fluid data exchange.
LNS#
As the Demo examples are running over LoRa, a LoRa Network Server (LNS) must be configured first. The configuration is similar in many LNS:
- Provision a LoRa Gateway.
- Create an Application.
- Provision a device.
- Select the appropriate frequency for your region.
- Set the LoRaWAN version to 1.0.4.
- Regional Parameters version can be set to 1.0.2 revision B for the RP001 region.
- Enable class C support and Over-the-Air Activation (OTAA).
- Generate and set the DevEUI and AppKey. End device ID must match the DevEUI.
- JoinEUI should be set to zeros.
- Create an API Key to allow the SCHC Gateway to send downlink packets.
- Configure a Webhook Integration (HTTP).
- Configure a JSON format.
- Set the Token if required by the SCHC Gateway.
- Set the target URL to point to the SCHC Gateway.
Hardware and software#
Besides the configured LNS and LoRa gateway, you will also need:
- A compatible board and Semtech shield:
- NUCLEO-L476RG with SX1276 or SX1272 shield
- A SCHC Gateway:
- A serial port terminal software (such as minicom or CuteCom).
- The
lab-schc/examples
repository. Clone it using the following command:
git clone https://gitlab.com/lab-schc/examples.git