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

How can I get connectivity version and SD API using pc-ble-driver

When I send my app to people, it uses a specific version of pc-ble-driver. I would like to make sure dongle used was programmed with the hex file package with this specific pc-ble-driver.

I see "nRF Connect" is able to do so, as it reports wfetr opening the dongle:

14:25:09.017 Validating connectivity firmware for device with serial number DDBBED9DE4DF...
14:25:09.024 Connectivity firmware is valid.
14:25:09.024 Connectivity firmware version: ble-connectivity 0.1.0+Aug-14-2018-15-12-51. SoftDevice API version: 3. Baud rate: 1000000.

Is it possible to know how to retrieve this connectivity version info from the dongle? I found in pc-ble-driver API a sde_ble_version_get function, but this only give very few information (the only relevant one is revision_number, I understand 135 means SD API v2 and 145 SD API v3 but I'm not even sure).

Related