rfc_packet_handler_st Struct Reference

#include <rfc.h>

Detailed Description

Structure describing a port listener for an application

Make sure that these handler run short, since they block RFC operation and might delay packet processing. In the worst case, this fills the receive buffer and incomming packets will be dropped.
It is good practice to copy received data packets or error messages in a buffer and process them from a separate thread.

Data Fields

void(* error_handler )(u_short, u_short)
 Application-handler for error message processing.
void(* packet_handler )(rfc_packet_t *)
 Application-handler for data packet processing.

Generated on Wed Apr 29 11:12:32 2009 for BTnut System Software by doxygen 1.5.1