Commit Graph

1750 Commits

Author SHA1 Message Date
Luiz Augusto von Dentz
d661010f0d Minor fixes to alsa plugin. 2007-08-14 22:47:33 +00:00
Johan Hedberg
6a069310ac Reset sink->c before calling get_config to avoid EBUSY 2007-08-14 19:59:40 +00:00
Johan Hedberg
331b4149a0 Don't call a alsa callback from inside a alsa callback 2007-08-14 19:59:09 +00:00
Johan Hedberg
98a002b710 Cleanup the sbc codec when the plugin is deinitialized 2007-08-14 17:25:35 +00:00
Luiz Augusto von Dentz
afc2f9e31b Fix use of bluetooth_hw_params for a2dp device. 2007-08-14 16:49:05 +00:00
Johan Hedberg
6e2276373f Also call stream state callback in error situations 2007-08-14 11:03:24 +00:00
Johan Hedberg
fe09651ef6 Rename pending_connect struct to something more accurate to its usage 2007-08-13 21:43:30 +00:00
Johan Hedberg
ca36a9c81a Fix error checking order in sink_get_config 2007-08-13 21:16:55 +00:00
Johan Hedberg
ab81dc1b10 Don't perform any additional actions if not the initiator of a stream 2007-08-13 20:33:35 +00:00
Johan Hedberg
a87207e7f3 Add extra error log to sink_get_config 2007-08-13 20:07:18 +00:00
Johan Hedberg
f1a26f036b Handle unix client disconnect properly before we have received a configuration message 2007-08-13 19:59:52 +00:00
Johan Hedberg
bc37b7850f Add some error checks to sink_get_config 2007-08-13 19:52:01 +00:00
Johan Hedberg
5b5cfaadb3 Implement support for incoming Start command 2007-08-13 19:14:26 +00:00
Johan Hedberg
f0305ee7aa Update API description 2007-08-13 18:28:06 +00:00
Luiz Augusto von Dentz
8f0de90a8f Fix RemoveDevice bug that prevent its removal from storage. 2007-08-13 17:16:12 +00:00
Marcel Holtmann
6e1dd6ef0f Fix compilation of debug only sections 2007-08-13 10:32:27 +00:00
Johan Hedberg
c2833e263d Remove ifndef protections and includes from .h files 2007-08-13 08:14:22 +00:00
Johan Hedberg
d013a1eaa7 Clean up mess with header files 2007-08-12 23:58:15 +00:00
Johan Hedberg
f9d8837aba All local SEP callbacks need a avdtp session parameter 2007-08-12 22:43:14 +00:00
Johan Hedberg
b7e278c688 Clean up protocol structs 2007-08-12 22:31:51 +00:00
Johan Hedberg
f817fefff6 Implement proper acceptor side functionality 2007-08-12 21:34:50 +00:00
Johan Hedberg
fb58bd1b24 Fix set_configuration reject response error codes 2007-08-12 17:03:11 +00:00
Johan Hedberg
ffdc158c69 Fix set_configuration command error checking 2007-08-12 16:57:34 +00:00
Johan Hedberg
6b51b1ff24 Fix set_configuration reject response 2007-08-12 16:36:13 +00:00
Johan Hedberg
05f4ffa361 Fix DISCOVER_CMD response 2007-08-12 16:30:35 +00:00
Johan Hedberg
a68d448170 avdtp_unref improvements 2007-08-12 14:39:47 +00:00
Johan Hedberg
0e46105aa4 Remove incorrect dbus_message_unref (pending_connect_free takes care of it already) 2007-08-12 13:31:27 +00:00
Johan Hedberg
b775db77fe l2cap_connect doesn't have to call finalize_discovery as the caller takes care of it (when getting a failure return value) 2007-08-12 13:11:19 +00:00
Johan Hedberg
fa90ffdf3e Fix (yet again) refcounting. 2007-08-12 01:33:26 +00:00
Johan Hedberg
ff7907b68b Update CreateDevice method to only take one parameter 2007-08-11 23:59:24 +00:00
Johan Hedberg
9928a07a99 avdtp_get_internal should not increase the refcount 2007-08-11 22:04:43 +00:00
Johan Hedberg
2edfb968d9 Fix resolving local bdaddr for incoming connections 2007-08-11 20:43:21 +00:00
Johan Hedberg
9494c146ce Remove redundant stream fd from config response 2007-08-11 15:52:27 +00:00
Johan Hedberg
c1761757df Get rid of some valgrind warnings caused by hci_get_route(NULL) calls 2007-08-11 15:11:13 +00:00
Johan Hedberg
1b9bcb5ed4 Ensure that transport channels get disconnected before the signalling channel 2007-08-11 14:19:51 +00:00
Johan Hedberg
37b86c3b3b Implement support for receiving the Close command 2007-08-11 13:02:10 +00:00
Marcel Holtmann
36a07968fc Create objects for default device and sink 2007-08-11 12:56:42 +00:00
Johan Hedberg
d317144c04 Fix avdtp session reference counting 2007-08-11 12:18:22 +00:00
Johan Hedberg
6763ebb3c2 Integrate A2DP work from Johan's and Luiz's GIT trees 2007-08-11 11:05:24 +00:00
Johan Hedberg
e929f72c17 Add files for A2DP specific code 2007-08-01 19:37:08 +00:00
Johan Hedberg
8fb78ad3b3 Fix NotAvailable error return 2007-07-25 12:57:45 +00:00
Johan Hedberg
6eb1dc5328 Add first files for to start A2DP implementation 2007-07-23 15:43:32 +00:00
Johan Hedberg
c5acbd150f Fix typo in previous coding style fix 2007-07-23 15:41:43 +00:00
Johan Hedberg
30a072da30 Small coding style fixes 2007-07-23 13:00:21 +00:00
Johan Hedberg
45164afdd7 Remove non-critical error print 2007-07-23 09:43:41 +00:00
Luiz Augusto von Dentz
ac9481b7ad Move server registration and sdp record code from gateway to manager. 2007-07-20 18:03:20 +00:00
Johan Hedberg
788c58f5a9 Don't try to process data if g_io_channel_read failed 2007-07-19 11:45:49 +00:00
Johan Hedberg
06455ab12f Minor coding style fixes 2007-07-19 11:28:42 +00:00
Luiz Augusto von Dentz
7c386bc929 Fix disable_hfp and add human readable string for states. 2007-07-18 18:25:13 +00:00
Luiz Augusto von Dentz
a96cee3d98 Fix loading default device from every adapter present and devices that are was previous loaded. 2007-07-10 18:10:35 +00:00
Luiz Augusto von Dentz
66d48b0ac2 Code cleanup. 2007-07-10 13:34:57 +00:00
Luiz Augusto von Dentz
df235d1f39 Handle state machine in a better way and add disconnect code for plugin. 2007-06-29 23:19:36 +00:00
Luiz Augusto von Dentz
b57f22a505 Fix concurrent pending connections, properly checks state machine and lot of code cleanup. 2007-06-29 19:49:47 +00:00
Luiz Augusto von Dentz
389d6a32fa Revert changes on storage, rfcomm might change over time. 2007-06-27 18:31:08 +00:00
Luiz Augusto von Dentz
2a2c204cd0 Make storage to also save rfcomm channel, minor fixes to alsa plugin and fixes for service shutdown. 2007-06-27 17:03:07 +00:00
Luiz Augusto von Dentz
c205cc8890 Make headset also connect rfcomm when it demands, remove asserts and some code cleanups. 2007-06-27 16:58:19 +00:00
Marcel Holtmann
0a3d6e8998 Fixing the default device selection 2007-06-23 19:29:13 +00:00
Marcel Holtmann
32274fc77d Handle systems without a default headset 2007-06-23 18:57:42 +00:00
Luiz Augusto von Dentz
2cc84f0986 Fix storage code. 2007-06-23 18:21:23 +00:00
Marcel Holtmann
1af3ab2127 Don't load stored devices 2007-06-23 00:17:30 +00:00
Marcel Holtmann
ebe177dc2e Fix default config settings 2007-06-23 00:08:02 +00:00
Marcel Holtmann
1a03aad914 Add storage support and fixup messed up coding style 2007-06-22 23:50:24 +00:00
Luiz Augusto von Dentz
22dd53fe6e Update build to make use of newly create files. 2007-06-22 20:58:12 +00:00
Luiz Augusto von Dentz
8636ace20a Add audio gateway files that implements org.bluez.audio.Gateway interface. 2007-06-22 20:40:17 +00:00
Luiz Augusto von Dentz
6e1e8ebc4a Add new files error.{c,h} so erros can be cleanly accessed in others files. 2007-06-22 20:33:51 +00:00
Luiz Augusto von Dentz
a53371133f Add device files that implements org.bluez.audio.Device interface. 2007-06-22 20:30:35 +00:00
Marcel Holtmann
d42edde611 Remove wrongly committed files 2007-06-22 20:09:09 +00:00
Luiz Augusto von Dentz
1ad4df62d7 Merge changes from git://git.infradead.org/users/vudentz/bluez-utils.git. 2007-06-22 19:47:53 +00:00
Luiz Augusto von Dentz
eb0899c1c7 Make deprecated headset methods to rely on new device methods. 2007-06-18 21:08:35 +00:00
Brad Midgley
7318cfb762 better messages to figure out why combo set fails 2007-06-18 00:50:40 +00:00
Johan Hedberg
7284382ac0 Add Headset gain control methods 2007-06-16 14:34:34 +00:00
Luiz Augusto von Dentz
5ed2a3ba74 Initial support for audio control plugin and some code cleanups. 2007-06-14 20:36:26 +00:00
Luiz Augusto von Dentz
f6ca761e65 Code cleanup. 2007-06-13 21:58:30 +00:00
Marcel Holtmann
e5b89a347b Don't install audio.conf file 2007-06-13 07:27:53 +00:00
Johan Hedberg
9dc2cfaca6 Set default config values to what currently works 2007-06-13 06:47:32 +00:00
Johan Hedberg
3f171de317 Refuse to pass SCO socket to alsa if PCM SCO routing is configured 2007-06-13 06:23:08 +00:00
Luiz Augusto von Dentz
35b7eb29ee Correct block size in alsa plugin. 2007-06-12 23:02:30 +00:00
Luiz Augusto von Dentz
c6136c5705 Some fixes for alsa plugin. 2007-06-12 14:58:03 +00:00
Brad Midgley
d983837c15 take out extra setsockopt 2007-06-12 13:49:28 +00:00
Marcel Holtmann
645b2dbd1f Mark some methods and signals as experimental 2007-06-12 08:36:06 +00:00
Johan Hedberg
e703434f83 Cleanup 2007-06-12 06:43:16 +00:00
Johan Hedberg
c1fe207c20 Fix triggering an assert if the SCO connect callback gets triggered on the
same mainloop iteration as the RFCOMM disconnect callback.
2007-06-12 06:39:40 +00:00
Luiz Augusto von Dentz
ddf8edc54d Fix file descriptor passing. 2007-06-11 23:26:24 +00:00
Johan Hedberg
1ec7d98bba Remove ring timer when a headset gets disconnected 2007-06-11 12:16:51 +00:00
Marcel Holtmann
82a2b31aea Add audio service test script 2007-06-11 07:42:56 +00:00
Johan Hedberg
9217b7d4f8 Code cleanup 2007-06-09 06:26:01 +00:00
Brad Midgley
019dd58ff8 backward compatible to old sco patch 2007-06-08 17:23:29 +00:00
Johan Hedberg
d95acb8152 More cleanup 2007-06-07 12:33:56 +00:00
Johan Hedberg
00c71248e7 Major cleanup after importing code from plugz 2007-06-07 12:26:17 +00:00
Johan Hedberg
16441b2106 Fix whitespace 2007-06-07 08:18:58 +00:00
Johan Hedberg
8acc6d7b78 Fix CreateHeadset to behave properly if an existing object was found 2007-06-07 08:09:57 +00:00
Luiz Augusto von Dentz
f1a8e719f5 Some fixes for audio code prototype. 2007-06-06 17:58:19 +00:00
Johan Hedberg
e47ffdb86e Fix passing the right parameter to hs_disconnect 2007-06-06 10:11:06 +00:00
Johan Hedberg
d951ee9dae Add more HFP support 2007-06-06 09:35:31 +00:00
Johan Hedberg
60e90bcc4d Another minor fix 2007-06-06 09:24:37 +00:00
Johan Hedberg
fa8443140b Some cleanup of asserts and error handling 2007-06-06 09:19:25 +00:00
Johan Hedberg
77c1d7b9ca Properly handle a SCO connect() succeeding on the first try 2007-06-06 09:12:42 +00:00
Johan Hedberg
d61880a2d8 Cleanup 2007-06-06 08:36:35 +00:00
Luiz Augusto von Dentz
8742ce7c3e Experiemental code for alsa plugin and ipc. 2007-06-05 22:44:36 +00:00
Luiz Augusto von Dentz
6e1999d1dd Revert acidental commit. 2007-06-04 22:04:25 +00:00
Luiz Augusto von Dentz
a551604373 Add experiemental code for audio service ipc. 2007-06-04 22:03:21 +00:00
Johan Hedberg
f63a68d621 Fix FindDeviceByAddress API description 2007-06-04 10:32:57 +00:00
Johan Hedberg
729824372e Implement Manager.FindDeviceByAddress method 2007-06-04 10:30:45 +00:00
Johan Hedberg
b3a5bafbf9 Only call headset_free if the device actually has headset support 2007-05-31 14:09:04 +00:00
Johan Hedberg
814aed96a2 Add support for configuration file 2007-05-31 12:51:49 +00:00
Johan Hedberg
06e91735ba Fix typo 2007-05-31 11:48:02 +00:00
Johan Hedberg
a359e4becf Return error if no audio related services were found in a remote device 2007-05-31 11:47:29 +00:00
Johan Hedberg
49f901927e Disable HFP support for now (since it's incomplete) 2007-05-31 09:30:23 +00:00
Johan Hedberg
04efa14f48 Bring the audio code up-to-date with the current API spec 2007-05-31 09:23:17 +00:00
Johan Hedberg
11f21abbc2 Update API descriptions to match current plan 2007-05-30 08:40:21 +00:00
Johan Hedberg
eb5c0bd71f Use global D-Bus connection for SDP transaction 2007-05-28 10:32:05 +00:00
Johan Hedberg
0dd153779d Remove initial nul from the socket name define since the snprintf's take care of not touching the first byte of the socket name 2007-05-26 22:18:10 +00:00
Johan Hedberg
e343f2b21a Move more common stuff to ipc.h 2007-05-26 21:12:20 +00:00
Johan Hedberg
d2d76421ad Move unix socket functionality into unix.c 2007-05-26 17:17:34 +00:00
Marcel Holtmann
0097d93ac8 Add unix.c and unix.h skeletons 2007-05-26 16:31:17 +00:00
Johan Hedberg
29bd3e0dae Get rid of unused audio reading & writing functionality (all of this should be done on the alsa side) 2007-05-24 08:47:30 +00:00
Johan Hedberg
242c84eea5 Add missing DeviceCreated signal 2007-05-19 19:21:28 +00:00
Johan Hedberg
b4cd9d1c7d Allocate memory for each handle in the list instead of casting between ints and pointers 2007-05-19 11:02:55 +00:00
Johan Hedberg
723fde49c5 Implement CreateDevice, associated SDP discovery and other necessary changes 2007-05-19 01:18:39 +00:00
Johan Hedberg
3568bdd8c1 Send HeadsetCreated signal when calling CreateHeadset 2007-05-18 19:19:35 +00:00
Johan Hedberg
b8695c1e98 Emit DeviceRemoved signal when a device gets removed 2007-05-18 19:13:13 +00:00
Johan Hedberg
491deff564 Implement RemoveDevice and ListDevices 2007-05-18 19:10:08 +00:00
Johan Hedberg
9ac6da7a56 Mark GetConnectedInterfaces as experimental 2007-05-18 19:09:46 +00:00
Johan Hedberg
fb1612c373 Update code to match more closely to API description 2007-05-18 18:26:56 +00:00
Johan Hedberg
5c3cff06eb Simplify API parameter lists (with the drawback of causing some extra round-trips) 2007-05-18 16:32:56 +00:00
Johan Hedberg
2bf938fe55 Add place holders for not yet implemented methods and signals 2007-05-18 09:15:54 +00:00
Johan Hedberg
8ffaf19faa Add some more necessary methods and signals 2007-05-18 09:04:48 +00:00
Johan Hedberg
b0df182cfe Add a couple of method proposals inspired by Havoc's recent blog post on
D-Bus API design, parcularly the minimizing roundtrips aspect.
2007-05-17 23:44:17 +00:00
Johan Hedberg
d342f2a2b1 Add place holders for AudioGW and Target interface support 2007-05-16 11:03:50 +00:00
Johan Hedberg
6023817d98 Remove unused functions and defines from the header file 2007-05-15 12:50:13 +00:00
Johan Hedberg
2f9928fa78 Refactoring to allow adding support for more profiles 2007-05-15 12:45:35 +00:00
Marcel Holtmann
396c3c8197 Small cleanup 2007-05-14 12:29:09 +00:00
Johan Hedberg
d0553fb415 Remove unecessary checks 2007-05-11 11:32:23 +00:00
Johan Hedberg
cd2e0f9256 Add missing G_IO_NVAL flags (potential busyloop otherwise) 2007-05-11 11:25:21 +00:00
Marcel Holtmann
84a0c1a2fa Don't install ALSA plugins without audio service 2007-05-10 10:30:24 +00:00
Marcel Holtmann
07958fc361 Update API descriptions 2007-05-10 08:45:28 +00:00
Johan Hedberg
86477ad906 Use dbus_connection_emit_signal for sending signals 2007-05-09 22:12:20 +00:00
Johan Hedberg
bbbc61a634 Convert to using generic dbus message dispatching 2007-05-09 15:51:02 +00:00
Johan Hedberg
ce665805af Update API description to match current implementation 2007-05-09 12:38:45 +00:00
Johan Hedberg
a2174a2890 Implement IsPlaying method 2007-05-09 12:38:00 +00:00
Johan Hedberg
36b30565da Make use of FinishRemoteServiceTransaction method 2007-05-09 08:31:05 +00:00
Johan Hedberg
6ecc275269 Use org.bluez.audio.Error interface for D-Bus error returns 2007-04-27 14:18:09 +00:00
Marcel Holtmann
37cf1720b4 Fix some debug outputs 2007-04-27 05:27:50 +00:00
Johan Hedberg
f5dcb96ae5 Free path string first when it is no longer needed 2007-04-20 12:15:20 +00:00
Johan Hedberg
4844b0c1d3 Check service classes to be sure that we got the right service record 2007-04-20 09:11:35 +00:00
Johan Hedberg
ed805ba6dc Cleanup the headset event parsing function a little 2007-04-17 14:07:49 +00:00
Johan Hedberg
77c58d8b6b Only stop indicating a call if the answer button is pressed (not e.g. if the volume button is pressed) 2007-04-17 13:55:27 +00:00
Johan Hedberg
0f00d6b4c4 Add headset.h to +bluetoothd_service_audio_SOURCES 2007-04-13 12:06:54 +00:00
Johan Hedberg
260b175f47 Cleanup and small fixes 2007-04-13 11:51:00 +00:00
Johan Hedberg
a07ea139e5 A little more refactoring 2007-04-12 14:26:55 +00:00
Johan Hedberg
e41abf4a7c Remove unused functions 2007-04-12 14:05:18 +00:00
Johan Hedberg
e5aff3f6f7 Redo the manager-headset splitup by using object paths as public identifiers for headsets 2007-04-12 12:06:33 +00:00
Marcel Holtmann
1f6bcd79a3 Let the manager use global variables 2007-04-11 22:46:22 +00:00
Johan Hedberg
e0a2f55119 Cleanup, minor fixes, and missing signals 2007-04-11 11:19:58 +00:00
Johan Hedberg
0e64a016b5 Implement ListHeadsets method 2007-04-11 10:03:09 +00:00
Johan Hedberg
993e7c747c Implement ChangeDefaultHeadset and RemoveHeadset methods 2007-04-11 08:56:50 +00:00
Marcel Holtmann
b8a407aa84 Add first step of ALSA plugin integration 2007-04-10 21:37:24 +00:00
Johan Hedberg
2a209d402e Rename functions for consistency 2007-04-10 12:23:44 +00:00
Johan Hedberg
35f12dee95 Audio service refactoring: move all manager functions to manager.c 2007-04-10 11:44:10 +00:00
Marcel Holtmann
67d220c148 Simple process communication 2007-04-09 01:14:21 +00:00
Marcel Holtmann
353376a066 Fix some forgotton leftovers 2007-04-08 23:19:19 +00:00
Marcel Holtmann
7558cca5c0 Add generic audio service init 2007-04-08 23:13:18 +00:00
Marcel Holtmann
ebfe5886d0 Call it audio service 2007-04-08 20:08:48 +00:00
Marcel Holtmann
fa83abed5f Only provide generic audio service 2007-04-08 19:56:52 +00:00
Johan Hedberg
e6f25afcdd Fix copy-pase typo in function name 2007-04-04 13:20:32 +00:00
Johan Hedberg
e046ec624a Add skeletons for missing methods 2007-04-04 11:28:35 +00:00
Marcel Holtmann
5ad9e0ec87 Add basic plugin code 2007-04-04 09:51:11 +00:00
Marcel Holtmann
31a3adbb73 Add example asound.conf file 2007-04-04 09:41:19 +00:00
Marcel Holtmann
e7bd84e89e Add skeleton for generic ALSA plugins 2007-04-04 09:39:23 +00:00
Marcel Holtmann
c0be1b30ea Make headset service installable 2007-04-01 21:02:31 +00:00
Johan Hedberg
c407625471 Add IsConnected() to dbus-api.txt 2007-04-01 20:44:07 +00:00
Johan Hedberg
7af87ae5d3 Get rid of some unnecessary static function prototypes 2007-04-01 20:42:07 +00:00
Johan Hedberg
f1de5c126e Implement IsConnected method 2007-04-01 20:36:31 +00:00
Johan Hedberg
221adbabd6 Fix error check for failed connect 2007-03-21 18:42:27 +00:00
Johan Hedberg
03cef9b2ed Manager methods belong in the Manager interface 2007-03-21 18:15:29 +00:00
Marcel Holtmann
8509270986 Add skeleton for manager interface 2007-03-09 22:32:47 +00:00
Brad Midgley
bdc24681f7 indicatecall 2007-03-08 15:30:48 +00:00
Brad Midgley
2a093f56f8 flesh out headset object 2007-03-08 14:49:32 +00:00
Johan Hedberg
76c9ccdc6a Fix format string 2007-02-27 09:06:41 +00:00
Johan Hedberg
60159d1c8e Require all incoming connections to be secure 2007-02-27 09:00:56 +00:00
Johan Hedberg
53031087fc Send CancelAuthorizationRequest when timing out waiting for a reply from hcid 2007-02-25 20:53:01 +00:00
Johan Hedberg
81bfe1e51b Fix usage of dbus_pending_call_unref 2007-02-25 20:50:57 +00:00
Johan Hedberg
3a6e17b6ae First part of authorization support for the headset service 2007-02-25 20:13:24 +00:00
Johan Hedberg
5cc41f165a headset service doesn't need a well known bus name 2007-02-17 07:15:25 +00:00
Johan Hedberg
bc6af96cbd Disconnect SCO if RFCOMM gets disconnected 2007-02-16 19:58:15 +00:00
Johan Hedberg
6a37133f8c Reset data buffer when disconnecting 2007-02-16 17:35:30 +00:00
Johan Hedberg
6439c43376 Fix io watch flags for sco channel 2007-02-15 23:54:47 +00:00
Johan Hedberg
f32ff2b9a4 Remove unecessary debug print 2007-02-15 23:07:00 +00:00
Johan Hedberg
650143b29b Cleanup headset event parsing functions 2007-02-15 22:51:50 +00:00
Johan Hedberg
9332d6301f More cleanup 2007-02-15 22:44:29 +00:00
Johan Hedberg
661d9a5e70 Add missing calls to dbus_pending_call_unref 2007-02-15 19:49:03 +00:00
Johan Hedberg
d6964e5a5b Be sure to always reply to method calls 2007-02-15 18:27:33 +00:00
Johan Hedberg
3b339295a0 More cleanup and fixes 2007-02-15 17:53:16 +00:00
Marcel Holtmann
e41652b93c Change option for standalone mode 2007-02-15 08:56:24 +00:00
Johan Hedberg
c2c130dfca Remove invalid g_io_channel_unref 2007-02-15 08:46:39 +00:00
Johan Hedberg
ae3e54003a Use -d for running as an external service 2007-02-15 08:42:09 +00:00
Johan Hedberg
7d163e45e7 More cleanup and fixes 2007-02-15 08:35:16 +00:00
Johan Hedberg
c9395045ad Allow registering as an external service (for debugin purposes) 2007-02-15 07:20:44 +00:00
Johan Hedberg
68960ec821 Further fixes and cleanup 2007-02-15 01:33:52 +00:00
Johan Hedberg
2b62b5d7ee Cleanup 2007-02-14 22:31:08 +00:00
Johan Hedberg
ca470c662b Update device state when accepting an incomming connection 2007-02-11 22:01:18 +00:00
Johan Hedberg
a9dc7333cf Further headsetd fixes 2007-02-11 18:15:18 +00:00
Marcel Holtmann
61f64a95d1 Add skeleton for embedding SBC library 2007-01-31 08:52:52 +00:00
Claudio Takahasi
97e3051ec5 set_nonblocking: removed err argument 2007-01-25 17:27:52 +00:00
Claudio Takahasi
a0aeaf15ca Moved set_nonblocking to common/dbus.c 2007-01-24 19:47:56 +00:00
Johan Hedberg
79e768bf14 headsetd fixes 2007-01-24 19:34:16 +00:00
Johan Hedberg
76b5515202 More headset.c rework 2007-01-24 16:28:22 +00:00
Johan Hedberg
7f496bf581 rework of the headset daemon code 2007-01-23 20:34:45 +00:00
Marcel Holtmann
e59b7c56d9 Add workaround for the global connection variable 2007-01-21 21:57:13 +00:00
Marcel Holtmann
82a96ac9b3 Cleanup logging on exit 2007-01-21 21:06:24 +00:00
Marcel Holtmann
b7506049ed Fix setup routine for headset 2007-01-21 21:01:01 +00:00
Marcel Holtmann
0bf515081f Update service description file 2007-01-20 15:07:31 +00:00
Marcel Holtmann
8cc5595d90 Make it possible to support an embedded GLib 2007-01-20 05:26:15 +00:00
Marcel Holtmann
884cfe825d Don't install services that are in experimental state 2007-01-20 02:36:57 +00:00
Marcel Holtmann
157437dcad Remove service agent relict 2007-01-20 00:00:23 +00:00
Marcel Holtmann
968c780c46 Use channel 12 as default 2007-01-19 23:56:06 +00:00
Marcel Holtmann
03cc48fcbe Use database interface for service records 2007-01-19 23:51:19 +00:00
Marcel Holtmann
358fd1c1f4 No need to become a daemon 2007-01-19 22:14:59 +00:00
Marcel Holtmann
028a55862c Rename services and install the audio service 2007-01-19 21:44:34 +00:00
Marcel Holtmann
aa79fbd0ea Update audio service API description 2007-01-18 21:56:35 +00:00
Marcel Holtmann
8af0823c55 Add identifier tag 2007-01-16 10:13:10 +00:00
Marcel Holtmann
67038f290a Include headset.service into the distribution 2007-01-16 10:12:08 +00:00
Johan Hedberg
6c3061aae2 Add example service file for bt.headsetd 2007-01-15 20:38:41 +00:00
Johan Hedberg
467f83c3ac Preliminary support for catching the unique bus name of an execed service 2007-01-15 18:38:58 +00:00
Marcel Holtmann
c97480f11b Allow compilation against GLib 2007-01-12 00:37:42 +00:00
Johan Hedberg
230f57309d Small fix in case hs->data_start != 0 2007-01-10 10:23:51 +00:00
Johan Hedberg
7d487896f7 Cleanup (get rid of some unnecessary indentation) 2007-01-09 13:33:13 +00:00
Johan Hedberg
1eac882c27 Update method names to resemble more closely the current API draft 2006-12-19 09:31:43 +00:00
Marcel Holtmann
539522aa34 Add initial version of the audio API document 2006-12-06 13:58:19 +00:00
Johan Hedberg
adcfee2f84 Support for providing input and output files for audio 2006-11-28 14:23:59 +00:00
Johan Hedberg
842d312184 Add simple introspection support 2006-11-27 13:26:25 +00:00
Johan Hedberg
954a25724f Implement SpeakerGainChanged and MicrophoneGainChanged signals 2006-11-27 12:48:08 +00:00
Johan Hedberg
6834de18b9 More implementation. E.g. signals and Play and Stop methods 2006-11-24 15:41:08 +00:00
Johan Hedberg
e8dc0cc060 Implement AT command parsing 2006-11-24 10:12:34 +00:00
Johan Hedberg
12bb1a4aaf Implement ring timer and CancelRinging method 2006-11-22 15:00:59 +00:00
Johan Hedberg
62281b2196 Fix RING string 2006-11-22 13:09:53 +00:00
Johan Hedberg
0bf43d5dc4 Implement Ring method 2006-11-22 12:35:42 +00:00
Johan Hedberg
b3f669cd67 Cleanup 2006-11-22 12:01:08 +00:00
Johan Hedberg
38802a5555 Make the -c switch mandatory 2006-11-16 16:10:33 +00:00
Johan Hedberg
c9511affda Fix debug prints 2006-11-16 15:34:01 +00:00
Johan Hedberg
cbf44a1420 Small SDP & listening rfcomm socket fixes 2006-11-16 15:27:28 +00:00
Johan Hedberg
6dd50a2882 Implement listening rfcomm socket support 2006-11-16 15:03:00 +00:00
Johan Hedberg
f05384856c First try at Connect and Disconnect method implementation 2006-11-15 14:34:05 +00:00
Johan Hedberg
9d11b78a36 ..and remove 'c' from getopt args too 2006-11-14 16:12:54 +00:00
Johan Hedberg
26693c0cf4 Remove -c from usage print since it's nolonger supported 2006-11-14 16:10:51 +00:00
Johan Hedberg
5ae740ae08 Minor cleanup 2006-11-14 16:03:53 +00:00
Johan Hedberg
a25501d26a Support for fetching the RFCOMM channel through SDP 2006-11-14 14:00:15 +00:00
Johan Hedberg
4cda48c7b5 Very basic functionality for bt.headsetd 2006-11-13 23:04:16 +00:00
Marcel Holtmann
d0f6da96bc Add skeleton for headset daemon 2006-11-13 15:04:48 +00:00
Marcel Holtmann
c761480865 Add skeletons for service implementations 2006-10-27 14:46:36 +00:00