-
Notifications
You must be signed in to change notification settings - Fork 0
MiP_Infrared
github-actions[bot] edited this page Aug 10, 2026
·
8 revisions
Manages MiP's infrared system.
| Type | Signature | Description |
|---|---|---|
variable |
constexpr uint8_t MIP_CMD_RECEIVE_IR_DONGLE_CODENone |
MiP protocol command bytes used by the infrared subsystem. |
variable |
constexpr uint8_t MIP_CMD_GET_DETECTED_MIPNone |
|
variable |
constexpr uint8_t MIP_CMD_SET_DETECTION_MODENone |
|
variable |
constexpr uint8_t MIP_CMD_SET_IR_REMOTE_CONTROLNone |
|
variable |
constexpr uint8_t MIP_CMD_GET_IR_REMOTE_CONTROLNone |
|
variable |
constexpr uint8_t MIP_CMD_SEND_IR_DONGLE_CODENone |
|
variable |
constexpr uint8_t MIP_IR_DETECTION_MODE_DISABLENone |
Infrared mode definitions. |
variable |
constexpr uint8_t MIP_IR_REMOTE_CONTROL_DISABLENone |
|
variable |
constexpr uint8_t MIP_IR_REMOTE_CONTROL_ENABLENone |
|
variable |
MiP & m_mipNone |
|
variable |
uint8_t m_irIdNone |
|
variable |
CircularQueue< MiPIRDongleCode, 8 > m_irCodeEventsNone |
|
variable |
CircularQueue< uint8_t, 8 > m_detectedMiPEventsNone |
|
friend |
class MiPNone |
|
function |
MiP_Infrared(MiP &mip) |
Constructs the infrared manager. |
function |
void enableMiPDetectionMode(uint8_t id, uint8_t txPower) |
Enables MiP detection mode (allows detecting other MiPs via IR). |
function |
void disableMiPDetectionMode() |
Disables MiP detection mode. |
function |
bool isMiPDetectionModeEnabled() |
Checks if MiP detection mode is currently enabled. |
function |
uint8_t readDetectedMiP() |
Reads the next detected MiP event. |
function |
uint8_t availableDetectedMiPEvents() |
Returns the number of unread detected MiP events. |
function |
void enableRemoteControl() |
Enables IR remote control mode. |
function |
void disableRemoteControl() |
Disables IR remote control mode. |
function |
bool isRemoteControlEnabled() |
Checks if IR remote control mode is enabled. |
function |
void sendDongleCode(const MiPIRDongleCode &irCode, uint8_t transmitPower) |
Transmits a 2-, 3-, or 4-byte IR dongle code (fire and forget). |
function |
void sendDongleCode(uint32_t code, uint8_t length, uint8_t transmitPower) |
Transmits a variable-length IR dongle code using direct values. |
function |
MiPIRDongleCode readDongleCode() |
Reads the next received IR dongle code from the queue. |
function |
uint8_t availableCodeEvents() |
Returns the number of unread IR dongle code events. |
function |
void processEvent(uint8_t command, const uint8_t *payload, size_t length) |
|
function |
void clear() |
|
function |
void rawSetMiPDetectionMode(uint8_t id, uint8_t txPower) |
|
function |
void verifiedRemoteControl(uint8_t desiredRemoteControlMode) |
|
function |
int8_t rawGetRemoteControl(uint8_t &remoteControl) |
|
function |
void rawSetRemoteControl(uint8_t remoteControl) |
🔗 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