Navigation: Developing Apps > BINETIX® AGE™ API > Plugins > Sytela™ > Modules > sytela
request_batch/3
Description
request_batch/3 is an Erlang function exported by "sytela" module.
This function works like request/3, however, sends sequential number of requests to the serial port specified as a simple list of data sequences.
References
•Headers
•open/8
•request/3
Parameters
Name
Type
Handle
integer()
Port handle.
Batch
list(binary())
Batch of data items or binary strings.
Timeout
Optional. Reading timeout in milliseconds. Defaults to ?SYTELA_REQUEST_TIMEOUT.
Result
Value or Type
-
Code Sample
>