Commit Graph

732 Commits

Author SHA1 Message Date
Johan Hedberg
93a41b7031 Fix incorrect format type specifier for sizeof() 2010-11-08 02:41:13 +02:00
Johan Hedberg
9a404a4e6b Fix Managment API names to be consistent with the kernel 2010-11-07 19:12:30 +02:00
Johan Hedberg
ff489b4fe3 mgmtops: add parsing of cmd_status and controller_error events 2010-11-07 17:59:09 +02:00
Johan Hedberg
49bedc0b8c mgmtops: add events for controller removal and addition 2010-11-07 16:50:31 +02:00
Daniel Orstadius
f47205ab9b Fix Maemo6 MCE: set state variable directly
If the state variable is not updated until mce_signal_callback and
SetProperty(Powered) is called two times quickly, then the second
call will not generate a request to change the radio state of the
MCE if its corresponding call to adapter_powered occurs before the
first triggering of mce_signal_callback.

With this patch two calls to the MCE are executed, although there
might still be an unnecessary power cycle in that
mce_signal_callback is also triggered twice.
2010-11-04 14:39:43 +00:00
Johan Hedberg
a352058752 Cache adapter address for quick lookup 2010-11-04 04:38:35 +02:00
Johan Hedberg
db5266f0af Remove redundant tracking of ignored adapters
Since hciops already takes care of hiding ignored adapters there's no
need to have special logic for them in adapter.c.
2010-11-04 04:22:18 +02:00
Johan Hedberg
fdd43acc2a Add support for reading controller mode in mgmtops 2010-11-04 02:56:31 +02:00
Johan Hedberg
fe53cb366d Add support for reading controller info to hciops 2010-11-02 00:10:25 +02:00
Johan Hedberg
4d91fb30e0 Keep track of discovered controllers in mgmtops 2010-11-01 23:18:44 +02:00
Johan Hedberg
6275027dcb Store management version info into global variables for easy access
In the future when the mgmtops code needs to behave in different ways
depending on the kernel side management API version it's convenient to
have the exact version/revision number in easily accessible global
variables inside mgmtops.c.
2010-11-01 21:16:44 +02:00
Johan Hedberg
3d3063f323 Remove unnecessary status parameter from mgmt version response 2010-11-01 21:00:49 +02:00
Johan Hedberg
c0882114c2 Add support for getting the controller index list 2010-11-01 20:58:48 +02:00
Johan Hedberg
fb91c88916 Change hci_mgmt_ prefix to simply mgmt_ 2010-11-01 20:23:03 +02:00
Johan Hedberg
1d555f47c4 Add support for parsing management version response 2010-11-01 20:19:17 +02:00
Johan Hedberg
908795609b Pass the management message body to event callbacks
For parsing purposes it's more practical to simply pass the message body
instead of the entire packet to the individual callbacks.
2010-11-01 17:21:56 +02:00
Johan Hedberg
14b60d8002 Add basic parsing support for management events 2010-11-01 17:12:45 +02:00
Johan Hedberg
d8a9a0e7c0 Make all unimplemented mgmtops functions fail by default 2010-11-01 16:46:50 +02:00
Johan Hedberg
93d8dc9eed Add debug prints to mgmtops functions 2010-11-01 16:46:50 +02:00
Johan Hedberg
49a10b37b7 mgmtops: add initial setup support
This patch adds initial mgmtops setup support. The code will fail on
kernels without Bluetooth Management support and cause bluetoothd to
fall back to using hciops.
2010-10-27 15:18:26 -04:00
Johan Hedberg
80f5ccd70c Remove remote name requests upon connect complete events
Newer kernel versions will deal with the automated name request for
connection complete events, so remove it from userspace to avoid
unnecessary traffic and potential interop issues.
2010-10-27 12:22:16 -04:00
Johan Hedberg
0c3e080828 Add initial skeleton for mgmtops 2010-10-27 11:21:38 -04:00
Johan Hedberg
d57934d1d0 Minor coding style fix 2010-10-27 11:09:36 -04:00
Johan Hedberg
d300441574 Add support for multiple potential adapter_ops implementations
This patch changes the adapter_ops registration procedure to simply add
the callback struct into a list. The actual adapter_ops implementation
that gets used gets chosen in the adapter_ops_setup function.
2010-10-27 11:07:36 -04:00
Johan Hedberg
f92841301d hciops: don't initialize existing adapters in hciops_setup()
Initializing existing adapters requires calls into adapter.c and a fully
setup adapter_ops so this can only be done after the adapter_ops setup
function (hciops_setup in this case) has returned.
2010-10-27 11:04:18 -04:00
Claudio Takahasi
5ade59881c Move HCI_REQ_TIMEOUT to hciops.c 2010-10-26 19:05:19 -03:00
Johan Hedberg
abe7cd4412 Move ACL encryption functions to hciops 2010-10-26 17:51:41 -04:00
Johan Hedberg
5288199788 Move security.c callbacks into hciops 2010-10-26 16:06:18 -04:00
Johan Hedberg
16d507e0bb Rename dbus-hci.c event.c and use btd_event_ prefix for it 2010-10-26 14:59:49 -04:00
Rafal Michalski
4ebe698e22 Adjust mce_bt_set flag to gboolean type values
This patch makes assignment to mce_bt_set flag more readable and makes
sure that it takes only TRUE or FALSE value from gboolean type.
2010-10-13 17:23:21 +03:00
Johan Hedberg
646f0c7e6b Move remote name and version requests to hciops
Move the remote name and version requests that are done upon a
connection complete event to hciops. Instead of queuing the version
request after the name just delay it for one second (this simplifies the
logic quite a bit).
2010-10-10 22:44:25 +01:00
Johan Hedberg
ef071f94a7 Add struct for hciops per-adapter data
For future extensibility it's better to have a whole struct for each
adapter in hciops.
2010-10-10 18:05:11 +03:00
Johan Hedberg
6844ac4ce5 Create a global HCI socket array in hciops
This patch adds a global HCI array in hciops to avoid hci_open_dev calls
for each hciops callback.
2010-10-06 23:26:56 +02:00
Marcel Holtmann
ecb835fca7 Remove netlink plugin 2010-10-06 10:21:11 +02:00
Claudio Takahasi
9ebc8d3b0f Read local extended features asynchronously 2010-10-04 17:38:23 -03:00
Claudio Takahasi
3af792e57b Rename hciops {start, stop}_discovery to {start, stop}_inquiry
With dual mode adapters, "discovery" expression is being used to
represent both BR/EDR inquiry and LE scanning.
2010-10-04 17:38:22 -03:00
Claudio Takahasi
7ff8fd32eb Set the LE host supported and disable simultaneous LE and BR/EDR flags
For BlueZ if the controller supports LE, extended feature mask shall be
set to indicate that the host supports LE and disable simultaneous LE and
BR/EDR for simplicity even if the controller supports simultaneous LE and
BR/EDR.
2010-10-04 17:38:22 -03:00
Claudio Takahasi
388cdea438 Add length argument on hciops start discovery function
For BR/EDR only adapters, the recommended inquiry length is 0x08
(10.24 seconds). For interleave discovery the inquiry length is
0x04(5.12 seconds).
2010-10-04 17:38:22 -03:00
Vinicius Costa Gomes
e0e4bd6e26 Add BR/EDR LE interleaved discovery
According to the general discovery procedure should interleave the
general discovery procedure over BR/EDR with the general discovery
procedure over LE. LE Scanning is reporting found remote devices
using DeviceFound signals. Currently, only the Bluetooth address is
extracted from the Advertising event.

