Page 1 of 1

BlueDot with Raspberry Pi4 [SOLVED]

Posted: Sat Feb 15, 2020 8:33 am
by Garvan
Hi,

Have others succeed in getting BlueDot https://bluedot.readthedocs.io/en/lates ... arted.html working with Raspberry Pi 4?

This is my experience so far:

Using a Huawei phone, I installed the application, I could not get the phone to pair using the GUI, because it reported my phone had no usable services, but the command line instructions worked, and the phone is now paired with the RPi4. when I start the Android application, it lists the Raspberry Pi, and when I select it from the list of devices, it reports unable to connect.

Is it worth continuing to try? Are there better alternatives to BlueDot? I would like to send commands to a toy robot, and am looking for something that is reliable for testing purposes.

Re: BlueDot with Raspberry Pi4

Posted: Sat Feb 15, 2020 4:25 pm
by Forris
From the BlueDot documentation, under 'Pair a Raspberry Pi and Android phone:

'You may receive errors relating to services not being available or being unable to connect: these can be ignored.'

Re: BlueDot with Raspberry Pi4

Posted: Sun Feb 16, 2020 9:32 am
by Garvan
Forris wrote:
Sat Feb 15, 2020 4:25 pm
From the BlueDot documentation, under 'Pair a Raspberry Pi and Android phone:

'You may receive errors relating to services not being available or being unable to connect: these can be ignored.'
I would happily ignore the error messages if it worked. I will remove it and start over. One more try.

Re: BlueDot with Raspberry Pi4

Posted: Thu Mar 05, 2020 1:00 am
by pml80
Any updates on this issue? I'm having the same problem.

Re: BlueDot with Raspberry Pi4

Posted: Thu Mar 05, 2020 9:56 am
by Garvan
I was unable to get it to work, and I uninstalled BlueDot.

Sorry.

Re: BlueDot with Raspberry Pi4

Posted: Thu Mar 05, 2020 10:03 am
by B.Goode
Maybe consider raising an Issue directly with the author/developer/maintainer.


Although a question similar to this has been raised and answered.

https://github.com/martinohanlon/BlueDot/issues/146

Re: BlueDot with Raspberry Pi4

Posted: Fri Mar 06, 2020 12:56 pm
by Garvan
I tried a third time, just to confirm the python script was running. It does not connect, no error message, nothing. So what do I report to the author/developer/maintainer on https://github.com/martinohanlon/BlueDot? I would feel like a fool saying "it does not work", with nothing useful to add.

Re: BlueDot with Raspberry Pi4

Posted: Fri Mar 06, 2020 4:42 pm
by Douglas6
Do you have a Blue Dot application (such as the sample app) running when you try to connect from the phone?

Re: BlueDot with Raspberry Pi4

Posted: Sat Mar 07, 2020 3:09 am
by Garvan
Douglas6 wrote:
Fri Mar 06, 2020 4:42 pm
Do you have a Blue Dot application (such as the sample app) running when you try to connect from the phone?
Yes, I run the script provided.

Code: Select all

from bluedot import BlueDot
bd = BlueDot()
bd.wait_for_press()
print("Hello World")
1. My phone pairs successfully with RPi4 GUI interface .
2. I start the bd.wait_for_press() script.
3. I start the BlueDot application on my phone, select "Raspberry" from the list of connections, and after a second, it reports "unable to connect".

Re: BlueDot with Raspberry Pi4

Posted: Sat Mar 07, 2020 3:26 am
by Douglas6
And what is output by the Python script?

Mr.Ohanlon used to check in here, he may yet pop up.

Re: BlueDot with Raspberry Pi4 [SOLVED]

Posted: Sat Mar 07, 2020 4:06 am
by Garvan
Douglas6 wrote:
Sat Mar 07, 2020 3:26 am
And what is output by the Python script?

Mr.Ohanlon used to check in here, he may yet pop up.
The script prints out the raspberry pi Bluetooth address, in my case DC:A6:32:20:9E:C6, then it sits there waiting for a connection.

I got it working. In the BlueDot application on my phone, I selected "Settings" and turned off "Auto port discovery", and then manually selected Bluetooth port 1 (I was given a list 1 to 30, so started with the first option). It connected immediately once I made this change.

Anybody with the same issue should try the manual Bluetooth port selection in the BlueDot application on their phone.

Thank you for your help