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

S332 BLE CONNECT IOS DEVICE

i used SoftDevice s332,and download the example:\examples\multiprotocol\ble_ant_app_hrm i find that using android device can connect pca10040 ble well,but use ipad or iphone(lightblue) both can't connect. i want to know how to solve this problem? thanks!

Parents
  • Does the LightBlue app gives an error that the "interrogation" failed? Try the nRF Connect app. I am having the same issues with a only BLE application. See the following question devzone.nordicsemi.com/.../

  • It works! I just added: #include "nrf_ble_gatt.h" and

    case BLE_GATTS_EVT_EXCHANGE_MTU_REQUEST:
    			err_code=sd_ble_gatts_exchange_mtu_reply(p_ble_evt->evt.gatts_evt.conn_handle, 23);
    			APP_ERROR_CHECK(err_code);
                break;
    
Reply
  • It works! I just added: #include "nrf_ble_gatt.h" and

    case BLE_GATTS_EVT_EXCHANGE_MTU_REQUEST:
    			err_code=sd_ble_gatts_exchange_mtu_reply(p_ble_evt->evt.gatts_evt.conn_handle, 23);
    			APP_ERROR_CHECK(err_code);
                break;
    
Children
No Data