MAi.setWifi()
mAi.setWifi(char* ssid, char* pwd)
描述 setWifi()函数用于设置MicroAI加入指定WiFi
参数
实例 发送ssid与password至MicroAI模块并以此连接WiFi #define WIFI_SSID "ssid"
#define WIFI_PWD "password"
if(mAi.setWifi(WIFI_SSID, WIFI_PWD)){
Serial.println("set wifi ssid and password OK!");
}
|