arissa34 / Android-Multi-Bluetooth-Library

Android Multi Bluetooth Library http://arissa34.github.io/Android-Multi-Bluetooth-Library/
187 stars 68 forks source link

Mac-Addresses of the conntected devices #19

Closed TypeOverride closed 7 years ago

TypeOverride commented 7 years ago

I see there is a method for sending directly to one device: public void sendBytes(final String adressMacTarget, final byte[] message);

But i cant figure out where to get the mac address.

Isn't there an thrown event that giving me the mac address of the device that has connected to my server?

arissa34 commented 7 years ago

You must store all mac addresses by yourself when connection is successful. But keep in mind that only the server knows all clients. If you want to send data, client to client, you have to go through the server.