sendResponse method

dynamic sendResponse(
  1. String deviceAddress,
  2. int requestId,
  3. int offset,
  4. List<int> value,
)

回复

Implementation

sendResponse(String deviceAddress, int requestId, int offset, List<int> value) async {
  await KGattHandler.method.invokeMapMethod("char/sendResponse", <String, dynamic>{
    "deviceAddress": deviceAddress,
    "requestId": requestId,
    "offset": offset,
    "value": value,
  });
}