Last updated:
0 purchases
laikangning sdk
LKN SDK #
本仓库是服务于莱康宁 远程胎监设备 eFM 系列。
功能 #
开启功能
var laikangningSdk = LaikangningSdk();
laikangningSdk.initialize();
copied to clipboard
开启声音
laikangningSdk.startWork();
copied to clipboard
关闭声音
laikangningSdk.stopWork();
copied to clipboard
发送数据
laikangningSdk.putData(bytes);
copied to clipboard
接受解析协议后数据为
laikangningSdk.getFhrData().listen((event) {
event.data.afm;
_bleLogger.addToLog('type: ${event.type.name} - '
'afm: ${event.data.afm} - '
'toco: ${event.data.toco} - '
'tocoFlag: ${event.data.tocoFlag}'
'fhr1: ${event.data.fhr1} - '
'fhr2: ${event.data.fhr2}'
'devicePower: ${event.data.devicePower}'
'afmFlag: ${event.data.afmFlag}'
'docFlag: ${event.data.docFlag}'
'fmFlag: ${event.data.fmFlag}');
});
copied to clipboard
销毁sdk
laikangningSdk.deinitilize();
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.