Loghorn / ant-plus

A node module for ANT+
MIT License
138 stars 70 forks source link

What happens if you attach a sensor, but no device is found? #39

Open AdrienFery opened 3 years ago

AdrienFery commented 3 years ago

I don't understand what happens if you attach a sensor (attach(0, 0)) with 0 as device's id to connect to the first device found, but no device is found.

How can I know when I can try to attach again? Is there a timeout or an event to catch?

Thanks,