Lines Matching refs:getcaps_req
883 struct bt_get_capabilities_req *getcaps_req = (void*) buf;
890 memset(getcaps_req, 0, BT_SUGGESTED_BUFFER_SIZE);
891 getcaps_req->h.type = BT_REQUEST;
892 getcaps_req->h.name = BT_GET_CAPABILITIES;
894 getcaps_req->flags = 0;
895 getcaps_req->flags |= BT_FLAG_AUTOCONNECT;
896 strncpy(getcaps_req->destination, data->address, 18);
897 getcaps_req->transport = BT_CAPABILITIES_TRANSPORT_A2DP;
898 getcaps_req->h.length = sizeof(*getcaps_req);
900 err = audioservice_send(data, &getcaps_req->h);