First brush into the Aicloud 2.0 SDK file, Aicloud 2.0 specific information see Aicloud 1.0 and Aicloud 2.0 comparison app see the following QR code download.
1, an Aicloud 2.0 at firmware ai-thinker_esp8266_dout_aicloud_v0.0.0.6_20170517.7z download
Aicloud 2.0 at Firmware
Characteristics:
Aicloud 2.0 safe, stable and easy to use
Simple to use, any MCU can be directly connected
512+512map Firmware
: ai-thinker_esp8266_dout_aicloud_v0.0.0.6_20170517.7z
Updated: May 17, 2017
Update Description: 0.0.0.6 new features use
Add webconfig Delete +chello,+cioadc,+cwwpsstart,+cwwpsstop command add GPIO0 Restore Factory function (after power up 1s, pull low IO0, keep 3s, module restore production settings at+ RESTORE) build v0.0.0.6 SDK version v1.5.4.1 at Firmware with 8Mbit and 32Mbit two versions firmware for 512+512map mode
0.0.0.6 bug和补充说明:
Description: 1. Aicloud parameters of the storage sector (1MByte Flash:0xf4 0xf5 0xf6 sector, 4MByte flash:0x3f4 0x3f5 0x3f6 sector), 0.0.0.6 version of the current user1.bin& The User2.bin reached 485kb. 2.0.0.0.6 version is 512+512map final firmware, at+ciupdate stop, At+cldota will not upgrade. 3. Use the Burn tool to burn 0.0.0.6 firmware, which can be used normally. 4. For 4MByte Flash, no damage is done to the Aicloud parameter. BUG: 1. For 1MByte Flash, when upgrading to User2, the Aicloud parameter will be erased, causing the firmware to be unavailable.
2, download espressif technology flash download software and see how much you are flash
3. Select your own bin file corresponding to the Flash size click Start
Note Update the firmware library needs to pull down some pins, the specific Update method see Espressif official website "ESP8266 SDK?? Guide
4. Development mode distribution network, see Aicloud 2.0 at Development document
Note the preparation of the distribution network, At+cldstart, reply +cstate:[cloud_connected] Description succeeded (after reset)
Step 2: The device distribution network needs to be in the same router under the good, after all, it does not matter which network, as long as the Internet can control the network with the module
(Note:)
// tcp Client and UDP, supports pass-through mode. 1 ) set WIFI mode: at +cwmode=1 // set to STA mode Span style= "COLOR: #000000" > response: OK 2 ) Restart effective at +rst response: OK 3 ) Connect router at+cwjap=" Tenda333 "," 123456789 "// The SSID and password of the Connection object router response: OK 4 ) query module IPAT +CIFSR response: 192.168 . 1 . XXX
The following two ways can be used to network the device, you can choose the most suitable for you.
Method One: Use the At+cldstart command to automatically enter the distribution network status
At+rstReset module Ready at+cldstartStart the cloud service OK+cstate:[cloud_disconnected]+cstate:[AP_OK]+cstate:[Smartlink_start]+cstate:[Smartlink_finding] at+cldstate//query Cloud status +cstate:[smartlink_finding< Span class= "br0" >]ok //app click Print after distribution +cstate: [smartlink_getting]+cstate: [smartlink_linking]+cstate: [smartlink_ok]+cstate: [cloud_connecting]+cstate: [ap_station_ok]+cstate: [cloud_connected] //connection succeeded
To develop a mobile app, refer to the Aicloud Android SDK Development Guide and download
Android Tutorials
Android Development Documentation: Aicloud Android SDK Development Guide
Android Source Quick Start Guide: aicloud_v2_android_easy_use.pdf
Android Transmission Source Example: Aicloud_v2_android_source_20170316.zip
ESP8266 WiFi module configuration, Wechat+app control implementation