<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Zdravím,<br>
<br>
věřím, že by to mohlo někoho zajímat.<br>
<a class="moz-txt-link-freetext" href="http://www.esp8266.com/viewtopic.php?f=11&t=705&p=4881#p4881">http://www.esp8266.com/viewtopic.php?f=11&t=705&p=4881#p4881</a><br>
<br>
Na uvedném odkaze je firmware pro ESP8266, který v sobě implementuje
vše včetně NTP klienta. <br>
Kromě parametrů na wifi se zeptá jen na časovou zonu a pak již vraci
čas.<br>
<br>
Nov AT příkazy:<br>
<meta http-equiv="content-type" content="text/html;
charset=iso-8859-2">
<span style="color: rgb(0, 0, 0); font-family: 'Source Sans Pro',
Arial, Helvetica, sans-serif; font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 20px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
!important; float: none; background-color: rgb(255, 255, 255);">AT+CIPNTP=<offset
from GMT> , to initialize the ntp, and start syncing the time -
for example: AT+CIPNTP=2 to intialize it with GMT+2 offset.</span><br
style="box-sizing: border-box; color: rgb(0, 0, 0); font-family:
'Source Sans Pro', Arial, Helvetica, sans-serif; font-size: 14px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 20px; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">
<span style="color: rgb(0, 0, 0); font-family: 'Source Sans Pro',
Arial, Helvetica, sans-serif; font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 20px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
!important; float: none; background-color: rgb(255, 255, 255);">AT+CIPNTP?
- to get the current time, for example:<span
class="Apple-converted-space"> </span></span><br
style="box-sizing: border-box; color: rgb(0, 0, 0); font-family:
'Source Sans Pro', Arial, Helvetica, sans-serif; font-size: 14px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 20px; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">
<br style="box-sizing: border-box; color: rgb(0, 0, 0); font-family:
'Source Sans Pro', Arial, Helvetica, sans-serif; font-size: 14px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 20px; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">
<span style="color: rgb(0, 0, 0); font-family: 'Source Sans Pro',
Arial, Helvetica, sans-serif; font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 20px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
!important; float: none; background-color: rgb(255, 255, 255);">AT+CIPNTP?</span><br
style="box-sizing: border-box; color: rgb(0, 0, 0); font-family:
'Source Sans Pro', Arial, Helvetica, sans-serif; font-size: 14px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 20px; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">
<span style="color: rgb(0, 0, 0); font-family: 'Source Sans Pro',
Arial, Helvetica, sans-serif; font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 20px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
!important; float: none; background-color: rgb(255, 255, 255);">Time:
22:22:42 12/02/2014 GMT+02<br>
<br>
<br>
Jak jednoduché.<br>
<br>
Petr<br>
</span>
</body>
</html>