anjay
anjay_nidd_driver_struct Struct Reference

#include <nidd.h>

Data Fields

anjay_nidd_driver_connect_tconnect
 
anjay_nidd_driver_disconnect_tdisconnect
 
anjay_nidd_driver_system_descriptor_tsystem_descriptor
 
anjay_nidd_driver_send_tsend
 
anjay_nidd_driver_recv_trecv
 
anjay_nidd_driver_can_recv_tcan_recv
 
anjay_nidd_driver_outgoing_mtu_toutgoing_mtu
 
anjay_nidd_driver_incoming_mtu_tincoming_mtu
 
anjay_nidd_driver_error_tget_error
 
anjay_nidd_driver_free_tfree
 

Detailed Description

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.

Field Documentation

◆ can_recv

◆ connect

◆ disconnect

◆ free

◆ get_error

◆ incoming_mtu

◆ outgoing_mtu

◆ recv

◆ send

◆ system_descriptor


The documentation for this struct was generated from the following file: