1#ifndef _FRAME_INTERFACE_H 2#define _FRAME_INTERFACE_H 3 4#include <net_buffer.h> 5 6#include <btCoreData.h> 7 8extern net_buffer_module_info* gBufferModule; 9 10L2capFrame* 11SignalByIdent(HciConnection* conn, uint8 ident); 12 13status_t 14TimeoutSignal(L2capFrame* frame, uint32 timeo); 15 16status_t 17unTimeoutSignal(L2capFrame* frame); 18 19L2capFrame* 20SpawmFrame(HciConnection* conn, L2capChannel* channel, net_buffer* buffer, frame_type frame); 21 22L2capFrame* 23SpawmSignal(HciConnection* conn, L2capChannel* channel, net_buffer* buffer, uint8 ident, uint8 code); 24 25status_t 26AcknowledgeSignal(L2capFrame* frame); 27 28status_t 29QueueSignal(L2capFrame* frame); 30 31#endif 32