Hi,
I am using SDK16.0(ble_app_uart) program to sending dates between the phone and board.When I use my iphone xs max,it works on well.But it come out some faults when it connecting iphone 6s.Plese tell me how can I change my code to fix it.
Hi,
I am using SDK16.0(ble_app_uart) program to sending dates between the phone and board.When I use my iphone xs max,it works on well.But it come out some faults when it connecting iphone 6s.Plese tell me how can I change my code to fix it.
Hello,
Can you check the disconnect reason in your BLE_GAP_EVT_DISCONNECTED event?
You can check it like this:
NRF_LOG_INFO("Disconnected, reason 0x%x.", p_gap_evt->params.disconnected.reason);
Is the log with the 6s from the disconnected event that you got on the phone? That is, does the log say "Disconnected" when disconnects from the phone?
Can you send the sniffer trace? Save it as a .pcapng file (default format) and upload it here on DevZone.
BR,
Edvin
Hi,
After i check the error code,disconnect reason 0x08 is BLE_HCI_CONNECTION_TIMEOUT.
It happens randomly when i use iphone 6s connect to board.
Hi,
After i check the error code,disconnect reason 0x08 is BLE_HCI_CONNECTION_TIMEOUT.
It happens randomly when i use iphone 6s connect to board.