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
  • Hi Kurev, I am down to getting my Shifting Sensors' battery status. For eTAP there are actually FOUR batteries. Front/rear derailleur and left/right shifters. Here are the page 82 responses. I got a single one with the 8v reading, and then I got repeated pages with 2.42 and 2.45 volts. I can't seem to figure out which voltage related to which of the 4 components. Not sure why I didn't get 4 different voltage readings. Or why the STATUS is "1" - the batteries are definitely not "new". I joined the ANT+ developer's group, so I imagine the details are in one of their documents. You have a lot of experience with this stuff. Any tips? Thanks!! Shifting MESSAGE Received: page:{82} payload:[[82, 255, 36, 255, 255, 255, 12, 24]] 6:13:56 LISTENER Shifting Battery: {p82} Status:1 (8.046875V) [50173] Shifting MESSAGE Received: page:{82} payload:[[82, 255, 68, 255, 255, 255, 107, 18]] 6:14:04 LISTENER Shifting Battery: {p82} Status:1 (2.417969V) [50173] Shifting MESSAGE Received: page:{82} payload:[[82, 255, 68, 255, 255, 255, 115, 18]] 6:14:32 LISTENER Shifting Battery: {p82} Status:1 (2.449219V) [50173]
Comment
  • Hi Kurev, I am down to getting my Shifting Sensors' battery status. For eTAP there are actually FOUR batteries. Front/rear derailleur and left/right shifters. Here are the page 82 responses. I got a single one with the 8v reading, and then I got repeated pages with 2.42 and 2.45 volts. I can't seem to figure out which voltage related to which of the 4 components. Not sure why I didn't get 4 different voltage readings. Or why the STATUS is "1" - the batteries are definitely not "new". I joined the ANT+ developer's group, so I imagine the details are in one of their documents. You have a lot of experience with this stuff. Any tips? Thanks!! Shifting MESSAGE Received: page:{82} payload:[[82, 255, 36, 255, 255, 255, 12, 24]] 6:13:56 LISTENER Shifting Battery: {p82} Status:1 (8.046875V) [50173] Shifting MESSAGE Received: page:{82} payload:[[82, 255, 68, 255, 255, 255, 107, 18]] 6:14:04 LISTENER Shifting Battery: {p82} Status:1 (2.417969V) [50173] Shifting MESSAGE Received: page:{82} payload:[[82, 255, 68, 255, 255, 255, 115, 18]] 6:14:32 LISTENER Shifting Battery: {p82} Status:1 (2.449219V) [50173]
Children
No Data