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

nRF UART app works on android, not on iOS 8.4

My ANT BLE application runs on a custom board with a nRF51422, SD 310 rev 2.0.0

I can use the nRF UART app on an android phone, but on an iPhone with iOS 8.4 I can't even see the device.

I can see the device in the list in the DFU Tool in the nRF Toolbox, but in nRF UART nothing.

Are there any connection/advertising/timeout/... parameters I should be aware off, in order to use iOS for UART?

Parents
  • You were right about the incorrect order of uuid_vs_add and uuid_encode. Switching the calls makes encode call return success now.

    Doesn't solve my problem though. The codebase I use does not have a NUS_SERVICE_UUID_TYPE defined, but a peek in the s110 example tells me that the type is 2, so uuids array lloks like this: static ble_uuid_t adv_uuids[] = { {BLE_UUID_NUS_SERVICE,BLE_UUID_TYPE_VENDOR_BEGIN}, {BLE_UUID_CYCLING_POWER_SERVICE, BLE_UUID_TYPE_BLE},{BLE_UUID_CYCLING_SPEED_AND_CADENCE, BLE_UUID_TYPE_BLE},{BLE_UUID_BATTERY_SERVICE, BLE_UUID_TYPE_BLE}, {BLE_UUID_DEVICE_INFORMATION_SERVICE, BLE_UUID_TYPE_BLE} };

    Is there a way in which I can check what is actually advertised? (where should I stick a breakpoint to see if the correct function is called)

Reply
  • You were right about the incorrect order of uuid_vs_add and uuid_encode. Switching the calls makes encode call return success now.

    Doesn't solve my problem though. The codebase I use does not have a NUS_SERVICE_UUID_TYPE defined, but a peek in the s110 example tells me that the type is 2, so uuids array lloks like this: static ble_uuid_t adv_uuids[] = { {BLE_UUID_NUS_SERVICE,BLE_UUID_TYPE_VENDOR_BEGIN}, {BLE_UUID_CYCLING_POWER_SERVICE, BLE_UUID_TYPE_BLE},{BLE_UUID_CYCLING_SPEED_AND_CADENCE, BLE_UUID_TYPE_BLE},{BLE_UUID_BATTERY_SERVICE, BLE_UUID_TYPE_BLE}, {BLE_UUID_DEVICE_INFORMATION_SERVICE, BLE_UUID_TYPE_BLE} };

    Is there a way in which I can check what is actually advertised? (where should I stick a breakpoint to see if the correct function is called)

Children
No Data
Related