hi,everyone,when the device is connected to the phone,and how does the device get the MAC address of the phone? thanks.
hi,everyone,when the device is connected to the phone,and how does the device get the MAC address of the phone? thanks.
Can you be more specific? What is that "device" which is connected to the phone? What is running on that device? Why you need that MAC address? Otherwise the only general answer is "MAC is present in some Link Layer PDUs so low-layer stack sees it and if it has API and that is exercised well even higher layers can get that".
hi,l mean that the phone connected to the device ,and the device is slave. I would like to know if I can get the MAC address of the host from the host machine.
Not helping. So you have Android device and you ask how to get its BT LE MAC from Android API to your Android application? Or you have nRF device and you are asking how to get its BLE MAC through SoftDevice API? Two different situations bring two completely different answers. Because BLE APIs are device (HW) and OS/environment (SW) specific there is no general answer for "any device".
hi,summer.I have the same question,Have you solved the issue?Could you tell me how to get phone MAC address.