The Gateway type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Gateway(UInt32, eGatewayType, String, String, String, Int32) |
Presets these properties
GatewayType
GatewayFirmwareVersion
RadioFirmwareVersion
Host
Port
Sets all other properties to default values
|
|
Gateway(UInt32, eGatewayType, String, String, String, Int32, Double, Boolean, Double, Boolean, String, String, String, String, String) |
Presets these properties
GatewayType
GatewayFirmwareVersion
RadioFirmwareVersion
Host
Port
You can selectively set these properties
ReportInterval (Default: 5)
ObserveAware (Default: true)
PollInterval (Default: 0 Not Enabled)
HasUrgentTraffic (Default: false)
GatewayIP (Default: "0.0.0.0" Use DHCP)
GatewaySubnet (Default: "0.0.0.0")
DefaultRouterIP (Default: "0.0.0.0")
GatewayDNS (Default: "0.0.0.0")
SecondaryDNS (Default: "0.0.0.0")
Sets all other properties to default values
|
Methods
Name | Description | |
---|---|---|
AssignSensor |
Assign a sensor to this gateway
|
|
BatteryPercentageHelper(eGatewayBattery, Double) |
Returns an estimated percent of remaining battery based on pre-configured battery profiles
|
|
BatteryPercentageHelper(Double, Double, Double, Double, Double, Double, Double) |
Returns an estimated percent of remaining battery based on linear interpolation between defined percentage points
|
|
Equals | (Inherited from Object.) | |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
ForceConfiguration |
Force server held configurations to be sent to the gateway at the next communication cycle.
|
|
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ReformNetwork |
Informs the gateway to reform the sensor network by scanning to find an open channel then re-downloading the allowed sensor list.
|
|
RemoveSensor |
Remove a sensor assignment from this gateway
|
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
|
UpdateGatewayIP |
Update the IP information of the gateway (selected gateway types)
|
|
UpdatePollInterval |
Update the interval at which the gateway polls the server to discover if there is any urgent messages that need to be sent to the gateway.
|
|
UpdateReportInterval |
Update the interval at which the gateway reports information to the server.
|
|
UpdateServerInformation |
Update the information the gateway uses to communicate with the server
|
Properties
Name | Description | |
---|---|---|
AssignedSensors |
List of sensor ids that have been assigned to this gateway
|
|
DefaultRouterIP |
If static IP is set: This is the value of the router address the gateway will send its data through to access the Internet.
|
|
ExternalIdentifier |
Differs by gateway type. One example is the Ethernet gateway stores it's MAC Address here
|
|
GatewayDNS |
If static IP is set: This is the value of the primary DNS server used to resolve the host address of the server. If server is defined with IP Address this value is not used.
|
|
GatewayFirmwareVersion |
Tracks the version of gateway firmware. Some features are only available on certain gateway versions.
|
|
GatewayID |
Numeric Identifier of the gateway.
|
|
GatewayIP |
IP address of the gateway if applicable. Default: 0.0.0.0 will inform the gateway to use DHCP to obtain an IP Address.
|
|
GatewaySubnet |
If static IP is set: This is the value of the subnet mask of the network the gateway is operating on.
|
|
GatewayType |
Type of the gateway. Certain settings are interpreted differently for different types of gateways
|
|
HasUrgentTraffic |
Flag that indicates if the server has urgent messages to deliver to the gateway. Responds to PollInterval for use in conjunction with Control Profile
|
|
IsDirty |
Record of the last message sequence received from the gateway. Used to prevent duplicate messages from being processed from a gateway.
|
|
PollInterval |
Defines in minutes the interval at which the gateway polls the server to check if urgent traffic exists for the gateway.
|
|
Port |
Defines the port the server is listening for communication.
Default: 3000
|
|
RadioFirmwareVersion |
Tracks the version of radio firmware. Some features are only available on certain firmware versions.
|
|
ReportInterval |
Defines in minutes the interval at which the gateway communicates with the server. Unless triggered to communicate earlier, the gateway will initialize a communication cycle with the server with or without data from sensors to deliver.
|
|
SecondaryDNS |
If static IP is set: This is the value of the secondary DNS server used to resolve the host address of the server. If server is defined with IP Address this value is not used.
|
|
SendResetNetworkRequest |
Flag that indicates if the server should inform the gateway that the network should be reformed. Reforming the network consists of removing any sensors configured in the gateway, scanning and choosing a clear channel, and requesting the sensors to add back into the gateway.
|
|
ServerHostAddress |
Address of the server. This can be either a DNS resolvable host name, or an IP Address of the server.
|