ElinkProbeCmdUtils class

探针命令工具类(Probe command tool class)

Inheritance

Constructors

ElinkProbeCmdUtils.new(List<int> mac, {List<int> cid = ElinkProbeConfig.cidProbe})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearProbeInfo() List<int>
结束工作 使用UUID(elinkWriteAndNotifyUuid: FFE3)的特征值写入 Write using the characteristic value of UUID(elinkWriteAndNotifyUuid: FFE3)
getBattery() List<int>
获取电量 使用UUID(elinkWriteAndNotifyUuid: FFE3)的特征值写入 Write using the characteristic value of UUID(elinkWriteAndNotifyUuid: FFE3)
getCid() List<int>
inherited
getElinkA7Data(List<int> payload) Future<List<int>>
inherited
getMac() List<int>?
inherited
getProbeInfo() List<int>
获取设备信息 使用UUID(elinkWriteAndNotifyUuid: FFE3)的特征值写入 Write using the characteristic value of UUID(elinkWriteAndNotifyUuid: FFE3)
getVersion() List<int>
获取版本 使用UUID(elinkWriteAndNotifyUuid: FFE3)的特征值写入 Write using the characteristic value of UUID(elinkWriteAndNotifyUuid: FFE3)
inherited
initialize(List<int> mac, {required List<int> cid}) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setProbeInfo(ElinkProbeInfo probeInfo) List<int>
开始工作(设置信息) 使用UUID(elinkWriteAndNotifyUuid: FFE3)的特征值写入 Write using the characteristic value of UUID(elinkWriteAndNotifyUuid: FFE3)
switchUnit(int unit) Future<List<int>>
切换单位 unit 0: °C, 1: °F 使用UUID(elinkWriteUuid: FFE1)的特征值写入 Write using the characteristic value of UUID(elinkWriteUuid: FFE1)
inherited
syncTime({DateTime? dateTime}) List<int>
同步时间 使用UUID(elinkWriteAndNotifyUuid: FFE3)的特征值写入 Write using the characteristic value of UUID(elinkWriteAndNotifyUuid: FFE3)
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited