Java Mine
ContentsIndexHome
PreviousUpNext
Sensor.setMeasurementsPerTransmission Method
Syntax
Java
public void setMeasurementsPerTransmission(int measurementsPerTransmission);
Parameters 
Description 
int measurementsPerTransmission 
how many times during a heartbeat sensor should take a measurement 

 

sets how many times during the heartbeat a measurement should be taken an example would be if you have a 10 minute reportinterval and you set this value to 2 every 5 minutes a measurement will be taken and if it is in the aware state it will send the data out otherwise it will wait until the report interval to be met to send the data to the gateway.  

 

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