Step 1: BR/EDR discovery for TGAP(100)/2 sec
Step 2: LE discovery for TGAP(100)/2 sec
2010-10-04 17:38:22 -03:00
Claudio Takahasi
70cd37db7c Add LE start and stop scanning
Changes hciops plugin to add LE start/stop scanning options and
metaevent decoding.
2010-10-04 17:38:22 -03:00
Johan Hedberg
73c8e7ac37 Make link key removal HCI command asynchronous 2010-10-04 21:28:14 +02:00
Johan Hedberg
195cb7501b Make inquiry mode writing asynchronous 2010-10-04 21:25:55 +02:00
Johan Hedberg
197eb53c0b Make EIR data writing asynchronous 2010-10-04 21:05:55 +02:00
Johan Hedberg
132374b512 Make SSP mode reading and writing asynchronous 2010-10-04 16:10:52 +02:00
Johan Hedberg
f8b7d84e2c Move scan mode reading to hciops 2010-10-03 21:59:37 +02:00
Johan Hedberg
4b625a87bd Move authentication requirements fetching to hciops 2010-10-01 19:48:05 +03:00
Johan Hedberg
889c7513b3 Move user passkey reply to hciops 2010-10-01 19:37:57 +03:00
Johan Hedberg
df6c074158 Move user confirmation reply to hciops 2010-10-01 19:23:34 +03:00
Johan Hedberg
e7daece858 Move PIN code reply to hciops 2010-10-01 19:15:55 +03:00
Johan Hedberg
424ffb2640 Move authentication request to hciops 2010-10-01 15:15:52 +03:00
Johan Hedberg
1bf7ec6b5c Move link key removal from controller to hciops 2010-10-01 15:02:40 +03:00
Johan Hedberg
06dcf6ada5 Move disconnect command sending to hciops 2010-10-01 12:22:38 +03:00
Johan Hedberg
98dbebb8ed Move default link policy read command to hciops 2010-10-01 12:10:38 +03:00
Johan Hedberg
0133f1bc40 Move SSP mode initialization to hciops 2010-10-01 12:07:23 +03:00
Johan Hedberg
48e6007a98 Move local features reading to hciops 2010-10-01 12:01:45 +03:00
Johan Hedberg
e38fdde63c Move local version reading to hciops 2010-10-01 12:01:12 +03:00
Johan Hedberg
f7b4b3fcd1 Move connection list fetching to hciops 2010-09-30 22:12:37 +03:00
Johan Hedberg
885c513fdf Move device blocking to hciops 2010-09-30 16:52:43 +03:00
Johan Hedberg
7dedff7168 Move inquiry response TX power reading to hciops 2010-09-30 16:10:23 +03:00
Johan Hedberg
c0af129926 Move inquiry mode setting to hciops 2010-09-30 16:04:52 +03:00
Johan Hedberg
3e2860479c Move event mask setting to hciops 2010-09-30 15:56:26 +03:00
Rafal Michalski
ce5207cdc2 Fix handlig for gboolean mce_bt_set field
(sigvalue & MCE_RADIO_STATE_BLUETOOTH) evaluates to 8 instead of 1
(TRUE). A double negation makes sure that it's either 1 or 0.
2010-09-30 13:48:10 +03:00
Johan Hedberg
b5c556ef59 Move adapter address reading to hciops 2010-09-29 16:34:55 +03:00
Johan Hedberg
e070bc1146 Move EIR data writing to hciops 2010-09-29 16:34:37 +03:00
Johan Hedberg
ad737e6427 Fix coding style issues in hciops 2010-09-22 10:46:05 +03:00
Johan Hedberg
c67ba167cc Fix usage of error variables
Integer type "err" variables should always be negative to be consistent
with the rest of the code base.
2010-09-22 10:39:15 +03:00
Elvis Pfützenreuter
5bca34b67c Add BT read clock and get conn handle to hciops 2010-09-22 10:22:49 +03:00
Bastien Nocera
d23defc944 Add new plugin to set adapter class
This time based on the kernel exported DMI, rather than calling
out to HAL. The HAL plugin can still be preferred with
--enable-hal=yes passed to configure.
2010-09-06 16:02:01 +03:00
Luiz Augusto von Dentz
43a34941ef Fix not closing fd when disconnecting on pnat plugin
This cause problems since the number of open file descriptors are
normaly limited causing errors such as:

  Can't create RFCOMM TTY: Too many open files in system
