How to use bluetooth discover device with my application UUID in Android? -
I am working on an application, to transfer files using Bluetooth. I have a question about Bluetooth search Which other devices have I already installed during the search of bluetooth? I knew that I had to use UUID, and I also knew that Bluetooth device can give me UUID from other devices. However, I do not know how to add a UUID of my application to the SDP for searching Bluetooth.
Thank you!
On the client side, listen to call startDiscovery () and the discovered devices. For each device, get the Bluetooth device and call getUUIDs to receive the UUID () so that the remote device can be used. Check a match with UUID.equals ().
Comments
Post a Comment