-
Notifications
You must be signed in to change notification settings - Fork 0
MiPIRDongleCode
Represents a 2-, 3-, or 4-byte IR dongle code.
Encapsulates up to a 32-bit integer IR code payload alongside the number of valid bytes (2, 3, or 4) contained within the code.
Signature: MiPIRDongleCode()
Summary: Constructs an uninitialized/invalid MiPIRDongleCode instance.
Details:
Sets default code to 0xFFFFFFFF and length to 0.
Signature: MiPIRDongleCode(uint32_t c, uint8_t l)
Summary: Constructs a MiPIRDongleCode instance with a specified code value and length.
Parameters:
| Parameter | Description |
|---|---|
c |
The raw numerical IR code value (up to 32 bits). |
l |
The number of valid payload bytes (2, 3, or 4). |
Signature: bool isValid() const
Summary: Checks whether the struct holds a valid IR dongle code length.
Returns: true if length is between 2 and 4 bytes inclusive, false otherwise.
Signature: uint32_t code
Summary: Up to 32-bit IR code value.
Signature: uint8_t length
Summary: Number of valid code bytes (2, 3, or 4).
- 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