-
Notifications
You must be signed in to change notification settings - Fork 0
MiP_WiFi
Manages MiP's WiFi capability.
Signature: uint8_t begin(const char *ssid, const char *password, const char *hostname)
Summary: Wraps WiFi.begin(). Connects to a wireless access point and loads the MPU-D1 mini with OTA programming support.
Parameters:
| Parameter | Description |
|---|---|
ssid |
The station ID. |
password |
The access point's connection password. |
hostname |
MiP's hostname on the wireless network. |
Returns: WL_CONNECTED if the connection attempt was successful, else it returns the error code from WiFi.connect().
Signature: uint8_t connect()
Summary: Wraps WiFi.connect(). While attempting to connect, MiP's eyes light up in a Knight Rider-style back-and-forth animation.
Returns: WL_CONNECTED if the connection attempt was successful, else it returns the error code from WiFi.connect().
Signature: void enableAirplaneMode()
Summary: Turns off WiFi and Bluetooth. If MiP is in app mode, which requires Bluetooth, MiP is switched to its default gesture mode.
Signature: uint8_t disableAirplaneMode()
Summary: Turns the WiFi radio on and attempts to connect to the last access point to which MiP was connected.
Returns: WL_CONNECTED if the connection attempt was successful, else it returns the error code from WiFi.connect().
🔗 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