2010-09-06 10:53:45 +03:00
Johan Hedberg
da446f5edd Fix format string warnings for g_dbus_create_error
This patch fixes gcc warnings for "format not a string literal and no
format arguments".
2010-08-19 23:24:42 +03:00
Daniel Orstadius
5ac50f2903 Maemo6 MCE: handle race condition at startup
Since bluetoothd power cycles the adapter at startup, it is possible
that the plugin gets a reply from reading the state of the MCE and
tries to power the adapter before it is down. The patch checks for
that situation and if it occurs postpones powering the adapter to
the powered state callback.
2010-08-18 16:30:50 +03:00
Dmitriy Paliy
61f0df8f18 Add fast connectable to hciops
Fast connectable switches between two sets of parameters to enable
or disable fast page scan mode. Page scan interval and page scan
type are changed to speed up connectabily when needed. When
disabled it sets default values. List of btd_adapter_ops is updated
respectively.
2010-08-18 13:45:57 +03:00
Daniel Orstadius
f2591f09af Maemo6 MCE: listen to adapter powered state
Registers a callback to btd_adapter to get notified when the
powered state of the adapter is changed. This is needed to update
the state stored in the MCE if the adapter is powered on or off
using for example SetProperty(Powered). The current setting of
the MCE is saved in a variable and if the notification to the
plugin does not match this value the MCE is updated accordingly
using its DBus method for setting radio states.
2010-08-17 16:31:41 +03:00
Johan Hedberg
6c61bb330a Fix missing cleanup for the phonet-at child process
We can't call g_remove_source for the child watch since then nobody will
call waitpid when the child dies. Instead set client->child_pid to 0
after sending SIGTERM so that the child watch function doesn't try to do
cleanup to processes that were already cleared (e.g. if an old phonet-at
process stays around while a new DUN client gets connected).

