This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE command to get firmware version running on controller chip ?

Hi,

I am new to Nordic. 

We are using NRF51822 chip with S120 version of softdevice. Recently we made few changes in SDK code running on nRF51 controller chip. Is there any header file in nRF51 SDK to configure version to differentiate firmware with our changes ? We need to fetch this version from host chip using ble commands. I have gone through the documentation and found that SD_BLE_VERSION_GET is not useful for our requirement.

Thanks,

Durgesh

Parents
  • Hi,

    We need to fetch this version from host chip using ble commands

    I'm understanding the question as you're asking if it's possible to get the softdevice version of the FW on a deployed device when you only have accesses to it by BLE. Unfortunately, there isn't a method to get the SD version by BLE if you haven't implemented a characteristic that does this in the FW already.

    Best regards

    Jared 

  • Hi Jared,

    Our's is an IoT product with Gateway and sensors. Gateway's radio (nRF51822) connects to sensor and reads data. 
    I'm not asking about the FW version of Sensor. We need to maintain versioning of our custom changes done to SDK (nRF51_SDK_10.0.0) running on Gateway's controller chip (nRF51822).

  • Hi,
    My last reply was actually regarding to the nRF not the sensor. Sorry for the misunderstanding. There isn't a standard BLE command that would give you the FW version of the application that is flashed on the nRF.  sd_ble_version_get() will only return the version of the Softdevice that is flashed. For version control, I would recommend as part of the application: storing the version of the application in non volatile memory and setup a characteristic that retrieves the version. 
    Jared
Reply
  • Hi,
    My last reply was actually regarding to the nRF not the sensor. Sorry for the misunderstanding. There isn't a standard BLE command that would give you the FW version of the application that is flashed on the nRF.  sd_ble_version_get() will only return the version of the Softdevice that is flashed. For version control, I would recommend as part of the application: storing the version of the application in non volatile memory and setup a characteristic that retrieves the version. 
    Jared
Children
No Data
Related