Commit Graph

196 Commits

Author SHA1 Message Date
Johan Hedberg
895eea1347 Add initial phonet integration with the help of pnatd/phonet-at
This patch implements initial phonet support to the pnat bluetoothd
plugin by utilizing the pnatd/phonet-at phonet AT proxy/wrapper tool.
2010-04-01 15:58:23 +03:00
Luiz Augusto Von Dentz
08342d21d5 Add check for sdp_record_find 2010-03-24 23:16:45 +02:00
Johan Hedberg
1202ec1f3e Add initial skeleton for Phonet AT (DUN) plugin 2010-02-02 11:07:33 -08:00
Johan Hedberg
5592142cb9 Update Nokia copyrights 2010-01-07 01:11:05 -08:00
Marcel Holtmann
9184e2eeb7 Update copyright information 2010-01-01 17:08:17 -08:00
Marcel Holtmann
fdf703f79f Fix wrong order of error handling in netlink setup 2009-11-15 00:11:45 +01:00
Claudio Takahasi
8300366080 Some coding style fixes and removed unused function. 2009-10-26 20:04:36 -02:00
Marcel Holtmann
a5b1e3d02c Switch to a full non-recursive build system 2009-08-23 00:40:59 -07:00
Alok Barsode
d2a6bf00af Implement Class of Device cache for async behaviour.
In order to avoid race conditions for setting the Class of Device
asynchronously a queuing mechanism is needed. This patch implements that
by having the following variables in the adapter struct:

adapter->current_cod
		The currently set CoD
adapter->pending_cod
		CoD of a hci_write_cod command which didn't complete yet.
adapter->wanted_cod
		The CoD value that is ultimately desired but might not
		have been set yet.
2009-08-15 03:03:56 +03:00
Marcel Holtmann
33f51f71f9 Build the builtin plugins along with the daemon 2009-08-09 14:05:57 -07:00
Johan Hedberg
a73b597d56 Fix device name setting for mode=off when bluetoothd starts
This patch fixes the way that the device name gets set when bluetoothd
starts and the previously stored mode is off.
2009-08-04 17:11:32 +03:00
Johan Hedberg
d388309819 Remove unnecessary variable assignment 2009-08-04 16:02:35 +03:00
Alok Barsode
d209c50141 Adding read_name to hciops plugin. 2009-07-13 12:30:59 +03:00
Alok Barsode
164ccf9a66 Adding set_name to hciops plugin. 2009-07-13 12:26:19 +03:00
Alok Barsode
302eee8269 Fixing bluetoothd to avoid passing device descriptor 2009-07-07 23:42:40 +03:00
Marcel Holtmann
929393b82d Revert "Fix hciops compilation error" 2009-07-07 11:28:33 -07:00
Stefan Seyfried
5ca084eecc Fix hciops compilation error
hciops.c: In function ‘hciops_exit’:
hciops.c:728: error: call to function ‘btd_adapter_cleanup_ops’
              without a real prototype
