Device Information Service (DIS)
This module implements the Device Information Service.
Overview
During initialization, the module adds the Device Information Service to the Bluetooth LE stack database. It then encodes the supplied information, and adds the corresponding characteristics.
Configuration
Set the CONFIG_BLE_DIS Kconfig option to enable the service.
The DIS service can be configured by using the following Kconfig options:
CONFIG_BLE_DIS_MANUFACTURER_NAME- Sets the manufacturer name.CONFIG_BLE_DIS_MODEL_NUMBER- Sets the model number.CONFIG_BLE_DIS_SERIAL_NUMBER- Sets the serial number.CONFIG_BLE_DIS_HW_REVISION- Sets the hardware revision.CONFIG_BLE_DIS_FW_REVISION- Sets the firmware revision.CONFIG_BLE_DIS_SW_REVISION- Sets the software revision.CONFIG_BLE_DIS_SYSTEM_ID- Includes the system ID characteristic in the Device Information Service.CONFIG_BLE_DIS_SYSTEM_ID_OUI- Sets the organization unique ID.CONFIG_BLE_DIS_SYSTEM_ID_MID- Sets the manufacturer unique ID.CONFIG_BLE_DIS_PNP_ID- Includes plug and play ID characteristic.CONFIG_BLE_DIS_PNP_VID_SRC- Sets the vendor ID source.CONFIG_BLE_DIS_PNP_VID- Sets the vendor ID.CONFIG_BLE_DIS_PNP_PID- Sets the product ID.CONFIG_BLE_DIS_PNP_VER- Sets the product version.CONFIG_BLE_DIS_REGULATORY_CERT- Includes IEEE regulatory certifications.CONFIG_BLE_DIS_REGULATORY_CERT_LIST- Sets the regulatory certification list.
Initialization
The service is initialized by calling the ble_dis_init() function.
Configuration is otherwise done through the Kconfig options.
Usage
When enabled, the module will add the Device Information Service with information as specified by the Kconfig options.
Dependencies
This service has the following Bare Metal dependencies:
SoftDevice -
CONFIG_SOFTDEVICE
API documentation
include/bm/bluetooth/services/ble_dis.hsubsys/bluetooth/services/ble_dis/