SCC_GetMeterInfoData
Valid for: CANoe DE • CANoe4SW DENote
- This function can be called only within the assigned callback. The function is used to query the details of a request or of a SLAC or V2G message.
- This function is available for the messages ChargingStatusRes, CurrentDemandRes and MeteringReceiptRes if a MeterInfo element is contained.
- This function is only available using ISO protocol.
<InvalidValueSigned>and / or<InvalidValueUnsigned>can be defined in the XML configuration.- These are returned if an optional numeric message parameter was queried by this function but not found.
- See Configuration of Vehicle SCC Nodes or Configuration of Chargepoint SCC Nodes.
Function Syntax
Description
Gets data from MeterInfo.Parameters
- MeterID: Queries the MeterId as string with 32 characters (to the given char buffer).
- MeterReading: Gets the current meter reading in [Wh] (via reference).
- SigMeterReading: Queries the signature of meter reading (to the given byte buffer). The length depends on the encryption algorithm. 64-byte long array of zeros if the value is not available.
- MeterStatus: Gets the meter status (via reference).
- TMeter: Gets the timestamp in UNIX format (via reference).