aboutsummaryrefslogtreecommitdiff
path: root/audio/manager.c
AgeCommit message (Collapse)Author
2009-03-12Fix audio plugin initialization failure casesJohan Hedberg
2009-03-03Update HSP version to 1.2Johan Hedberg
2009-02-25Fix headset_connect_rfcomm error return caseJohan Hedberg
2009-02-19Make use of g_io_channel_shutdown instead of deprecated g_io_channel_close.Luiz Augusto von Dentz
2009-02-19Make use of g_error_free instead of g_clear_error when possible.Luiz Augusto von Dentz
g_clear_error make an extra operation (&err = NULL) which is not necessary when the GError is not reused.
2009-02-19Convert HSP/HFP to use btio confirm_cbJohan Hedberg
2009-02-19Add missing commaJohan Hedberg
2009-02-19Make audio plugin to use BtIO API.Luiz Augusto von Dentz
2009-02-06Remove unnecessary empty lineJohan Hedberg
2009-01-08Make audio plugin to use audio_device sufix instead of device_.Luiz Augusto von Dentz
To prevent future name clashes with btd_device API.
2009-01-01Update copyright informationMarcel Holtmann
2008-12-23Removed unused functionMarcel Holtmann
2008-12-02Check if btd_device_add_uuid succeeded.Luiz Augusto von Dentz
2008-10-24Fix manager_allow_headset_connection count checkJohan Hedberg
2008-10-24Use g_clear_error(&err) instead of g_error_free(err); err = NULLJohan Hedberg
2008-10-24Limit the amount of connected HSP/HFP devices and make it configurableJohan Hedberg
It's very tricky to get the multiple connected HSP/HFP devices use case right. E.g. in the case of in-band ringtone the specification mandates us to open SCO to the HFP before sending RING indications. So, in the case of multiple connected devices we would have to open multimple simultaneous SCO connections which simply isn't a wise thing to do.
2008-10-10Make server_is_enabled simply use the config file values for nowJohan Hedberg
There's something broken in the "profile enabled" logic at the moment which makes server_is_enabled return FALSE sometimes when it shouldn't which causes the necessary interface not to be added to remote device objects. Use simply the config file values for now since we don't support per-adapter server configuration anyway.
2008-10-09Add mechanism for adding new UUIDs from the driver sideJohan Hedberg
With this patch drivers can notify the core daemon that a device supports some UUID. This is useful in case we don't have a service record for a profile which the remote device initiates a connection for.
2008-10-09Make device driver probe calls take UUID's instead of full recordsJohan Hedberg
This is preparation for allowing the device object to be correctly set up even when we don't have the full service records but only the remote UUID's.
2008-10-08Fix typoJohan Hedberg
2008-10-08Create audio device objects on incoming connections if necessaryJohan Hedberg
If we haven't done SDP yet the data structures will be uninitialized. This patch makes sure that the structures are properly initialized if we get an incoming connection before service discovery has been done.
2008-10-08Add separate function for creating new audio device objectsJohan Hedberg
This is needed in preparation of supporting remotely initated audio device pairing and connections (when we haven't done SDP to the remote device yet).
2008-10-04Change SCO server socket into a generic oneJohan Hedberg
Due to a kernel bug we can't initiate SCO connections if there's a server socket bound to the same adapter. Therefore use a global socket bound to BDADDR_ANY instead.
2008-09-10Remove unnecessary return statements from the end of void functionsJohan Hedberg
2008-09-10Add SCO server socket (needed for HFP)Johan Hedberg
2008-09-10Minor coding style fixJohan Hedberg
2008-09-09Cancels the pending request from agent side when receiving a NoReplyVinicius Costa Gomes
2008-09-08Fix a2dp and avrcp drivers to not rely on BDADDR_ANY.Luiz Augusto von Dentz
2008-09-08Remove incorrect (and premature) optimizationJohan Hedberg
2008-09-08Redefining device_get_address to take bdaddr_t as parameter.Alok Barsode
2008-09-08Redefining adapter_get_address to take bdaddr_t as parameter.Alok Barsode
2008-09-04Disallow HFP connections when the telephony plugin isn't yet initializedJohan Hedberg
2008-09-04Remove incorrect call to headset_set_state(connected) before HFP SLC is upJohan Hedberg
2008-09-04Merge branch 'for-upstream' of git://gitorious.org/bluez/aloks-cloneMarcel Holtmann
2008-09-04Add a telephony_ready callback to notify initialization completionJohan Hedberg
2008-09-04Renaming struct adapter to struct btd_adapter.Alok Barsode
2008-09-03Add telephony initialization calls to correct placesJohan Hedberg
2008-08-19Don't use L2CAP_LM_SECURE and RFCOMM_LM_SECURE for nowMarcel Holtmann
2008-08-18Remove driver.c driver.h and remove workaround for to force a symbol resolution.Luiz Augusto von Dentz
2008-08-13Fix device driver callbacks to not take driver pointer.Luiz Augusto von Dentz
2008-08-12Make audio plugin to register adapter drivers.Luiz Augusto von Dentz
2008-08-05Introduce driver.c and driver.h files.Luiz Augusto von Dentz
2008-07-29Move hcid to src directory and rename it to bluetoothdMarcel Holtmann
2008-07-28Cleanup audio manager.Luiz Augusto von Dentz
2008-06-17Fix authorization mechanism for 3.x.Luiz Augusto von Dentz
2008-06-16Remove calls to RequestAuthorization.Luiz Augusto von Dentz
2008-06-07Use g_dbus_emit_signal for sending D-Bus signalsMarcel Holtmann
2008-06-06Fix use of DBUS_HANDLER_RESULT_HANDLED.Luiz Augusto von Dentz
2008-06-06Fix the last remains of sending helpersMarcel Holtmann
2008-06-03Replace destory function with proper unregister callsMarcel Holtmann