BrightSign Object Reference Manual (FW 5.1) User Manual
Page 218
210
•
SetTimeServer(time_server As String) As Boolean (host): Sets the default time server, which is
"time.brightsignnetwork.com". You can disable the use of NTP by calling
SetTimeServer(""). You can use URL
syntax to specify that the player use an HTTP or HTTPS server to synchronize the clock. The following are valid
time server addresses:
o http://time.brightsignnetwork.com/
o https://time.brightsignnetwork.com/
o ntp://time.brightsignnetwork.com/
o time.brightsignnetwork.com
Note: The last two addresses are equivalent.
•
GetTimeServer() As String (host): Retrieves the time server currently in use.
•
SetTimeServerIntervalSeconds(interval_in_seconds As Integer) As Boolean: Specifies how
often the player should communicate with the time server and adjust its clock via NTP. The default interval is 12
hours; passing a value of
0 specifies the default interval. The minimum interval allowed is 120 seconds.
•
GetTimeServerIntervalSeconds() As Integer: Returns the current interval for NTP time-server renewal
(in seconds).
•
SetHostName(name as String) as Boolean (host): Sets the device host name. If no host name has been
explicitly set, then a host name is automatically generated based on the device serial number. Passing an empty
string to this method resets the device host name to its automatically generated value.
•
GetHostName() As String (host): Retrieves the host name currently in use.
•
SetProxy(proxy as String) As Boolean (host): Sets the name or address of the proxy server used for
HTTP and FTP requests. This should be in the form of "http://user:
:port". It can contain up to
four "*" characters, which are each replaced with one octet from the current IP address. For example, if the IP
address is currently 192.168.1.2, and the proxy is set to "proxy-*-*", then the player will attempt to use a proxy
named "proxy-192.168".
•
GetCurrentConfig() As Object: Retrieves the entire current configuration as an associative array containing
the following members: