SCC_CreateMeteringReceiptReq_ISO
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
Creates a Metering Receipt Request message for sending.Parameters
- SessionID: 8-byte long SessionID of SCC connection, range: 0 - 0xFF FF FF FF FF FF FF FF.
- SAScheduleTupleId: Unique ID of a SAScheduleTuple which identifies the selected Tariff.
- MeterID: Unique ID of the meter.
- ReceiptID: Unique ID of the MeteringReceiptReq message.
Optional Parameters
- MeterReading:
long- Current meter reading in Wh - SigMeterReading:
byte []- Signature of the meter reading (length 64) - MeterStatus:
long- Current status of the meter - TMeter:
long- Timestamp of the current SECC time
Return Values
- 1: If successful.
- 0: Else (message cannot be sent).