HI
I would like to know whether it is possible to obtain the MAC Address of the device (host) to which my device connects.
I have a peripheral device bonded to a host.
If I use the API function bls_smp_param_loadbyIndex() it is possible to obtain the MAC Address of the host to which the peripheral device is bonded.
If my peripheral connects to a new device. I can catch that event in the callback function, at that point I need to obtain the new host's MAC Address. If I use the same function bls_smp_param_loadbyIndex() it shows only the Address of the currently bonded device. But does not return the Address of the newly connected host.
Is it possible to obtain this information. How do I go about doing this?
Thank you
No more topics |
Hi,
If you need get connected unbound device's MAC address , you can get the the MAC in BLT_EV_FLAG_CONNECT event,and you can get the event details in the Handbook.
Thank you very much.
Your information was spot on.
We are able to obtain the information we were looking for.