Open miguelcostaUI opened 4 years ago
I have the same issue. Did you finnd the solution?
Having the same issue. Increased the timeout to 10, but this does not help. Anyone knows something?
I figured for my BF720 that removing child.expect("0x002e value: e6 00 20", timeout=4)
in line 461 of scale.py allows the script to progress abit further. I could not find any hint that such a string would appear in the child's stream.
me@raspi:~/myfiles/bt-scale $ python2.7 scale.py
connecting...
connection_status -> successful
---------------------------------------------
init?
char-write-req 0x002e E601
init.
---------------------------------------------
set scale time
char-write-req 0x002e E9652D8758
---------------------------------------------
get scale status
char-write-req 0x002e E74F0000000000000000
unable to get scale status, will exit now. (TODO: implement retry)
I'm trying to run on a Raspberry Pi 4 but after connecting I always get an error. Do you know what can i do to solve this?
Thanks