Skip to content
Update User Terminal authored by Jan Janak's avatar Jan Janak
......@@ -323,6 +323,6 @@ The room 'state' provides notifications of changes in the state of the PTT butto
Events emitted to the 'state' room carry a JSON object with the boolean attributes 'ptt' and 'call'. If either attribute is omitted, its value has not changed. The PTT button is depressed if the attribute 'ptt' is true and released otherwise. If the attribute 'call' is true, the terminal is in an active VoIP session with another terminal or the conference server on the base station.
## Time Synchronization State
## Clock State
The socket.io room 'timesync' on the terminal can be used to monitor the state of the NTP subsystem during an ongoing experiment. A NTP client on the user terminal periodically synchronizes the terminal's clock against the master clock on the base station. A 'change' event will be emitted to the room 'timesync' on each synchronization. The event carries a JSON object with two attributes: 'server' and 'offset'. The 'server' attribute contains the IP address of the NTP server (the base station). The attribute 'offset' provides the most recent measured time difference (in seconds) from the NTP server's time.