resPacketSentConfirmed function

Pointer<Int> resPacketSentConfirmed()

Implementation

Pointer<Int> resPacketSentConfirmed() {
  // TODO (zs 2024/1/8): malloc not free
  // zs 2024/1/11: using global variable to avoid memory leak.
  _sentConfirmed.value = 1;
  // slog('resPacketSentConfirmed: entered');
  return _sentConfirmed;
}