Hi There,
Currently using the DIS service in my application, however I am facing a couple of issues at the moment.
# Enable DIS service CONFIG_BT_DIS=y CONFIG_BT_DIS_SERIAL_NUMBER=y CONFIG_BT_DIS_FW_REV=y CONFIG_BT_DIS_HW_REV=y CONFIG_BT_DIS_SW_REV=y CONFIG_BT_DIS_PNP=n CONFIG_BT_DIS_SERIAL_NUMBER_STR="ShouldBeSetAtRunTime" CONFIG_BT_DIS_FW_REV_STR="************" CONFIG_BT_DIS_HW_REV_STR="*********" CONFIG_BT_DIS_MANUF="##########" CONFIG_BT_DIS_MODEL="##########"
1. How to set the serial number characteristic at run time instead of being populated from the configuration file, As in my case the serial number will be sent to the device during production.
CONFIG_BT_DIS_SERIAL_NUMBER_STR
2. How to exclude the model characteristics from the service ?
CONFIG_BT_DIS_MODEL
Environment description:
- NCS v2.2.0
- BLE Application.
- NRF52840 Using internal RC low frequency clock. (Raytac Module).
Cheers,