KeganHollern / go-aranet4

Aranet4 SDK for Golang
0 stars 0 forks source link

Always getting "timeout on DiscoverServices" #1

Open NetForces opened 1 year ago

NetForces commented 1 year ago

Using your sample code. Tried rebooting the Aranet4. It is running v1.2.0

Running in Ubuntu 22.04 and compiled with Go 1.18.0

➭ ./main
INFO[0000] starting go-aranet4 sample                   
INFO[0005] found aranet4 device                          mac="E2:39:0C:--:--:--"
INFO[0005] connecting to device...                       mac="E2:39:0C::--:--:--"
INFO[0009] connected                                     mac="E2:39:0C::--:--:--"
ERRO[0019] failed to read from device                    error="timeout on DiscoverServices"

(MAC address redacted-out for security reason)

I tried unpairing the sensor from my Android phone also, but same thing...

KeganHollern commented 1 year ago

I only tested on windows - will investigate.