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

The Nordic_UART device is not visible from iOS BT setting

Hello.

I imported the "Nordic_UART" example from "nRF5_SDK_15.2.0_9412b96 examples ble_peripheral\"
The device is visible from the Android BT settings and is not visible from the BT settings of iOS(8.0).
The "nRF Connect" application on iOS(8.0) recognizes the "Nordic_UART" device.
What changes should I make to my code ?

I tried to use the "ble_app_ancs_c_pca10040_s132.hex" file downloaded from "nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_ancs_c\hex\"
The "ANCS" device is visible from the BT settings of iOS.

I think of where to add some code from the example from "RF5_SDK_15.2.0_9412b96 example ble_peripheral ble_app_ancs_c".
What code should I add ?
Where can I find an iOS example for "Nordic_UART" ?

Thank you

Demetrio Magrin

Parents
  • Hi Demetrio

    IOS devices won't discover bluetooth devices that aren't "useful" to the IOS device, which is why you aren't able to discover the Nordic UART device using the Bluetooth setting. To make it visible I think you have to add the HID service in the advertising packet and add HID profile to your attribute table as well. You can look at our ble_app_hids_keyboard example to see how this is done.

    By doing this you will trick the device into thinking the nRF is a HID (Human Interface Device), which means it finds it useful and will show it as a connectable Bluetooth device.

    Best regards,

    Simon

Reply
  • Hi Demetrio

    IOS devices won't discover bluetooth devices that aren't "useful" to the IOS device, which is why you aren't able to discover the Nordic UART device using the Bluetooth setting. To make it visible I think you have to add the HID service in the advertising packet and add HID profile to your attribute table as well. You can look at our ble_app_hids_keyboard example to see how this is done.

    By doing this you will trick the device into thinking the nRF is a HID (Human Interface Device), which means it finds it useful and will show it as a connectable Bluetooth device.

    Best regards,

    Simon

Children
Related