This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Custom Version String in a BLE UART Peripheral

I have an application based on the peripheral uart sample, using NCS 1.8.0.  I need to build in a version string that is queryable, so that anyone who connects to the device over Bluetooth can verify what version of custom software is running on the device.  What's the cleanest way to build this in and make it available?

  • Hi Brendan, 

    As far as I know there isn't a dedicated Bluetooth SIG's characteristic for version number of the firmware. 
    So you may need to create your own proprietary service & characteristic for that purpose. 

    Another option is to add the version number into your Device Name characteristic (0x2A00) inside Gap Service (0x1800). This way you don't need to define your own characteristic. But usually Device name should be represent in ASCII format, you can't use it as binary. 

    You can set name using bt_set_name(). 

Related