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
  • I paired my Garmin RADAR unit. I can pair it in the simulator. And on my Garmin Edge device I see the RADAR, and in the status pages it tells me my BATTERY status is "NEW". But in the CIQ data field in the simulator, I don't get the polling to return a value and there is no listener being triggered. So, I tried to setup the "sendPageRequest" to request pages 4 and 82 every 15 seconds. But sendPageRequest fails. It doesn't like the value I'm sending (eg: 4 or 0x04). Looks like a bug? I was hoping if I asked for a page, maybe the radar unit would cause it to be sent? Anyone ever try "sendPageRequest"? /resized-image/__size/320x240/__key/commentfiles/fb5d84b10a5745448a7a45dafc1faa43-bef7cf5b-cf7f-40ec-813a-c5651a6c4bee/pastedimage1605027437467v1.png
Comment
  • I paired my Garmin RADAR unit. I can pair it in the simulator. And on my Garmin Edge device I see the RADAR, and in the status pages it tells me my BATTERY status is "NEW". But in the CIQ data field in the simulator, I don't get the polling to return a value and there is no listener being triggered. So, I tried to setup the "sendPageRequest" to request pages 4 and 82 every 15 seconds. But sendPageRequest fails. It doesn't like the value I'm sending (eg: 4 or 0x04). Looks like a bug? I was hoping if I asked for a page, maybe the radar unit would cause it to be sent? Anyone ever try "sendPageRequest"? /resized-image/__size/320x240/__key/commentfiles/fb5d84b10a5745448a7a45dafc1faa43-bef7cf5b-cf7f-40ec-813a-c5651a6c4bee/pastedimage1605027437467v1.png
Children
No Data