Skip to content

US Gallons not parsed correctly #62

Description

@maebli

68 1c 1c 68 08 00 72 20 00 00 10 e6 1e 3c 07 01 00 00 00 0c 78 20 00 00 10 0c 93 3d 85 99 99 99 d2 16

Gives

Long Frame 
┌────────────────────────────────┬──────────────┐
│ Function                       │ Address      │
├────────────────────────────────┼──────────────┤
│ RspUd (ACD: false, DFC: false) │ Uninitalized │
└────────────────────────────────┴──────────────┘
┌───────────────────────┬────────────────────────────────────────────┐
│ Field                 │ Value                                      │
├───────────────────────┼────────────────────────────────────────────┤
│ Identification Number │ 10000020                                   │
├───────────────────────┼────────────────────────────────────────────┤
│ Manufacturer          │ ManufacturerCode { code: ['G', 'W', 'F'] } │
├───────────────────────┼────────────────────────────────────────────┤
│ Access Number         │ 1                                          │
├───────────────────────┼────────────────────────────────────────────┤
│ Status                │ No Error(s)                                │
├───────────────────────┼────────────────────────────────────────────┤
│ Signature             │ 0                                          │
├───────────────────────┼────────────────────────────────────────────┤
│ Version               │ 60                                         │
├───────────────────────┼────────────────────────────────────────────┤
│ Medium                │ Water                                      │
└───────────────────────┴────────────────────────────────────────────┘
┌─────────────────────────────────────────────┬────────────────────┐
│ Value                                       │ Data Information   │
├─────────────────────────────────────────────┼────────────────────┤
│ (10000020)(FabricationNumber))              │ 0,Inst,BCD 8-digit │
├─────────────────────────────────────────────┼────────────────────┤
│ (99999985)e-3[m³](Volume, NoneMetricUnits)) │ 0,Inst,BCD 8-digit │
└─────────────────────────────────────────────┴────────────────────┘

Nonemetric is correct but should be mapped to USGal

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions