Omar Aflak
Omar Aflak
This is definitely possible. It shouldn't even be too hard to implement, we would simply have to make a list of [ReceiveThread](https://github.com/OmarAflak/Bluetooth-Library/blob/master/bluetooth/src/main/java/me/aflak/bluetooth/Bluetooth.java#L505) and architecture the library so that you can...
Hi. Can you post the code you used ?
Are you able to send messages from the module to the phone ? What is the module ? On which controller ?
What kind of the device are you trying to connect to ? Take a look at this README section : https://github.com/OmarAflak/Bluetooth-Library/blob/master/README.md#connect-to-device-using-port-trick
Please make sure you are using a regular Bluetooth dongle, not BLE. BLE is not supported.
Regarding the device side: the default behaviour is to read data line by line (you can change that, see README). So if you want to receive data on your phone...
You don't have to register and unregister broadcast listeners yourself. Call `disconnect()` and `onStop()`
It's because you haven't called `bluetooth.onStart()`. Take a look at the README.
Is the device you are trying to connect to a BLE device ?
The library does not support BLE. Of you run the app in the repo does it connect without problem ? Socket timeout might happen few times before connecting successfully..