Ticket Created
over 4 years ago

WERETECH-10039

ANT+ Battery Status

The latest in the saga for Battery Status. I used an ANT+ dongle on my Windows Laptop, and paired it with the Eclipse Simulator. I tried both an older Garmin Cadence Sensor, and a brand new one (the one that does both ANT and BT). Same outcome. In both cases, the CIQ data field immediately gets Device State info. After maybe 30-40 seconds, the ProductInfo.serial number comes thru. Just like in real life when paired to a real Garmin Edge computer. But in both cases, even after several minutes, the Battery Status remains null.

When I pair the new cadence sensor to my actual Garmin Edge computer, the Battery Status does come up as OK within 15 seconds or so and then maybe 30 seconds later the Serial # info comes through.

Any clue why the polling code isn't seeing the Battery Status?

Oh, also, the State Update Listener is triggering, but the BatteryStatusListener is not.

Parents
  • Ok - I finished my data field. Here are some insights for two ANT devices (Cadence and Radar). It looks like to gather Voltage status every device is different. Some work with Polling. Some work with Page 4 messages. Some work with Page 82 messages. Interestingly... I turned off the RADAR unit (and the pairing light in the sim turned from green to yellow), but the battery status and voltage was still being read. /resized-image/__size/320x240/__key/commentfiles/fb5d84b10a5745448a7a45dafc1faa43-bef7cf5b-cf7f-40ec-813a-c5651a6c4bee/pastedimage1605045752984v2.png
Comment
  • Ok - I finished my data field. Here are some insights for two ANT devices (Cadence and Radar). It looks like to gather Voltage status every device is different. Some work with Polling. Some work with Page 4 messages. Some work with Page 82 messages. Interestingly... I turned off the RADAR unit (and the pairing light in the sim turned from green to yellow), but the battery status and voltage was still being read. /resized-image/__size/320x240/__key/commentfiles/fb5d84b10a5745448a7a45dafc1faa43-bef7cf5b-cf7f-40ec-813a-c5651a6c4bee/pastedimage1605045752984v2.png
Children
No Data