Skip to content

MiP_Serial

github-actions[bot] edited this page Aug 10, 2026 · 9 revisions

Class MiP_Serial

Manages low-level UART transport and OOB event demux.

Members & Functions

Type Signature Description
variable constexpr uint8_t MIP_REQUEST_DELAY
variable constexpr uint8_t MIP_RESPONSE_TIMEOUT
variable constexpr uint8_t MIP_EXPECT_NO_RESPONSE
variable constexpr uint8_t MIP_EXPECT_RESPONSE
variable constexpr size_t MIP_REQUEST_MAX_LEN
variable constexpr size_t MIP_RESPONSE_MAX_LEN
variable constexpr uint8_t MIP_MAX_RETRIES
variable constexpr uint16_t MIP_RETRY_WAIT
function MiP_Serial(MiP &mip) Constructs the serial port manager.
function void rawSend(const uint8_t request[], size_t requestLength) Sends a raw command to the MiP (fire-and-forget).
function uint8_t rawReceive(const uint8_t request[], size_t requestLength, uint8_t responseBuffer[], size_t responseBufferSize, size_t &responseLength) Sends a raw command and waits for the expected response.
function bool processAllResponseData()

Clone this wiki locally