-
Notifications
You must be signed in to change notification settings - Fork 0
MiP_Serial
github-actions[bot] edited this page Aug 10, 2026
·
9 revisions
Manages low-level UART transport and OOB event demux.
| 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 |
|
variable |
MiP & m_mip |
|
variable |
uint32_t m_lastRequestTime |
|
variable |
uint8_t m_expectedResponseSize |
|
variable |
uint8_t m_expectedResponseCommand |
|
variable |
uint8_t m_responseBuffer[MIP_RESPONSE_MAX_LEN] |
|
friend |
class MiP |
|
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() |
|
function |
void clear() |
|
function |
uint8_t discardUnexpectedSerialData() |
|
function |
void processOobResponseData(uint8_t commandByte) |
|
function |
uint8_t transportGetResponse(uint8_t *pResponseBuffer, size_t responseBufferSize, size_t *pResponseLength) |
|
function |
void transportSendRequest(const uint8_t *pRequest, size_t requestLength, int expectResponse) |
|
function |
void copyHexTextToBinary(uint8_t *pDest, uint8_t *pSrc, uint8_t length) |
|
function |
uint8_t parseHexDigit(uint8_t digit) |
|
function |
bool readIrLength(size_t &length) |
🔗 Quick Links: Main Repository • Report an Issue • Wiki Home
An open-source API for the WowWee MiP Robot. Licensed under Apache-2.0.
- MiP
- MiPChestLED
- MiPClapSettings
- MiPDebug
- MiPHardwareInfo
- MiPHeadLEDs
- MiPIRDongleCode
- MiPSoftwareVersion
- MiPStatus
- MiP_Battery
- MiP_ChestLED
- MiP_Clap
- MiP_EEPROM
- MiP_Gesture
- MiP_HeadLEDs
- MiP_Infrared
- MiP_Mode
- MiP_Motion
- MiP_Odometer
- MiP_Position
- MiP_Radar
- MiP_Serial
- MiP_Shake
- MiP_Sound
- MiP_Version
- MiP_Weight
- MiP_WiFi