at指令AT+SYSTIMESTAMP?查询时间,返回的长度是一样的吗?

Moderator: ESP_XCGuang

fst202130609
Posts: 171
Joined: Thu Sep 23, 2021 10:03 am

at指令AT+SYSTIMESTAMP?查询时间,返回的长度是一样的吗?

Postby fst202130609 » Wed Mar 09, 2022 2:31 am

AT+SYSTIMESTAMP=1565853509 //2019-08-15 15:18:29 我担心如果返回的长度不一样,我没办法上传时间

fst202130609
Posts: 171
Joined: Thu Sep 23, 2021 10:03 am

Re: at指令AT+SYSTIMESTAMP?查询时间,返回的长度是一样的吗?

Postby fst202130609 » Wed Mar 09, 2022 2:53 am

我用这个AT+CIPSNTPTIME? 返回的长度不是固定的?
+CIPSNTPTIME:Wed Mar 9 10:51:32 2022
+CIPSNTPTIME:Tue Oct 19 15:17:56 2021

ESP_Sun
Posts: 326
Joined: Thu Dec 30, 2021 9:52 am

Re: at指令AT+SYSTIMESTAMP?查询时间,返回的长度是一样的吗?

Postby ESP_Sun » Fri Apr 08, 2022 10:19 am

有关 asctime 时间的定义请见 asctime man page(https://linux.die.net/man/3/asctime)。

Who is online

Users browsing this forum: No registered users and 29 guests