sendCustom method

  1. @override
Future sendCustom(
  1. String mac,
  2. Uint8List data
)
override

发送自定义数据 (蓝牙(mac必须传递)、串口)

Implementation

@override
Future sendCustom(String mac,Uint8List data) => methodChannel.invokeMethod("sendCustom",{"mac":mac,"data":data});