移远EC20 获取基站时间来给终端对时
第一节 EC20 手册说明
复制代码
1
2
3
4
5
6
7
8
9
10
11AT +CCLK 该命令用来获取模组的系统时间。 <time> String type value, format is “yy/MM/dd,hh:mm:ss±zz”, indicate year (two last digits), month, day, hour, minutes, seconds and time zone (indicates the difference, expressed in quarters of an hour, between the local time and GMT; range -48...+56). E.g. May 6th, 1994, 22:10:00 GMT+2 hours equals to “94/05/06,22:10:00+08”. Example AT+CCLK? //Query the local time +CCLK: “08/01/04,00:19:43+00” OK
复制代码
1
2
3
4
5
6
7AT+CTZU automatic time zone update Set command enables and disables automatic time zone update via NITZ. The configuration is stored to NV automatically. <onoff> Integer type, indicates the mode of automatic time zone update 0 Disable automatic time zone update via NITZ. 1 Enable automatic time zone update via NITZ
测试结果
复制代码
1
2
3
40142 串口A: ASCII字符: AT+CTZU=1 AT+CTZU=1 OK 0143 串口A: ASCII字符: AT+CCLK? AT+CCLK? +CCLK: "20/03/19,07:15:16+32" OK 我们可以看到时间已经拿到,后面的+32的意思是由与按1/4分区时来设计。32 其实等于8,也就是东8区
最后
以上就是虚拟毛衣最近收集整理的关于移远EC20 获取基站时间来给终端对时移远EC20 获取基站时间来给终端对时的全部内容,更多相关移远EC20内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复