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

BLE - BLE_GAP_EVT_PHY_UPDATE_REQUEST and sofet device 140

Hi,

I'm using NRF52840 in order to connect to a mobile app via BLE.

When connection to IOS, I have an event called BLE_GAP_EVT_PHY_UPDATE_REQUEST.

This event handle was under #ifndef s140, and I had to remove #ifndef so connection with IOS will be established.

I understand that this handle update physical layer to BLE_GAP_PHY_AUTO, and probably to 2mbps.

My question is - why was that under #ifndef s140? Does that may cause any issues to my device/connection?

Thanks!

Parents
  • Hi

    It is a multiprotocol example for doing communication both over BLE and ANT. Since you seem to only want to use BLE, I wouldn't mind it at all. The #ifndef S140 check should be redundant in your case, so it should be safe to remove on your end.

    #ifndef S140 is in the main.c file found in \...\examples\multiprotocol\ble_ant_app_hrm if you are curious, but this shouldn't be relevant for you I think.

    Best regards,

    Simon

Reply
  • Hi

    It is a multiprotocol example for doing communication both over BLE and ANT. Since you seem to only want to use BLE, I wouldn't mind it at all. The #ifndef S140 check should be redundant in your case, so it should be safe to remove on your end.

    #ifndef S140 is in the main.c file found in \...\examples\multiprotocol\ble_ant_app_hrm if you are curious, but this shouldn't be relevant for you I think.

    Best regards,

    Simon

Children
Related