Hello,
I have known setting Device Information Service by "prj.conf" file.
I add below code in prj.conf. All device information shown is as expected.
CONFIG_BT_DIS=y CONFIG_BT_DIS_SETTINGS=y CONFIG_BT_DIS_FW_REV=y CONFIG_BT_DIS_FW_REV_STR="0.0.1" CONFIG_BT_DIS_HW_REV=y CONFIG_BT_DIS_HW_REV_STR="0.0.0" CONFIG_BT_DIS_MANUF="XXXXX" CONFIG_BT_DIS_MODEL="XXXXX" CONFIG_BT_DIS_PNP=y CONFIG_BT_DIS_SERIAL_NUMBER=y CONFIG_BT_DIS_SERIAL_NUMBER_STR="12345678901" CONFIG_BT_DIS_SW_REV=y CONFIG_BT_DIS_SW_REV_STR="0.0.0"
If I want to change some device information before BLE initial?
For example: change DIS_FW_REV to "0.0.2"
I expected add some firmware code in "main.c" to achive this function.
But I cannot find reference code/API. Please give me some advice.
nRF Connect SDK version: 2.6.0
Nordic IC: nrf52832
Thanks.
Allen