Versions in this module Expand all Collapse all v1 v1.1.0 Sep 10, 2021 Changes in this version + type IotDeviceInfo struct + CollectorMac string + Complete bool + DataFlag byte + DeviceId string + DeviceStatus uint8 + LastActiveTimeUnix int64 + LowVoltage uint8 + RSSI byte + Sport uint32 + SportTime uint32 + SystemTick uint32 + TagType byte + Temperature uint16 + UploadTime string + UploadTimeUnix int64 + Voltage uint16 + func (model *IotDeviceInfo) GetDeviceInfo(buffers []byte) error + type IotGatewayInfo struct + AuthInfo string + CollectorMac string + DeviceType uint16 + ExternalPower byte + FirmwareType4G uint16 + FirmwareVersion uint16 + FirmwareVersion4G uint16 + Flag byte + Hardware4G uint16 + HardwareVersion uint16 + IMEI4G string + IMSI4G string + Latitude float64 + Longitude float64 + Mark string + Module24G byte + Module24GState byte + Module4G byte + Module4GState byte + ModuleBT byte + ModuleBTState byte + ModuleGPS byte + ModuleInternalWlan byte + ModuleInternalWlanState byte + ModuleLRBT byte + ModuleLRBTState byte + ModuleMode byte + MomentTime uint32 + Net4G byte + Signal4G byte + TransferMode byte + UploadTime string + UploadTimeUnix int64 + Voltage uint16 + func (model *IotGatewayInfo) GetGatewayInfo(buffers []byte) error + func (model *IotGatewayInfo) GetGatewayInfoV2(buffers []byte) error + type IotInfo struct + DataType int + IotDeviceInfo *IotDeviceInfo + IotGatewayInfo *IotGatewayInfo + Message string + Success bool + func ParseData(buffers []byte) (*IotInfo, error)