Closed daimonkor closed 1 year ago
I think that currently the library just support to connect one device. @douglasjunior could give you more details about that
I think that currently the library just support to connect one device. @douglasjunior could give you more details about that
Yes, I tested server/client devices (first - server, second - client), can not connect
@jjrodcast is right. The library was created to connect to devices like thermal printers, arduino, and others devices with serial communication.
ok, step by step:
I used BluetoothClassicService.class, I found it is the same with bluetooth chat class and the same with my tested app (ping pong). But ping pong network part works, current library sample does not work. I removed apk, removed pairs, reboot devices, no work https://prnt.sc/m12p6r
This is the problem, this library will not work with two smartphones, because this library not work in "server mode", only in "client mode".
I am trying only connect two devices, classic scenario. I think that BluetoothClassicService.class confirm my idea. Tested the same service https://github.com/ybenannoune/BluetoothPong/blob/master/android/src/com/mygdx/game/BluetoothService.java and works normal. You are right http://prntscr.com/m15t9z . Yes, jabra bluetooth connected. Please provide server mode. Thanks for help.
This is the problem, this library will not work with two smartphones, because this library not work in "server mode", only in "client mode".
It would be nice, if you could add that to the project description.
I can not connect two devices (current sample kotlin). http://prntscr.com/m12p6r
Tested https://github.com/ybenannoune/BluetoothPong works normal (used classic https://github.com/googlesamples/android-BluetoothChat/blob/master/Application/src/main/java/com/example/android/bluetoothchat/BluetoothChatService.java ) Thanks for help.