clearBoxProbeInfo method

Future<List<int>> clearBoxProbeInfo(
  1. List<int> probeMac
)

盒子清除探针信息 使用UUID(elinkWriteUuid: FFE1)的特征值写入 Write using the characteristic value of UUID(elinkWriteUuid: FFE1)

Implementation

Future<List<int>> clearBoxProbeInfo(List<int> probeMac) {
  final payload = List.filled(8, 0x00);
  payload[0] = 0x03;
  payload.setAll(2, probeMac);
  return getElinkA7Data(payload);
}