getBoxProbeInfo method

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

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

Implementation

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