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

ble_gap.h is shorter in S310 than the one in S210 package

I had a product working with S110(BLE peripheral). I am trying to get same BLE feature working on an product working with S210(ANT)

So I chose S310 to have both ANT and BLE.

But I found that in ble_gap.h from S310 it is missing these typedef's: ble_gap_sec_kdist_t ble_gap_enc_key_t ble_gap_id_key_t ble_gap_sec_keyset_t

Then I compared these two files: C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_SoftDevice_S310\2.0.0\headers\ble_gap.h C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_SoftDevice_S110\8.0.0\headers\ble_gap.h

They are not the same. And looks like S110 version has a lot more added stuff.

So the BLE feature provided in S310 doesn't include 100% S110, or just S310 is not up to date yet.

Thanks

Paul

Parents
  • Hi Paul,

    S110 v7.1 was implemented inside S310, not S110 v8.0. That's the reason why you see the difference. We changed some implementation on handling bonding and pairing on S110 8.0.

    Furthermore, there are some central APIs from S120 added to S110 v8.0 headers (e.g sd_ble_gap_scan_start() ). They will return NRF_ERROR_NOT_SUPPORTED when called on S110. The reason we did that was because we want to use same common ble_gap.h for all type of softdevice.

    S110 v8.0 will be implemented in future release of S310

Reply
  • Hi Paul,

    S110 v7.1 was implemented inside S310, not S110 v8.0. That's the reason why you see the difference. We changed some implementation on handling bonding and pairing on S110 8.0.

    Furthermore, there are some central APIs from S120 added to S110 v8.0 headers (e.g sd_ble_gap_scan_start() ). They will return NRF_ERROR_NOT_SUPPORTED when called on S110. The reason we did that was because we want to use same common ble_gap.h for all type of softdevice.

    S110 v8.0 will be implemented in future release of S310

Children
Related