bluetooth-proximity
bluetooth-proximity copied to clipboard
variation between 0 and -1
I'm trying to make your script to work, and I encounter some weird issues : I want to detect distance to my phone from py PC. I have internal BT and dongle BT, With the internal BT, the values go from 0 to pretty decent value as I take away the phone from the PC. With the dongle BT, the values only go from 0 to -1.0 ! And it is quite weird as it is really when i take the phone away, I'll get -1.0.
Do you have any idea ? And even with the internal BT I get only whole numbers, not float.
Thanks
seems that there is somewhere somthing that truncate my result maybe ? Can't figure where