long tttt(void)int doCmdBlockingReceive(vscpEvent *pEvent,
uint32_t timeout = 500)
Pointer to a VSCP event that will receive the received event on success.
Timeout in milliseconds to wait for data. Default is 500 milliseconds.
CANAL_ERROR_SUCCESS on success or an error code on failure. CANAL_ERROR_FIFO_EMPTY is returned if no event was available. CANAL_ERROR_TIMEOUT on timeout. CANAL_ERROR_COMMUNICATION is returned if a socket error is detected.
Receive an event from the remote VSCP server. The receiveloop command must have been issued for this method to work as.
This document is licensed under Creative Commons BY 4.0 and can be freely copied, redistributed, remixed, transformed, built upon as long as you give credits to the author((s).