hi, I am updating the sdk from 12.2.0 to 14.2.0, and using softdevice s132. I get a problem by connecting device using ios devices, but it works fine with android device. do you know what should I do?
hi, I am updating the sdk from 12.2.0 to 14.2.0, and using softdevice s132. I get a problem by connecting device using ios devices, but it works fine with android device. do you know what should I do?
The answer is here, at devzone. I personally faced the same issue. The problem is that iOS devices require MTU negotiation.
Just add the following into ble_evt_handler():
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;
I tried that, that works for 12.2.0, but not 14.2.0. and I check the evt id, which returns 0x21 BLE_GAP_OPT_LOCAL_CONN_LATENCY when I connect by using an ios device
I tried that, that works for 12.2.0, but not 14.2.0. and I check the evt id, which returns 0x21 BLE_GAP_OPT_LOCAL_CONN_LATENCY when I connect by using an ios device
Perfectly works for me in 14.2