Browse Source

first commit for rnd parser ruptela

master
Ibnu hamdani 11 months ago
parent
commit
e538d497f6
  1. 9
      model/device.go

9
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()

Loading…
Cancel
Save