Methods
-
bind(Map<String, dynamic> map)
→ void
-
绑定设备 (根据MAC) 如果设备不存在 会新建设备!
-
cancel(String mac)
→ void
-
解绑&断开 (根据MAC)
-
checks(String model)
→ Future<List<CheckEntity>?>
-
获取设备的 检测项
-
cmds(CheckEntity check)
→ Future<List<CmdEntity>?>
-
获取检测项的 指令列表
-
configBle(Map<String, dynamic> bleConfig)
→ Future
-
设置 蓝牙 配置信息
-
configDevices(List devices)
→ Future
-
初始化 设备列表
-
configSerial(Map<String, dynamic> serialConfig)
→ Future
-
设置 串口 配置信息
-
configUser(int sex, int age, int smoking, int height, int weight)
→ Future
-
设置 用户信息
-
enableBle()
→ Future
-
打开蓝牙 (仅限 android)
-
getPlatformVersion()
→ Future<String?>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
openColorimetry()
→ void
-
比色法获取结果
-
reconnect(String mac)
→ void
-
重连设备 (仅限iOS设备)
-
scan()
→ Future
-
搜索设备
-
send(String protocolType, String mac, CheckEntity check, String cmdId, {YaseeReqEntity? obj})
→ Future
-
发送指令 (蓝牙(mac必须传递)、串口)
-
sendCustom(String mac, Uint8List data)
→ Future
-
发送自定义数据 (蓝牙(mac必须传递)、串口)
-
stop()
→ Future
-
停止搜索
-
toString()
→ String
-
A string representation of this object.
inherited