precess static method

void precess(
  1. HLSender sender
)

Implementation

static void precess(HLSender sender) {
  if (sender.entry == 0xe6 || sender.entry == 0xe5) {
    archive();
    _p ??= ClingProtocolDebugData([], pid: sender.pid);
    _lpid = sender.pid;
  }
  if (_lpid > 0) {
    _p?._datas.add(
        _BleDebugData(entry: sender.entry, datas: sender.datas.toList()));
    // slog('add protocol: $_p');
  }
}