To match the requirements of the proposed commissioning process, the edge router has to implement the following functionality:
- Scan for Bluetooth Smart devices.
- Parse advertising packets and detect IPSP service and manufacturer specific data.
- Match the SSID value of the advertising packet and the preconfigured one.
- Connect to the Bluetooth Smart node that is advertising with the proper SSID.
- Perform pairing with Passkey in order to authorize device joining.
- Enable the 6LoWPAN Bluetooth Smart connection on L2CAP CoC level.
All of the above have been implemented in the example daemon called
bluetooth_6lowpand
, which is built along with the BlueZ package on the Linux based system.
The
bluetooth_6lowpand
daemon is released in a separate repository that you can find on
Nordic's GitHub page
. The daemon is supported on OpenWRT platforms with Chaos Calmer 15.05 and on Ubuntu systems with Linux Kernel ≥ 3.18.
To see an example of how this daemon can be used in combination with the nRF IoT Joiner Android application, see here .