P30
UDP commands
UDP Programmers Guide V2.01
28
© KEBA
3.2.11
UDP command: setdatetime
The charging station tries to set its date and time via an NTP time server. If
the device cannot access an NTP time server the “started” time in
report
100
will contain the same information as “started [s]”. A reason for not setting
the time stamp via NTP time sever could be that the charging station has no
internet connection.
If P30 x-series is used, the time stamp will be provided by the XPU. With the
UDP command
setdatetime
it is possible to set a date and a time for the
charging station. Depending on how and when the time stamp was set, it
can be distinguished between how trustworthy the time stamp is.
Strong synced time:
●
time was synced within 4320 minutes (3 days) via NTP
●
time was synced within 4320 minutes (3 days) via OCPP
●
time was synced within 4320 minutes (3 days) via PROXY
Weak synced time
●
time was synced via web interface
●
time was synced via UDP
●
time was not synced within 4320 minutes (3 days) via NTP
●
time was not synced within 4320 minutes (3 days) via OCPP
●
time was not synced within 4320 minutes (3 days) via PROXY
Not synced time
●
time was set via start of the system on the build time
The time quality (“timeQ”) can be found in
report 1
and
report 1xx
.
Command structure
Command
Parameters
Additional Description
setdatetime
[s]
[s]: seconds
Unix epoch time (e.g. 1497944434)
Reply structure
Field
Contents
Additional Description
-
TCH-OK: done
Generic confirmation message
Example
●
Vehicle is charging.