Add full support for V1 #29

Closed
opened 2025-07-08 08:33:32 -04:00 by AtHeartEngineer · 0 comments

Originally created by @stleusc on 9/18/2023

Wondering if you are willing to add support for V1?
I do have the spec that is needed to support the same data for V1 and V2.

When writing 0x50 the data is:

  current = extractFloat(data, 2);
  avg_1d = extractFloat(data, 6);
  avg_30d = extractFloat(data, 10);

You already have those 3 values.

When writing 0x51 the data is:

  runtime_min = extractInt(data, 4, 4);
  peak = extractFloat(data, 12);

I believe it should be very easy with that info. I never use python for my coding or else I would offer to do it.

*Originally created by @stleusc on 9/18/2023* Wondering if you are willing to add support for V1? I do have the spec that is needed to support the same data for V1 and V2. When writing 0x50 the data is: ``` current = extractFloat(data, 2); avg_1d = extractFloat(data, 6); avg_30d = extractFloat(data, 10); ``` You already have those 3 values. When writing 0x51 the data is: ``` runtime_min = extractInt(data, 4, 4); peak = extractFloat(data, 12); ``` I believe it should be very easy with that info. I never use python for my coding or else I would offer to do it.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/rd200v2#29