Navigation: Developing Apps > BINETIX® AGE™ API > Plugins > Sytela™ > Modules > sytela_xbee
request_power/4
Description
request_power/4 is an Erlang function exported by "sytela_xbee" module.
This function requests particular device to measure the power consumption and to return the measured data back to the requester.
References
•Headers
•open/8
Parameters
Name
Type
Handle
integer()
Port handle.
Address
integer() | string()
Device address represented as integer or hexadecimal value.
Timeout
integer() > 0
Optional. Timeout in milliseconds to wait for an answer. Defaults to 100.
Delayed
integer() >= 0
Optional. Delay in milliseconds after command execution. Defaults to 0.
Result
Value or Type
any()