Java Mine
ContentsIndexHome
PreviousUpNext
MineServer.RegisterSensor Method
Syntax
Java
public void RegisterSensor(long gatewayID, Sensor sensor) throws Exception;

 

Adds the sensor to the servers list of valid objects @param gatewayID is the ID number assigned to the gateway @param sensor Sensor object ArgumentNullException Parameter "sensor" is null @throws java.lang.Exception There is already a sensor registered with the same sensorID, or sensorID property of sensor is not valid (Zero is not a valid sensorID)

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