Loghorn / ant-plus

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

Best strategy to scan after atached? #43

Open bierzorutas opened 3 years ago

bierzorutas commented 3 years ago

Hi everybody, I am starting to play with this nice package, I have searched in examples and code and dont find the way to scan after been attached a sensor. Let say I have many devices but only one stick: hr sensor and fitness sensor, scan for fitness and select one to attach it, after I would like to scan for hr devices but.. message error is returned mentioning "cant attach". Is there any way to cover this use case? Should I deatach fitness, save it´s ID, scan for HR and when select HR sensor and attach it, attach also fitness sensor in another channel?

Kind regards and thanks in advance