anjay
|
#include <nidd.h>
An abstract device driver definition.
Implementation of a device driver uses this structure as its base. User may implement a custom driver for any device, e.g. AT modem by providing their own device driver methods implementation.
NOTE: Example implementation is provided by the at_nidd module.
anjay_nidd_driver_can_recv_t* can_recv |
anjay_nidd_driver_connect_t* connect |
anjay_nidd_driver_disconnect_t* disconnect |
anjay_nidd_driver_free_t* free |
anjay_nidd_driver_error_t* get_error |
anjay_nidd_driver_incoming_mtu_t* incoming_mtu |
anjay_nidd_driver_outgoing_mtu_t* outgoing_mtu |
anjay_nidd_driver_recv_t* recv |
anjay_nidd_driver_send_t* send |
anjay_nidd_driver_system_descriptor_t* system_descriptor |