-->
Page 1 of 1

Help using sdk

PostPosted: Wed Jan 28, 2015 9:44 pm
by Zachzhao
Is there a good, simple and English tutorial on programming the sdk? I am a noob in programming and I cannot understand the programming guide. :cry:

Re: Help using sdk

PostPosted: Thu Jan 29, 2015 3:58 am
by Athena
IOT_Demo
user_main.c - all start from user_init
user_esp_platform.c - ESP8266 as a TCP client to connect Espressif Cloud and communicate with the cloud
user_devicefind.c - ESP8266 create UDP listening, so it with response the UDP broadcast "Are You Espressif IOT Smart Device?"
user_webserver.c - ESP8266 create a TCP server, phone can connect to ESP8266 as a TCP client and communicate with it..
user_config.h - define three devices , enable one of them and test
#define PLUG_DEVICE 0
#define LIGHT_DEVICE 1
#define SENSOR_DEVICE 0

There are also some user starter guide on Espressif BBS
http://bbs.espressif.com/viewforum.php?f=21

Re: Help using sdk

PostPosted: Fri Jan 30, 2015 4:13 pm
by Zachzhao
Is there a simple guide that explains how to use the functions and the constants?