Device Information Service module.
More...
This module implements the Device Information Service. During initialization it adds the Device Information Service to the BLE stack database. It then encodes the supplied information, and adds the curresponding characteristics.
#define BLE_DIS_VENDOR_ID_SRC_BLUETOOTH_SIG 1 |
Vendor ID assigned by Bluetooth SIG.
#define BLE_DIS_VENDOR_ID_SRC_USB_IMPL_FORUM 2 |
Vendor ID assigned by USB Implementer's Forum.
This call allows the application to initialize the device information service. It adds the DIS service and DIS characteristics to the database, using the initial values supplied through the p_dis_init parameter. Characteristics which are not to be added, shall be set to NULL in p_dis_init.
- Parameters
-
[in] | p_dis_init | The structure containing the values of characteristics needed by the service. |
- Returns
- NRF_SUCCESS on successful initialization of service.