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

Iphone 8 & Iphone 10 not connecting to nrf51422(using BLE) having sdk 9.0 & soft devive s310

Dear Sir,

                 I am now using nrf51422 module (SRU532) for ANT+BLE application , i have used SDK_9.0.0_2e23562 and soft device s310_nrf51422_3.0.0. The problem i am facing is that the module is not connecting to the Iphone 8 ,Iphone 10 while using the BLE protocol. Plz suggest how to make iphone working with BLE ? Do i need to change the software what i am currently using for nrf51422 ( C:\Keil_v5\ARM\Device\Nordic\examples\multiprotocolnew\ble_ant_app_hrm\pca10028\s310\arm5_no_packs). Plz replay asp.

thaks & regards

sumanta

Parents
  • I had a similar problem in my application, but I'm using NRF52832 on SDK15. My problem was that I wasn't handling PHY update requests (BLE_GAP_EVT_PHY_UPDATE_REQUEST) on my BLE event handler. I don't know if you have similar API in SDK 9.0 but in SDK15 this was very easily solved by adding this to my event handler:

    case BLE_GAP_EVT_PHY_UPDATE_REQUEST:
    	ble_gap_phys_t const phys = {
    		.rx_phys = BLE_GAP_PHY_AUTO,
    		.tx_phys = BLE_GAP_PHY_AUTO,
    	};
    
    	ret_code_t err_code = sd_ble_gap_phy_update(p_ble_evt->evt.gap_evt.conn_handle, &phys);
    	APP_ERROR_CHECK(err_code);
    break;

Reply
  • I had a similar problem in my application, but I'm using NRF52832 on SDK15. My problem was that I wasn't handling PHY update requests (BLE_GAP_EVT_PHY_UPDATE_REQUEST) on my BLE event handler. I don't know if you have similar API in SDK 9.0 but in SDK15 this was very easily solved by adding this to my event handler:

    case BLE_GAP_EVT_PHY_UPDATE_REQUEST:
    	ble_gap_phys_t const phys = {
    		.rx_phys = BLE_GAP_PHY_AUTO,
    		.tx_phys = BLE_GAP_PHY_AUTO,
    	};
    
    	ret_code_t err_code = sd_ble_gap_phy_update(p_ble_evt->evt.gap_evt.conn_handle, &phys);
    	APP_ERROR_CHECK(err_code);
    break;

Children
Related