DESCRIPTON
This is an interface to the DataStorm D2 mobile satelite internet controller. It can be used to get values from the controller, as well as send the controller other commands through its telnet interface and get the results of those commands.METHODS
- new
-
Opens a connection to the D2 controller. By default connects to an IP
address as defined by d2address in the config file, or a reasonable
default, but a parameter can be passed with an IP address or hostname of
the controller to connect to.
Returns an object representing this connection.
- listvalues
- Returns a hash of known available values, where the key is the value and the hash value is a description of it. Note that this is currently a hardcoded, non-exhaustive list.
- getvalue
- Use the getvalue command to get and return a single value.