Closed benjaminhon closed 8 years ago
Hi @benjaminhon,
Please share the following:
DEBUG=* node <file>.js
hcidump -t -x
(note, you'll have to start this in a separate terminal window before you're Node app is running)@benjaminhon ping ...
I'm closing this due to lack of activity.
Noted thanks, the solution was to kill the bluetoothctl process, something to do with the edison
Sent from my iPhone
On 29 Aug 2016, at 7:17 AM, Sandeep Mistry notifications@github.com wrote:
I'm closing this due to lack of activity.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Hi I am using bleacon on the intel edison.
Most of the time when i do startAdvertising it does. However, there are cases (as i am running the program for a long time) then the advertising stops, then if i restart the program it starts again.
is there any way to check if it is advertising? like a callback function? also is there anycases where you think this problem might happen? I am trying to debug this
this is the part of my code,
i also have a service file that restarts my program when the TCP connection is down, so expect that the program will be restarted many times over weeks. Im wondering if its because of unsafe exits that the bleacon library does not take into account?
just in case you are wondering, bluetooth is setup using
on systemctl status bluetooth i do get this
Thx