Lines Matching refs:l2cap_client_t
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);
79 bool l2cap_client_write(l2cap_client_t* client, buffer_t* packet);