Typedef anjay_nidd_driver_can_recv_t

Typedef Documentation

typedef int anjay_nidd_driver_can_recv_t(anjay_nidd_driver_t *driver)

Checks if it is currently possible to receive any data from the driver.

Param driver:

Device driver context to operate on.

Return:

1 if something can be read, 0 if nothing can be read, negative value in case of error. Driver errno MUST be set to a non-zero value if the function fails.