-
Notifications
You must be signed in to change notification settings - Fork 0
MiP_Wifi
Manages WiFi network connections, mDNS hostname broadcasting, Over-The-Air (OTA) updates, and telnet debug streaming for MiP.
Signature: void begin(const char *ssid, const char *password, const char *hostname="MiP")
Summary: Initializes WiFi network connection and starts network background services.
Details:
Connects to the specified Access Point using ssid and password, configures mDNS host broadcasting using hostname, initializes ArduinoOTA handlers for wireless firmware flashing, and starts the telnet debug server.
Parameters:
| Parameter | Description |
|---|---|
ssid |
Name of the target WiFi Access Point network. |
password |
Password for the target WiFi network. |
hostname |
Hostname broadcast on the network via mDNS and telnet (default: "MiP"). |
Signature: void end()
Summary: Disconnects from the WiFi network and shuts down network services.
Details:
Stops the telnet debug server, terminates active connections, and shuts down the ESP8266 WiFi radio hardware.
Signature: void handle()
Summary: Processes pending network events, OTA updates, and telnet communications.
Details:
Must be called periodically inside the sketch loop() function to maintain network background tasks, process incoming OTA flash requests, and handle telnet client input.
Signature: bool isConnected() const
Summary: Checks whether MiP's network controller is currently connected to a WiFi Access Point.
Returns: true if connected and assigned an IP address, false otherwise.
Signature: IPAddress localIP() const
Summary: Returns the local IP address assigned to MiP's network controller.
Returns: IPAddress Local network IP address.
🔗 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