Java Mine
ContentsIndexHome
PreviousUpNext
Gateway.Gateway Constructor (int, eGatewayType, String, String, String, int, SecretKey)
Syntax
Java
public Gateway(int gatewayID, eGatewayType gatewayType, String gatewayFirmwareVersion, String radioFirmwareVersion, String hostAddress, int port, SecretKey presharedkey);
Parameters 
Description 
int gatewayID 
The unique identifier of a gateway  
eGatewayType gatewayType 
The type of gateway that will be created such as usb or ethernet  
String gatewayFirmwareVersion 
This is the firmware version of the gateways APN  
String radioFirmwareVersion 
This is the firmware of the radio the gateway uses to listen to sensors with  
String hostAddress 
The primary Host address the gateway will pass sensor data through  
int port 
The primary port the gateway will pass sensor data through  
SecretKey presharedkey 
allows the use of encrypted packets this key must be matched by the key on the gateway 

 

Creates a new gateway that takes a pre-shared key allowing for encryption of data packets  

 

Copyright (c) 2017. All rights reserved.
What do you think about this topic? Send feedback!