Java Mine
ContentsIndexHome
PreviousUpNext
Activity_2Base Methods

The methods of the Activity_2Base class are listed here.

 
Name 
Description 
 
This is Create, a member of class Activity_2Base. 
 
This is getData, a member of class Activity_2Base. 
 
Returns default configurations for the sensor
@param version The version of the Sensor @param platform The Firmware Generation of your device. i.e. Commercial, Alta, Wifi @return Default configurations for the sensor 
 
This is getProfileType, a member of class Activity_2Base. 
 

Allows for the update of the specific type of sensor. @param sens the Sensor object to be updated @param heartBeat How often the sensor communicates with the gateway if no activity recorded. @param awareStateHeartBeat How often the sensor communicates with the gateway while in Aware State. @param failedTransmissionsBeforeLinkMode The number of transmissions the sensor sends without response from a gateway before it goes to battery saving link mode. In link mode the sensor will scan for a new gateway and if not found will enter battery saving sleep mode for 2 hours before trying to scan again. Lower number will... more 
 

sets all data for the GeneralConfig1 configuration available on the sensor @param sens the Sensor object to be updated @param heartBeat a double value this is the ReportInterval and is represented in minutes so if heart beat equals 1 that is one minute @param activeStateInterval a double value this is the aware state heart beat represented in minutes so aware state heart beat equals 1 that is one minute. @param transmitIntervalLink How often the sensor attempts to re-link with a gateway once it goes into link mode. Values below 12 are interpreted as hours. values above 12 are interpreted as... more 
 

sets all data for the GeneralConfig2 configuration available on the sensor @param sens the Sensor object to be updated @param recovery Once the recovery count is reached, the sensor will go to link mode and begin scanning channels and trying to find a gateway to join @param sendSensorUpdate a Boolean flag that lets the sensor know if it should send up the new configuration 
 

sets the ReportInterval as minutes on the sensor object the next time this sensor checks in it will update @param sens the Sensor object to be updated @param heartbeat a double value this is represented in minutes so heartbeat equals 1 that is one minute @param sendSensorUpdate a Boolean flag that lets the sensor know if it should send up the new configuration 
Copyright (c) 2022. All rights reserved.
What do you think about this topic? Send feedback!