Device Information Service Client

nRF5 SDK v17.1.0

This information applies to the following SoftDevices: S132, S140

This module implements the Device Information Service client. It indicates a successful service & characteristic discovery to the application by using the BLE_DIS_C_EVT_DISCOVERY_COMPLETE event. The application can use the ble_dis_c_read function to read any characteristic that is available for this service. The characteristic value is provided from the response event BLE_DIS_C_EVT_DIS_C_READ_RSP . The BLE_DIS_C_EVT_DIS_C_READ_RSP_ERROR event can also be generated if the read operation is unsuccessful.

For API documentation of this module, see Device Information Service Client .

Note
The application must register each instance of this module as a BLE stack event observer using the NRF_SDH_BLE_OBSERVER macro from the SoftDevice Handler library .

Message Sequence Charts

Read operation for the Device Information Service characteristic succeeded:

msc_inline_mscgraph_11

Read operation for the Device Information Service characteristic failed:

msc_inline_mscgraph_12