-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moppy And Bluetooth #196
Comments
Yesterday I received my HT-05 Bluetooth module and I wanted to test it with the Moppy. It worked ok. Moppy can't detect a bluetooth module because it is not designed to. It searches for COM ports. So what you need to do is modify the source code to search for bluetooth modules. This is actually pretty easy. You can download "BlueCove version 2.1.1-SNAPSHOT" library (assuming you have 64bit windows) and import it to the project. You need to write your own code for getting the device. Here is mine: Bluetooth.java class: https://pastebin.com/QTcTMNL3 Note that this code was written in a few minutes and it causes some issues. For the program will no longer work with COM ports only with BT, and you must restart the program every time you with to disconnect. Also when the program launches you should just press Connect. Even if the selected COM port seems empty. Hope that helped! |
Alternatively you should also be able to configure your Bluetooth device with a COM port of its own so it will show up with the other COM ports (this page has some instructions). I've added directly bluetooth support as an enhancement ticket for Moppy2 though, perhaps someday it'll get added natively. |
I am trying to hook up an HT-06 bt to serial adapter and moppy isn't seeing the port. arduino can see it and write to it. any thoughts.
The text was updated successfully, but these errors were encountered: