From e538d497f629cfa623d56472685c626588ba1cce Mon Sep 17 00:00:00 2001 From: Ibnu hamdani Date: Wed, 1 Nov 2023 21:52:15 +0700 Subject: [PATCH] first commit for rnd parser ruptela --- model/device.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/model/device.go b/model/device.go index a42839f..2b7dfbc 100755 --- a/model/device.go +++ b/model/device.go @@ -60,6 +60,13 @@ const ( CMD_RUP_GARMD_RESP = 131 CMD_RUP_CONN_PARM = 105 CMD_RUP_ODO = 106 + + // add + CMD_RUP_FUEL_LEVEL = 205 + CMD_RUP_ENGINE_SPEED = 197 + CMD_RUP_HIGH_RESOL_ENGINE_TOTAL_FUEL_USED = 92 + CMD_RUP_HIGH_RESOL_TOTAL_VEHICLE_DISTANCE = 114 + CMD_FUEL_LEVEL1 = 207 ) // Device and standard Tag type @@ -171,7 +178,7 @@ type Parser interface { Payload() []byte GetError() error GetCommand() byte -// GetRecords() *DeviceRecords + // GetRecords() *DeviceRecords GetIMEI() uint64 GetClientResponse() []byte ExecuteAsync()