dhague / vpower

ANT+ Virtual Power - currently for BT-ATS turbo & Kurt Kinetic. More to come...
MIT License
83 stars 34 forks source link

Transmission type question #9

Closed oldnapalm closed 5 years ago

oldnapalm commented 6 years ago

May I ask you a question about transmission type? If I leave it as 1 (no shared address?) like you have in https://github.com/dhague/vpower/blob/master/SpeedCadenceSensorRx.py#L23 I get no readings from Garmin speed sensor (ID 126191) using Garmin ANT+ dongle (idVendor=0x0fcf, idProduct=0x1009), I have to set it as 0 to get it working. I also have to set device number as 60655 (missing most significant bit). Is that related?

The ANT+ documentation says:

The most significant nibble may optionally be used to extend the device number from 16 bits to 20 bits. In this case, the transmission type most significant nibble becomes the most significant nibble of the 20 bit device number.

Is that something I can do here or it needs to be done in python-ant?

Thank you.

dhague commented 5 years ago

Sorry, I had completely missed this issue - the notification must have gone to my spam folder.