NTP
ntp.enabled
Abbreviation
nt e
Access
get/set
Description
Enable/disable synchronization of local time with network time.
See Networking and Security, NTP Client .
Arguments
1|true|on/0|false|off
where
-
0
orfalse
oroff
: disabled -
1
ortrue
oron
: enabled
Default
1
Platforms
- WGM160P
Properties
Gecko OS Plugin
Get example
> get nt e
R000003
1
Set example
> set nt e off
R000008
Set OK
ntp.interface
Abbreviation
nt f
Access
get/set
Description
Specify the network interface used by NTP feature.
See Networking and Security, NTP Client .
Arguments
default/wlan/ethernet
where:
-
<default>
means use the interface specified in network.default_interface .
Default
default
Platforms
- WGM160P
Properties
Gecko OS Plugin
Get example
> get nt f
wlan
Set example
> set nt f ethernet
R000008
Set OK
ntp.interval
Abbreviation
nt i
Access
get/set
Description
The synchronization interval used when updating local time with network time.
See Networking and Security, NTP Client .
Arguments
<seconds>
Default
3600
Platforms
- WGM160P
Properties
Gecko OS Plugin
Get example
> get nt i
R000006
3600
Set example
> set nt i 14400
R000008
Set OK
ntp.server
Abbreviation
nt s
Access
get/set
Description
The IP address or host name of the NTP server used to obtain network time.
See Networking and Security, NTP Client .
Arguments
<IP address / host name>
Default
pool.ntp.org
Platforms
- WGM160P
Properties
Gecko OS Plugin
Get example
> get nt s
R000014
pool.ntp.org
Set example
> set nt s 203.26.72.7
R000008
Set OK