Open Roaders opened 7 years ago
Nope, works fine for me in v6.10.2
When you run the scan wizard, are you getting any timeout?
nope, no messages at all.
I assume you have the latest binary?
Could you give the output of wireshark (the tcp traffic) between the client and daemon, as well as the btmon output?
just did a git fetch and pull to get latest. Same result. I don't know how to run wireshark... I'll try to find the command to run btmon.
"sudo btmon > some_file.txt" is enough to run btmon. Regarding Wireshark, what platform are you running on, and are you running the client and daemon on the same machine? Do you have a graphical interface or only terminal/ssh?
I am running on Raspberry Pi 3 via SSH.
I tried sudo btmon
and got nothing other than the version number printed out.
I went back to the getting started guide and when I type ps aux | grep bluetoothd
I do get something returned.
I tried both of the provided commands to stop it but it still seems to be running.
If bluetoothd was still running surely the flic log would mention that?
My flic log:
Available HCI devices found:
Trying hci0
Flic server is now up and running!
Entering daemon state...
Entered daemon state.
Accepted new client
Accepted new client
Accepted new client
I also tried the simpleclient and also got no responses.
You should first start btmon, then start the flicd. Then it should log a lot of traffic between flicd and the Bluetooth controller.
the daemon is usually started with rc.local
. I've commented that out and am now just running flicd -f flic.sqlite
and I now get:
Error: No HCI devices are available. Make sure you have a Bluetooth controller plugged in into the computer.
Any idea how I can find out what is using my bluetooth controller or what's wrong with it?
As well as updating node I also did a general sudo apt-get upgrade
which updated over a hundred packages so it's possible one of those could be the culprit.
What's the output of "hciconfig"?
nothing... 😕
pi@livingroompi:~ $ hciconfig
pi@livingroompi:~ $
Something must be wrong with the state of the Linux distribution. I'm not sure how to fix that. What I can suggest is simply to download the latest raspberry pi sd card image and run that...
@Roaders Do you have Ubuntu installed or Raspbian?
Raspbian
Yeah, that's a strange issue then. Did you ever get it working?
Hi
I have just updated my installed version of node to
6.10.2
and flic seems to have stopped working :-(using the example node client I get a message saying connected to daemon and I see a new client connected in the log but that's it. No button presses are displayed. If I try the connection wizard it's the same, I get a welcome message but no button presses are detected.
When I press the button it glows red.
@hardillb - did you notice this when testing Flix recently? My version of node was updated by the node-red update script.