The patch is based upon the initial investigation and findings by
Dmitriy Paliy <dmitriy.paliy@nokia.com>.
2010-08-17 10:27:12 +03:00
Luiz Augusto von Dentz
4fc3ab7168 Fix not storing tty id on pnatd plugin
The code used to create the port stored the id in a local variable
instead of storing it in the client data which is used to release the
port once disconnected.
2010-08-16 14:20:30 +03:00
David Scherba
65bf132120 Use HCI device type to gate BR/EDR-specific HCI commands
Use the hci_dev_info structure member 'type' to classify whether a HCI
device is BR/EDR, or not. If not, gate BR/EDR-specific HCI commands.
2010-08-10 16:03:18 -04:00
David Scherba
cf91577002 Remove non-functional hci_devinfo calls in init_device() 2010-08-10 15:19:00 -04:00
Johan Hedberg
fccdf4a507 Fix initialization of adapters in RAW mode
Make sure bluetoothd completely ignores any adapters with the RAW flag
set. This means that neither start_security_manager nor
manager_start_adapter should be called for such an adapter.
2010-07-12 14:14:01 -03:00
Luiz Augusto von Dentz
c194337f35 Introduce maemo6 plugin for following the radio state signal
Adds a plugin for listening to the MCE (Mode Control Entity)
radio state signal. Implemented in a new source file,
configuration flag for enabling it added to the build files.

The plugin registers an adapter driver containing a DBus signal
watch for receiving MCE_RADIO_STATES_SIG messages. On receiving
the signal, it sets the powered state of the adapter according
to the Bluetooth field.
2010-07-09 12:05:56 +03:00
Luiz Augusto von Dentz
90608519f3 hciops: fix not checking all possible errors 2010-07-01 12:37:46 +03:00
Gustavo F. Padovan
8e58667ef0 Move debug() to DBG()
Use the new dynamic debug feature
2010-05-21 18:21:48 +02:00
Gustavo F. Padovan
e891f7df62 Move logging.{c,h} to log.{c,h}
Try to make log stuff more similar to ConnMan and oFono.
2010-05-21 14:40:36 +02:00
Johan Hedberg
29598cc39b Update phonet-at location to match recent versions 2010-05-19 09:41:49 +02:00
Johan Hedberg
903804a0f1 Make use of common fail label in pnat_probe 2010-04-03 16:45:44 +03:00
Johan Hedberg
76208a5d26 Fix GError memory leak 2010-04-03 16:37:26 +03:00
Johan Hedberg
0a658cd945 Remove bogus if-check when DUN client disconnects 2010-04-03 16:32:36 +03:00
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