This information applies to the following SoftDevice: S132
Before you can program and run any of the IoT examples, you must set up your IoT network.
The following hardware is required:
- At least one BLE device
This device can be an nRF5x Development Kit or any other nRF5x device with 64 kB RAM. IoT examples use the S132 SoftDevice. Before you program an application on the device, make sure to program the SoftDevice.
- A BLE enabled router device
- This router must support Bluetooth low energy and 6LoWPAN over BLE. You can use any kind of router that fulfills this requirement, for example a Linux computer with a Kernel that has the bluetooth_6lowpan module compiled and enabled (the bluetooth_6lowpan module is supported starting with Kernel v3.17). The SDK examples were tested using a Raspberry Pi with a Bluetooth low energy dongle as router, so the following topics focus on setting up the Raspberry Pi. However, with some Linux knowledge you should be able to transfer the steps to any Linux distribution.
Setting up BLE 6LoWPAN Border Router
Compiling OpenSSL
Commissioning
Using the Californium (Cf) CoAP Framework
Setting up the Mosquitto MQTT broker
Setting up the Leshan LWM2M server