add:mqtt连接

This commit is contained in:
Zip
2019-01-28 09:16:22 +08:00
parent 93b8c4f1f5
commit 594e112791
7 changed files with 452 additions and 5 deletions

View File

@@ -41,5 +41,5 @@ void sntp_init(void)
{
struct in_addr ipp;ipp.s_addr=0xd248912c;
sntp_set_server_ip_address (0,ipp);
sntp_start_auto_time_sync (15000, sntp_time_call_back);
sntp_start_auto_time_sync (86400000, sntp_time_call_back); //ÿСʱУ׼һ<D7BC><D2BB>
}