Navigation: Developing Apps > BINETIX® AGE™ API > Plugins > Sytela™ > Modules > sytela
request/3
Description
request/3 is an Erlang function exported by "sytela" module.
This function send synchronous request to the serial port and waits for response for particular timeout.
References
•Headers
•open/8
Parameters
Name
Type
Handle
integer()
Port handle.
Data
binary()
Data sequence or binary string.
Timeout
Optional. Reading timeout in milliseconds. Defaults to ?SYTELA_REQUEST_TIMEOUT.
Result
Value or Type
-
Code Sample
>