当设备端连接网络,注册成功后,可以正常运行。怎样定时从服务器读取北京时间?
/***
* @desc: Get alink time. The SDK sync with server every 30 minutes
* or anytime if SDK is notified by the server if the timestamp is out order.
* @para: None
* @retc: utc time, the number of seconds since Epoth.
*/
unsigned int alink_get_time(void);
这个函数要转换比较麻烦。
ESP8266_RTOS_ALINK_DEMO怎样获取服务器时间(不是UTC)?
Who is online
Users browsing this forum: No registered users and 294 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.