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

nRF52832 UART example fails to connect to iphone/IOS device?

We have successfully tested the nRF52832 HRM and proximity examples with iphone APP (nRF Toolbox & LightBlue). However, when we tested with UART peripheral example (..SDK\examples\ble_peripheral\ble_app_uart), we are not able to make the connection (timeout) from the Iphone.

We have tested with follows: Board: PCA10040 Devices: iphone 6 and 6S, IOS Apps: nRF Toolbox UART, nRF UART, LightBlue SDKs: SDK14, SDK13, SDK11, SDK10, SDK9, Softdevices: S132 5.0, 4.0, 2.0

But it works well with android phone (nRF Toolbox UART). Any suggestion and help?

Parents
  • No.

    I have used SDK 10 and SDK 11 with iOS, but I can't recall if I used the UART example.

    Actually...

    What precisely is the problem... What do you mean by

    "we are not able to make the connection (timeout) from the Iphone."

    I was looking at this in SDK 12.3 yesterday and there is no timeout on the connection, at least from the BLE device standpoint.

    However I added a timeout to my version of the UART example (which I'm using as a template for a 128 bit service), so that if no transmissions are received within a defined time period e.g. 1 minute.

    My version automatically disconnects.

    I do this because, otherwise my battery powered SmartBeacons could go flat if someone used LightBlue etc to connect to them, and didnt send any data.

Reply
  • No.

    I have used SDK 10 and SDK 11 with iOS, but I can't recall if I used the UART example.

    Actually...

    What precisely is the problem... What do you mean by

    "we are not able to make the connection (timeout) from the Iphone."

    I was looking at this in SDK 12.3 yesterday and there is no timeout on the connection, at least from the BLE device standpoint.

    However I added a timeout to my version of the UART example (which I'm using as a template for a 128 bit service), so that if no transmissions are received within a defined time period e.g. 1 minute.

    My version automatically disconnects.

    I do this because, otherwise my battery powered SmartBeacons could go flat if someone used LightBlue etc to connect to them, and didnt send any data.

Children
No Data
Related