22 #ifndef FPC_COM_CHAIN_H 23 #define FPC_COM_CHAIN_H 60 bool *free_data,
void *context);
66 uint32_t (*crc_calc)(uint32_t start,
const void *data, uint32_t size);
77 uint16_t (*app_overhead_get)(uint16_t *offset);
79 uint16_t app_packet_size[2];
81 uint16_t app_mtu_size[2];
83 uint8_t *app_mtu_buffer[2];
95 uint16_t (*tsp_overhead_get)(uint16_t *offset);
103 uint16_t (*link_overhead_get)(uint16_t *offset);
119 uint16_t phy_mtu_size[2];
121 uint8_t *phy_mtu_buffer[2];
Communication result type definitions.
Application Command Packet.
fpc_com_chain_dir_t
Communication chain direction type.
void * session
User session pointer. User private stuff, to be able to pass necessary info from the layer that calls...
void * context
User context pointer. User private stuff, to be able to pass nessecary context to argument_allocator ...
fpc_com_channel_t channel
fpc_hcp_packet_t * hcp_packet
fpc_com_chain_private_t private_vars
uint16_t fpc_com_channel_t
Host Communication Protocol common type definitions.
Communication packet type definitions.