-
Notifications
You must be signed in to change notification settings - Fork 0
MiP_Mode
Manages MiP's modes.
Signature: MiP_Mode(MiP &mip)
Summary: Constructs the mode manager.
Parameters:
| Parameter | Description |
|---|---|
mip |
A reference to the main MiP object to access core services. |
Signature: void enableApp()
Summary: Switches MiP into App Mode.
Details:
Verified operation (command sent + state read back with retry).
Signature: void enableCage()
Summary: Switches MiP into Cage Mode.
Details:
Verified operation (command sent + state read back with retry).
Signature: void enableDance()
Summary: Switches MiP into Dance Mode.
Details:
Verified operation (command sent + state read back with retry).
Signature: void enableStack()
Summary: Switches MiP into Stack Mode.
Details:
Verified operation (command sent + state read back with retry).
Signature: void enableTrick()
Summary: Switches MiP into Trick Mode.
Details:
Verified operation (command sent + state read back with retry).
Signature: void enableRoam()
Summary: Switches MiP into Roam Mode.
Details:
Verified operation (command sent + state read back with retry).
Signature: bool isAppEnabled()
Summary: Checks if App Mode is currently active.
Returns: true if in App Mode.
Signature: bool isCageEnabled()
Summary: Checks if Cage Mode is currently active.
Returns: true if in Cage Mode.
Signature: bool isDanceEnabled()
Summary: Checks if Dance Mode is currently active.
Returns: true if in Dance Mode.
Signature: bool isStackEnabled()
Summary: Checks if Stack Mode is currently active.
Returns: true if in Stack Mode.
Signature: bool isTrickEnabled()
Summary: Checks if Trick Mode is currently active.
Returns: true if in Trick Mode.
Signature: bool isRoamEnabled()
Summary: Checks if Roam Mode is currently active.
Returns: true if in Roam Mode.
Signature: constexpr uint8_t MIP_CMD_SET_GAME_MODE
Summary: MiP protocol command bytes used by the mode subsystem.
Details:
These values are placed in the first byte of requests sent to the MiP (and appear in the corresponding responses). See the official MiP BLE Protocol for the complete list.
Signature: constexpr uint8_t MIP_CMD_GET_GAME_MODE
🔗 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