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

In the examples apps for ble uart, when a central connects, does a ble uart peripheral have access to any central identity information?

Hello Nordic Pros,

I haven't been able to chase this one down on my own, so any help is greatly appreciated...

We are developing a product and app that connect to either an iPhone in the field, or a ble uart central during test and calibration.

Once a ble uart central device connects to a peripheral, can the peripheral query the id of the central to know what it is connected to?

Thanks

Robin @ TL

Parents
  • Hello,

    You can get the address of the connected peer device from the connection event. But for the iPhone at least it will only be a private random address (updated every 15 minutes) so you'd need its identity resolving key (IRK - exchanged during bonding) to uniquely identify it from other devices. 

    Would it be enough to determine that you're connected to a test and calibration device which I assume you have more control over? Could you assume that the connected central is test and calibration device if it starts sending calibration&test commands? 

Reply
  • Hello,

    You can get the address of the connected peer device from the connection event. But for the iPhone at least it will only be a private random address (updated every 15 minutes) so you'd need its identity resolving key (IRK - exchanged during bonding) to uniquely identify it from other devices. 

    Would it be enough to determine that you're connected to a test and calibration device which I assume you have more control over? Could you assume that the connected central is test and calibration device if it starts sending calibration&test commands? 

Children
Related