Loghorn / ant-plus

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

What's the meaning of attaching HR sensors ? #21

Closed shmatul closed 5 years ago

shmatul commented 5 years ago

Hello

I am able to receive the HR data from multiple devices using only 1 sensor initialized. In every beat I receive hbData simultaneously from all devices and store the data according to the given serial number.

I never call the attach method and actually don't understand why I need it all, or what's the meaning of attaching the sensor to a channel.

Can anyone help me figure this out?

Thanks!

Loghorn commented 5 years ago

I don't understand: if you don't attach the sensor, you won't get any data, unless you are using a scanner that doesn't have an attach method

shmatul commented 5 years ago

Got it. I was using the scanner, thanks.

shmatul commented 3 years ago

@Loghorn - is it necessary to attach each and every single HR sensor to get relevant data? Can I just used the scanner and not attach sensors? Is attaching a sensor doing something to the device?

bierzorutas commented 3 years ago

+1 to the shmatul question, I also would like to know the answer. Thanks in advance @Loghorn