33 #ifndef CA821X_GENERIC_EXCHANGE_H
34 #define CA821X_GENERIC_EXCHANGE_H
38 #define MAX_BUF_SIZE 256
ca_error exchange_handle_error(ca_error error, struct ca821x_dev *pDeviceRef)
Attempt to recover from an exchange error silently.
Definition: ca821x-generic-exchange.c:318
ca_error ca821x_exchange_commands(const uint8_t *buf, size_t len, uint8_t *response, struct ca821x_dev *pDeviceRef)
Handle an exchange with the ca821x.
Definition: ca821x-generic-exchange.c:418
void * ca821x_io_worker(void *arg)
io worker thread function.
Definition: ca821x-generic-exchange.c:393
ca_error init_generic(struct ca821x_dev *pDeviceRef)
Initialise the generic part of a pDeviceRef.
Definition: ca821x-generic-exchange.c:181
ca_error deinit_generic(struct ca821x_dev *pDeviceRef)
Deinitialise an initialised pDeviceRef struct.
Definition: ca821x-generic-exchange.c:212
Various types used by the cascoda posix api.
ca_error
Cascoda error type.
Definition: ca821x_error.h:51
CA-821x Device reference struct.
Definition: ca821x_api.h:123