![]() |
nRF Connect SDK API 3.3.99
|
| int bt_enocean_commission | ( | const bt_addr_le_t * | addr, |
| const uint8_t | key[16], | ||
| uint32_t | seq ) |
#include <include/bluetooth/enocean.h>
Manually commission an EnOcean device.
Allows devices to be commissioned based on out of band data, like NFC or QR codes.
| addr | Address of the commissioned device. |
| key | Encryption key for the commissioned device. |
| seq | Most recent sequence number of the device. |
| 0 | The device has been successfully commissioned. |
| -EEXIST | This device has already been commissioned. |
| -ENOMEM | There's not enough space to commission a new device. |
| -ECANCELED | The commissioning callback rejected the device. |
| -EBUSY | Failed allocating persistent storage data. |