Searched refs:getcaps_req (Results 1 - 2 of 2) sorted by relevance

/external/bluetooth/bluez/audio/
H A Dliba2dp.c886 struct bt_get_capabilities_req *getcaps_req = (void*) buf; local
893 memset(getcaps_req, 0, BT_SUGGESTED_BUFFER_SIZE);
894 getcaps_req->h.type = BT_REQUEST;
895 getcaps_req->h.name = BT_GET_CAPABILITIES;
897 getcaps_req->flags = 0;
898 getcaps_req->flags |= BT_FLAG_AUTOCONNECT;
899 strncpy(getcaps_req->destination, data->address, 18);
900 getcaps_req->transport = BT_CAPABILITIES_TRANSPORT_A2DP;
901 getcaps_req->h.length = sizeof(*getcaps_req);
[all...]
/external/bluetooth/bluez/test/
H A Dipctest.c300 struct bt_get_capabilities_req getcaps_req; member in union:__anon724
309 msg.getcaps_req.h.type = BT_REQUEST;
310 msg.getcaps_req.h.name = BT_GET_CAPABILITIES;
311 msg.getcaps_req.h.length = sizeof(msg.getcaps_req);
313 strncpy(msg.getcaps_req.destination, u->address,
314 sizeof(msg.getcaps_req.destination));
315 msg.getcaps_req.transport = u->transport;
316 msg.getcaps_req.flags = BT_FLAG_AUTOCONNECT;
318 if (service_send(u, &msg.getcaps_req
[all...]

Completed in 313 milliseconds