Home
last modified time | relevance | path

Searched refs:l2cap_client_t (Results 1 – 2 of 2) sorted by relevance

/system/bt/stack/include/
Dl2cap_client.h26 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/
Dl2cap_client.cc33 struct l2cap_client_t { struct
59 static void fragment_packet(l2cap_client_t* client, buffer_t* packet); argument
60 static void dispatch_fragments(l2cap_client_t* client);
61 static l2cap_client_t* find(uint16_t local_channel_id);
89 l2cap_client_t* l2cap_client_new(const l2cap_client_callbacks_t* callbacks, in l2cap_client_new()
106 l2cap_client_t* ret = (l2cap_client_t*)osi_calloc(sizeof(l2cap_client_t)); in l2cap_client_new()
119 void l2cap_client_free(l2cap_client_t* client) { in l2cap_client_free()
128 bool l2cap_client_connect(l2cap_client_t* client, in l2cap_client_connect()
148 void l2cap_client_disconnect(l2cap_client_t* client) { in l2cap_client_disconnect()
168 bool l2cap_client_is_connected(const l2cap_client_t* client) { in l2cap_client_is_connected()
[all …]