Searched refs:l2cap_client_t (Results 1 – 2 of 2) sorted by relevance
/system/bt/stack/include/ |
D | l2cap_client.h | 26 typedef struct l2cap_client_t l2cap_client_t; typedef 29 void (*connected)(l2cap_client_t* client, void* context); 30 void (*disconnected)(l2cap_client_t* client, void* context); 31 void (*read_ready)(l2cap_client_t* client, buffer_t* packet, void* context); 32 void (*write_ready)(l2cap_client_t* client, void* context); 46 l2cap_client_t* l2cap_client_new(const l2cap_client_callbacks_t* callbacks, 51 void l2cap_client_free(l2cap_client_t* client); 62 bool l2cap_client_connect(l2cap_client_t* client, 68 void l2cap_client_disconnect(l2cap_client_t* client); 72 bool l2cap_client_is_connected(const l2cap_client_t* client); [all …]
|
/system/bt/stack/l2cap/ |
D | l2cap_client.cc | 34 struct l2cap_client_t { struct 60 static void fragment_packet(l2cap_client_t* client, buffer_t* packet); argument 61 static void dispatch_fragments(l2cap_client_t* client); 62 static l2cap_client_t* find(uint16_t local_channel_id); 90 l2cap_client_t* l2cap_client_new(const l2cap_client_callbacks_t* callbacks, in l2cap_client_new() 107 l2cap_client_t* ret = (l2cap_client_t*)osi_calloc(sizeof(l2cap_client_t)); in l2cap_client_new() 120 void l2cap_client_free(l2cap_client_t* client) { in l2cap_client_free() 129 bool l2cap_client_connect(l2cap_client_t* client, in l2cap_client_connect() 150 void l2cap_client_disconnect(l2cap_client_t* client) { in l2cap_client_disconnect() 170 bool l2cap_client_is_connected(const l2cap_client_t* client) { in l2cap_client_is_connected() [all …]
|