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
  • In summary:

    iOS UART needs the advertising packet to work, android does not.

    The advertising packet didn't come across for two reasons:

    1. services_init() was not called before advertising_init(). It has to be that way around.

    2. The advertising packet was not built correctly, the length was too long (>31 bytes). Splitting the packet into an advertising packet and a scan response packet did the trick.

Reply
  • In summary:

    iOS UART needs the advertising packet to work, android does not.

    The advertising packet didn't come across for two reasons:

    1. services_init() was not called before advertising_init(). It has to be that way around.

    2. The advertising packet was not built correctly, the length was too long (>31 bytes). Splitting the packet into an advertising packet and a scan response packet did the trick.

Children
Related