Receive and send data from/o network. To read/write data, see streams methods.
Blocks until a frame is received and processed, and at least a stream has available data.
If several frames has been received since last wait_frame/wait_during, all of them are processed.
streams, if not NULL, will be set to the list of streams with incomming data available. its lifespan is the same as the context, but you can safely call ed247_stream_list_free().
- Parameters
-
| [in] | context | Context identifier |
| [out] | streams | List of streams that received samples, can be NULL |
| [in] | timeout_us | Timeout value, in microseconds |
- Return values
-
| ED247_STATUS_SUCCESS | |
| ED247_STATUS_FAILURE | |
| ED247_STATUS_TIMEOUT | |
Blocks until duration is elapsed. Processing all received frames.
streams, if not NULL, will be set to the list of streams with incomming data available. its lifespan is the same as the context, but you can safely call ed247_stream_list_free().
- Parameters
-
| [in] | context | Context identifier |
| [out] | streams | List of streams that received samples, can be NULL |
| [in] | duration_us | Duration value, in microseconds |
- Return values
-
| ED247_STATUS_SUCCESS | |
| ED247_STATUS_FAILURE | |
Send the samples that were written and pushed.
See also :
This function clear send stacks.
- Parameters
-
| [in] | context | Context identifier |
- Return values
-
| ED247_STATUS_SUCCESS | |
| ED247_STATUS_FAILURE | |