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

Unable to connect iOS nRF connect/toolbox apps to eval kit

Could not connect to the nRF52840 preview DK eval kit running the ble_peripheral/ble_app_uart firmware to iOS 11 device running the nRF connect or toolbox apps.
We tried on iPhone 7 and 8. Connection does not get established, board keeps blinking.

Tried the app/connection on an Android phone running same apps - works perfectly.

Also posted a github issue in the app repo:

https://github.com/NordicSemiconductor/IOS-nRF-Toolbox/issues/49

Please advise.

Many thanks!

Parents
  • Hi,

    This is caused by a bug in the s140 v.5.0.0-2 alpha softdevice, which was fixed in v.6.0.0-6. From the release notes:

    Fixed an issue where the BLE_GAP_DATA_LENGTH_AUTO value for p_dl_params->max_tx_octets and p_dl_params
    ->max_rx_octets
    in sd_ble_gap_data_length_update() might not work as expected on connections using a
    configuration with configured event length of 2, 3, or 4

    In other words, increasing the NRF_SDH_BLE_GAP_EVENT_LENGTH to >4 in sdk_config.h should fix the problem. The reason this will work on most Android phones and not iphone 7/8 is that iPhones supports data length extension.

Reply
  • Hi,

    This is caused by a bug in the s140 v.5.0.0-2 alpha softdevice, which was fixed in v.6.0.0-6. From the release notes:

    Fixed an issue where the BLE_GAP_DATA_LENGTH_AUTO value for p_dl_params->max_tx_octets and p_dl_params
    ->max_rx_octets
    in sd_ble_gap_data_length_update() might not work as expected on connections using a
    configuration with configured event length of 2, 3, or 4

    In other words, increasing the NRF_SDH_BLE_GAP_EVENT_LENGTH to >4 in sdk_config.h should fix the problem. The reason this will work on most Android phones and not iphone 7/8 is that iPhones supports data length extension.

Children
Related