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

How to tell central devices apart?

Hello.

I am running ble_app_uart altered to allow for connection of two central devices.

The connection of two devices work fine.

Upon each connected central, I can tell the connections apart if I make m_conn_handle into an array of 2, I guess.

Haven't done this yes, but that should not be a problem.

I can then connect two devices and call them instance 0 and instance 1.

But can I tell what kind of central they are?

For instance: if I, in any order, connect an iPhone and an Android phone (both running nRF toolbox) how do I know that connection instance 0 is an Android and not an iPhone?

Thanks.

Anders

Parents Reply Children
No Data
Related