2009-07-07 21:16:53 +03:00
Alok Barsode
b96f44db8e Adding cancel_resolve_name functionality to hciops plugin. 2009-07-02 17:08:48 +03:00
Alok Barsode
ef876daebf Adding resolve name functionality to hciops plugin. 2009-07-02 17:08:48 +03:00
Johan Hedberg
8b9bab24d5 Properly implement the hciops_cleanup() function 2009-07-01 01:06:25 +03:00
Johan Hedberg
18e8b33f0d Fix error handling in hciops initialization 2009-06-30 21:26:33 +03:00
Alok Barsode
f8c3e9f4a6 Adding stop_discovery to hciops. 2009-06-11 14:28:57 +07:00
Alok Barsode
a67cf482f8 Adding start_discovery to hciops plugin. 2009-06-11 14:27:26 +07:00
Alok Barsode
eeba5fdb9c Adding set_limited_discoverable method to hciops plugin. 2009-05-18 16:45:26 +05:30
Alok Barsode
55927114c5 Adding set_discoverable method to hciops. 2009-05-18 13:31:21 +03:00
Alok Barsode
8b000e1700 Adding set_connectable method to hciops plugin. 2009-05-18 13:30:02 +03:00
Alok Barsode
030d865e4a Adding set_powered method to hciops plugin. 2009-05-18 13:27:31 +03:00
Alok Barsode
4e71ac8617 Adding stop() functionality to hciops plugin. 2009-05-06 12:37:44 +03:00
Luiz Augusto von Dentz
e1125a71b6 Fix memory leak. 2009-05-05 17:27:08 -03:00
Marcel Holtmann
1ab388feb3 Add support for builtin plugins 2009-05-03 18:54:22 -07:00
Alok Barsode
076540a14a Adding start() functionality to hciops plugin. 2009-05-03 02:21:44 +03:00
Alok Barsode
ffff055ee5 Code cleanup for hciops.c.
Renaming init_all_devices to init_known_adapters.
Using 'index' instead of 'dev_id'.
2009-04-28 15:50:19 +05:30
Alok Barsode
34c4239984 Adding btd_register_adapter_ops framework. 2009-04-28 15:49:51 +05:30
Alok Barsode
a557e08d8c Moving all adapter initialization code to hciops plugin. 2009-04-28 15:18:52 +05:30
Alok Barsode
cce9e28ea1 Initializing hciops plugin. Adding IO event handing. 2009-04-28 14:19:22 +05:30
Alok Barsode
94e9185617 Initialing HCI raw socket plugin "hciops". 2009-04-27 21:56:08 +05:30
Alok Barsode
e050cc3d14 Using # operator to stringify plugin name. 2009-04-21 13:25:35 +01:00
Alok Barsode
2f28c39a63 Add priority field to plugin descriptor definition and load plugins in priority order. 2009-04-21 13:23:51 +01:00
Johan Hedberg
8e706e2d4f Convert some not-so-important info logs to debug logs 2009-03-24 12:31:10 +02:00
Alok Barsode
bf6a4a5774 Adding version check for plugins. 2009-03-14 07:11:47 +01:00
Marcel Holtmann
92bd92f851 Use GCC visibility for exporting symbols 2009-03-11 12:02:00 +01:00
Marcel Holtmann
fb333f1c88 Update copyright information 2009-01-01 19:33:20 +01:00
Johan Hedberg
5dfd446637 Remove duplicate (and incorrect) call to adapter_get_address 2008-11-11 17:33:40 +02:00
Luiz Augusto von Dentz
a6e8281102 Check ANY record list in case the record is not present on adapter record list. 2008-11-04 19:06:56 -03:00
Marcel Holtmann
d6334b6272 Fix handling of service records on any adapter object 2008-11-01 01:42:36 +01:00
Marcel Holtmann
81a1e13f79 Add support for service interface on any adapter object 2008-11-01 00:55:46 +01:00
Johan Hedberg
64e9369b94 Remember to remove the name listener in path_unregister 2008-10-20 14:36:21 +03:00
Johan Hedberg
e501562445 Call exit_callback with correct parameters upon path removal 2008-10-20 14:18:33 +03:00
Marcel Holtmann
1f5107e65f Fix fallouts due to GDBusWatchFunction changes 2008-10-17 18:43:48 +02:00
Marcel Holtmann
7cfc028f6c Check for HAL errors 2008-10-06 14:56:19 +02:00
Johan Hedberg
8b1d58dd39 Fix DBusPendingCall memory leak 2008-10-06 13:59:21 +02:00
Marcel Holtmann
9009725785 Fix memory leaks with HAL messages 2008-09-30 05:01:32 +02:00
Marcel Holtmann
961afe8214 Read the class of device before setting a new one 2008-09-29 13:08:25 +02:00
Marcel Holtmann
c791fde2d5 Set major and minor class in one go 2008-09-29 12:18:39 +02:00
Marcel Holtmann
993a8c5512 Use correct value for major class 2008-09-29 12:00:57 +02:00
Marcel Holtmann
915c467ef1 Actually set the major and minor device class 2008-09-29 10:19:56 +02:00
Marcel Holtmann
afb342a2c8 Add missing backslash 2008-09-29 07:56:35 +02:00
Marcel Holtmann
a8172d3629 The usage of libhal is no longer required 2008-09-29 03:21:35 +02:00
Marcel Holtmann
4b71a08bdc Simplify includes of HAL plugin 2008-09-29 03:17:14 +02:00
Marcel Holtmann
c648a9c9ff Fix retrieving of formfactor value 2008-09-29 03:14:14 +02:00
Marcel Holtmann
1e997015ac Allow binding of HAL driver to an adapter 2008-09-29 02:25:14 +02:00
Marcel Holtmann
2f4506180a Disable HAL plugin for now 2008-09-26 09:29:53 +02:00
Marcel Holtmann
5475636b22 Add first step for providing HAL plugin 2008-09-24 02:47:48 +02:00
Vinicius Costa Gomes
e9e2f58c0c Now the record list is managed on a per adapter basis 2008-09-09 19:47:14 -03:00
Vinicius Costa Gomes
8b78330343 Implements the authorization methods on Service plugin 2008-09-09 19:47:14 -03:00
Alok Barsode
2a8fb41c4c Redefining adapter_get_address to take bdaddr_t as parameter. 2008-09-08 14:31:43 +05:30
Johan Hedberg
63155e6a90 Make RequestAuthorization always return a positive reply for now 2008-09-05 16:12:21 +03:00
Alok Barsode
18614bd2b0 Renaming struct adapter to struct btd_adapter. 2008-09-04 16:03:43 +05:30
Alok Barsode
6746732b80 Fixing service.c 2008-09-03 14:47:44 +05:30
Marcel Holtmann
b0479fa11b Allow loading of service plugin 2008-09-03 00:53:43 +02:00
Marcel Holtmann
9fd27210e5 Release the D-Bus connection 2008-09-03 00:35:06 +02:00
Luiz Augusto von Dentz
694f019211 Make methods related to external services into service plugin. 2008-09-02 19:17:55 -03:00
Luiz Augusto von Dentz
c560d02ccf Remove driver.c driver.h and remove workaround for to force a symbol resolution. 2008-08-18 19:20:42 -03:00
Luiz Augusto von Dentz
2a4471c4b0 Remove server.h and server.c files. 2008-08-12 18:53:05 -03:00
Marcel Holtmann
e0581b5e29 Move hcid to src directory and rename it to bluetoothd 2008-07-29 20:35:12 +02:00
Marcel Holtmann
a22a088109 Don't use lib prefix for plugins 2008-06-30 05:47:13 +00:00
Marcel Holtmann
b468daedba Remove unneeded links 2008-06-22 01:51:37 +00:00
Marcel Holtmann
407a723fbd Make netlink support optional and disable storage plugin 2008-06-18 15:35:40 +00:00
Marcel Holtmann
c478f89073 Add IO channel for handling netlink messages 2008-05-15 03:26:35 +00:00
Marcel Holtmann
2a3cf9a57e Fix typo in cleanup routine 2008-05-15 02:54:01 +00:00
Marcel Holtmann
865f110880 Add initial work for netlink plugin 2008-05-15 02:39:26 +00:00
Marcel Holtmann
f3c0a1a49b Use -no-undefined for linking plugins 2008-05-09 09:16:32 +00:00
Marcel Holtmann
e7d668ac9e Move D-Bus watch functions into libgdbus 2008-05-08 20:23:45 +00:00
Claudio Takahasi
9491a544f6 Moving authorization code to dbus-service.c 2008-05-01 13:52:26 +00:00
Claudio Takahasi
60202f31c9 Broken build: missing headers 2008-04-09 22:00:34 +00:00
Marcel Holtmann
f8d4886cb7 Add skeleton for storage plugin 2008-04-05 06:37:08 +00:00
Marcel Holtmann
30b429c385 Create links for audio and serial plugins 2008-03-22 16:12:20 +00:00
Marcel Holtmann
24eaef5b7c Link network and input plugins for easier testing 2008-03-22 15:49:37 +00:00
Marcel Holtmann
3c63053cdd Don't install example plugin 2008-03-21 23:31:40 +00:00
Marcel Holtmann
201a729d46 Fix include directories for successful make distcheck 2008-03-12 21:30:48 +00:00
Marcel Holtmann
fbd60c2035 Add RFCOMM listener to echo plugin 2008-03-12 21:22:06 +00:00
Marcel Holtmann
f2e093403e Implement probe/remove for the example plugin 2008-03-12 19:23:22 +00:00
Marcel Holtmann
00f67ab2da No need for linking the plugins 2008-03-11 23:52:47 +00:00
Marcel Holtmann
f6377c51e8 Add some debug output to echo plugin 2008-03-11 20:17:58 +00:00
Marcel Holtmann
971ed95312 Add skeleton for the example plugin 2008-03-11 20:00:16 +00:00
Marcel Holtmann
4dc25b9fef Add directory for plugins 2008-03-11 19:41:53 +00:00