
21. High-level API Reference
Builds a list of all data streams hold by the data logger (legacy method).
Returns the error message of the latest error with the data logger.
Returns the numerical error code of the latest error with the data logger.
Returns a global identifier of the data logger in the format
MODULE_NAME.FUNCTION_NAME
.
Returns a unique identifier of type
YFUN_DESCR
corresponding to the function.
Returns the hardware identifier of the data logger, without reference to the module.
Returns the unique hardware identifier of the data logger in the form
SERIAL.FUNCTIONID
.
Returns the logical name of the data logger.
Gets the
YModule
object for the device on which the function is located.
callback
,
context
)
Gets the
YModule
object for the device on which the function is located (asynchronous version).
Returns the current activation state of the data logger.
Returns the Unix timestamp for current UTC time, if known.
Returns the value of the userData attribute, as previously stored using method
set_userData
.
isOnline()
Checks if the data logger is currently reachable, without raising any error.
callback
,
context
)
Checks if the data logger is currently reachable, without raising any error (asynchronous version).
msValidity
)
Preloads the data logger cache with a specified validity duration.
attrName
)
Returns the current value of a single function attribute, as a text string, as quickly as possible but without using
the cached value.
msValidity
,
callback
,
context
)
Preloads the data logger cache with a specified validity duration (asynchronous version).
Disables the propagation of every new advertised value to the parent hub.
Continues the enumeration of data loggers started using
yFirstDataLogger()
.
callback
)
Registers the callback function that is invoked on every change of advertised value.
newval
)
Changes the default activation state of the data logger on power up.
newval
)
www.yoctopuce.com
415
Summary of Contents for Yocto-RangeFinder
Page 1: ...Yocto RangeFinder User s guide...
Page 2: ......
Page 18: ...12 www yoctopuce com...
Page 26: ...20 www yoctopuce com...
Page 42: ...36 www yoctopuce com...
Page 70: ...gcc lyocto lm lpthread lusb 1 0 lstdc 10 Using Yocto RangeFinder with C 64 www yoctopuce com...
Page 90: ...84 www yoctopuce com...
Page 120: ...114 www yoctopuce com...
Page 130: ...124 www yoctopuce com...
Page 484: ...478 www yoctopuce com...
Page 488: ...482 www yoctopuce com...
Page 490: ...23 Characteristics 484 www yoctopuce com...
Page 491: ......
Page 492: ......