I'm working on an app on Android that is supposed to connect to a custom device via Bluetooth, but in order to emulate that device (which I don't have yet), I made a simulator on PC, using Java's Bluecove.
However, I'm having a hard time figuring out the different connection's method.
First, on Android, we discover the device (here, a PC), then:
-We have the "UUID" solution, as explain in android sdk doc.
-Or the "Port" solution, as proposed here.
The second one seems more natural to me, as I don't quite understand what is a UUID in this scenario.
I do understand that we need to connect to a port of a device, but what does the UUID have to do with that? Why don't we need to specify it in the second solution?
If someone could give me a clue, that would be greatly appreciated :)