Lines Matching defs:bt_interface

33 const bt_interface_t *bt_interface;
102 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed);
106 CALL_AND_WAIT(bt_interface->start_discovery(), discovery_state_changed);
112 CALL_AND_WAIT(bt_interface->cancel_discovery(), discovery_state_changed);
117 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed);
122 int rc = bt_interface->set_adapter_property(property);
136 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed);
139 int rc = bt_interface->create_bond(&bt_remote_bdaddr, 0 /* UNKNOWN; Currently not documented :( */);
146 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed);
154 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed);
157 CALL_AND_WAIT(error = bt_interface->get_adapter_property(BT_PROPERTY_BDNAME), adapter_properties);
171 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed);
177 CALL_AND_WAIT(error = bt_interface->set_adapter_property(property), adapter_properties);
182 CALL_AND_WAIT(error = bt_interface->get_adapter_property(BT_PROPERTY_BDNAME), adapter_properties);
192 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed);
196 CALL_AND_WAIT(bt_interface->set_adapter_property(property), adapter_properties);
199 const btsock_interface_t *sock = bt_interface->get_profile_interface(BT_PROFILE_SOCKETS_ID);
224 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed);
227 const btsock_interface_t *sock = bt_interface->get_profile_interface(BT_PROFILE_SOCKETS_ID);
249 CALL_AND_WAIT(bt_interface->disable(), adapter_state_changed);
256 CALL_AND_WAIT(bt_interface->disable(), adapter_state_changed);