Commit Graph

13407 Commits

Author SHA1 Message Date
Johan Hedberg
91c50f7fa1 obexd: Merge obex-client into obexd daemon 2012-12-18 17:54:43 +02:00
Mikel Astiz
093d96a57d adapter: Remove DevicesFound signal
ObjectManager reports the D-Bus interfaces of all known devices,
including the ones detected during discovery. Therefore this signal is
not required.
2012-12-18 17:35:31 +02:00
Johan Hedberg
21f71192a9 core: Remove DisablePlugins main.conf entry
The plugins can still be disabled through the -P command line switch.
2012-12-18 17:25:34 +02:00
Andre Guedes
bc06a97025 hog: Fix removing HoG device bug
We should remove only hog_devices from the given btd_device.
Otherwise, all hog_devices will be removed.
2012-12-18 17:21:25 +02:00
Andre Guedes
e89886ac65 hog: Refactor hog init and exit functions
This patch simply renames hog_manager_init and hog_manager_exit
functions to hog_init and hog_exit.
2012-12-18 17:20:59 +02:00
Andre Guedes
0a5b1ec8d3 hog: Merge hog_device.h code into hog_device.c
This patch merges hog_device.h code into hog_device.c and removes
hog_device.h file. As long as hog_manager.c was merged into hog_
device.c, there is no need to have a header for hog_device.

This patch also adds the static modifier to functions which are
now used only in hog_device.c.
2012-12-18 17:20:44 +02:00
Andre Guedes
647f42d9f3 hog: Merge hog_manager.c code into hog_device.c
This patch merges hog_manager.c code into hog_device.c and removes
hog_manager.c file. hog_manager.c is a very small file, so there is
no need to keep it separated.
2012-12-18 17:18:50 +02:00
Johan Hedberg
1b1c92ddad test: Update simple-agent to match latest agent API 2012-12-18 17:16:55 +02:00
Johan Hedberg
7b38d4472b core: Update agent manager implementation to match API doc 2012-12-18 17:16:12 +02:00
Johan Hedberg
45306a3f3b doc: Add object path parameter to RequestDefaultAgent 2012-12-18 16:55:39 +02:00
Marcel Holtmann
d4e41ec7af core: Turn some messages into debugs and fix warning 2012-12-18 15:34:29 +01:00
Marcel Holtmann
fca6774a33 client: Remove broken helper for message blocks 2012-12-18 15:03:58 +01:00
Marcel Holtmann
72faf3c1d9 client: Always print messages with checking readline state 2012-12-18 15:03:58 +01:00
Marcel Holtmann
e3069721d4 client: Check for RL_STATE_DONE before trying to print 2012-12-18 15:03:58 +01:00
Johan Hedberg
6934437fc7 obexd: Add client prefix to client manager functions
This is in preparation of merging the client into the daemon.
2012-12-18 16:03:42 +02:00
Johan Hedberg
b7a7b46af7 core: Fix memory leak of keys in check_config() 2012-12-18 14:27:19 +02:00
Johan Hedberg
c7ee7091d2 audio: Don't print an error for missing conf file 2012-12-18 14:09:46 +02:00
Johan Hedberg
337864d65b input: Don't print an error for missing conf file 2012-12-18 14:09:37 +02:00
Johan Hedberg
02a292ad2b proximity: Don't print an error for missing conf file 2012-12-18 14:09:26 +02:00
Johan Hedberg
3f6a335754 core: Don't print an error for missign main.conf file 2012-12-18 14:09:12 +02:00
Johan Hedberg
d50d267b61 core: Add checking for unknown main.conf entries 2012-12-18 13:58:05 +02:00
Szymon Janc
a8025ef8ed adapter: Use int for storing signed value
char can be signed or unsigned depending on architecture. This fix
following compilation error on ARM:

src/adapter.c: In function 'convert_primaries_entry`:
src/adapter:2272:2: error: comparison is always true due to limited
	range of data type [-Werror=type-limits]
cc1: all warnings being treated as errors
make[1]: *** [src/adapter.o] Error 1
2012-12-18 13:43:05 +02:00
Szymon Janc
5a77b4a9ba hcidump: Fix compilation errors due to unaligned memory access
Use bt_get_le* helper functions to access unaligned memory. This fix
number of compilation errors on ARM similar to:

CC     tools/parser/hci.o
tools/parser/hci.c: In function ‘ext_inquiry_data_dump’:
tools/parser/hci.c:797:10 error: cast increases required alignment of
	target type [-Werror=cast-align]
tools/parser/hci.c:797:10: error: cast increases required alignment of
	target type [-Werror=cast-align]
cc1: all warnings being treated as errors
make[1]: *** [tools/parser/hci.o] Error 1
2012-12-18 13:42:50 +02:00
Johan Hedberg
65ad6793a1 doc: Clarify ConnectProfile UUID parameter 2012-12-18 12:37:01 +02:00
Johan Hedberg
f4ee3e4389 doc: Bump AVRCP version from 1.4 to 1.5 in supported-features 2012-12-18 12:34:37 +02:00
Johan Hedberg
8e271de2c1 doc: Add Cycling Speed to supported-features document 2012-12-18 12:33:25 +02:00
Johan Hedberg
1da5a89a6f core: Remove DisconnectRequested signal
This signal is not needed anymore thanks to the RequestDisconnect
callback of the Profile interface.
2012-12-18 12:29:30 +02:00
Johan Hedberg
2beb4eeda3 doc: Fix minor formatting issue in device API 2012-12-18 12:26:41 +02:00
Johan Hedberg
d258ad14a7 doc: Remove left-over mentions of adapter-based agent methods 2012-12-18 12:24:58 +02:00
Johan Hedberg
071981679e audio: Remove unused a2dp_sep_is_playing function 2012-12-18 11:38:09 +02:00
Johan Hedberg
b6ec5fea65 audio: Remove unnecessary a2dp_sep_get_lock function 2012-12-18 11:37:21 +02:00
Johan Hedberg
a174f7b53d audio: Remove unused a2dp_get_sep function 2012-12-18 11:36:15 +02:00
Johan Hedberg
82b25359c9 core: Make sdp-xml encoding defines private 2012-12-18 11:33:51 +02:00
Johan Hedberg
0a4f70772e core: Make sdp-xml functions private that aren't used publically 2012-12-18 11:31:30 +02:00
Johan Hedberg
1ff99151e0 neard: Fix agent reference leak 2012-12-18 11:20:01 +02:00
Johan Hedberg
34f32461e0 core: Fix initiating pairing without a registered agent 2012-12-18 10:16:33 +02:00
Marcel Holtmann
70ce4002b1 client: Restore command prompt when agent finishes 2012-12-18 05:29:11 +01:00
Marcel Holtmann
875c8924af gdbus: Increase the method call timeout to 5 minutes 2012-12-18 05:27:09 +01:00
Marcel Holtmann
84faeb47be client: Handle accepting/rejecting confirmation requests 2012-12-18 05:18:40 +01:00
Marcel Holtmann
f70804bdb9 gdbus: Add helper for sending async error replies 2012-12-18 05:09:59 +01:00
Marcel Holtmann
8044dbbdf1 client: Replace certain messages with printing helper 2012-12-18 04:24:11 +01:00
Marcel Holtmann
567681086f client: Forward input to agent handling if needed 2012-12-18 04:22:00 +01:00
Marcel Holtmann
5557e7b453 client: Add support for handling passkey confirmation 2012-12-18 04:20:40 +01:00
Marcel Holtmann
dae938bcbd client: Use printing helper for agent messages 2012-12-18 04:20:02 +01:00
Marcel Holtmann
fc7ae83f91 client: Add helper function for readline async printing 2012-12-18 04:17:45 +01:00
Marcel Holtmann
d9c6566147 emulator: Add support for Bluetooth host abstraction 2012-12-18 01:11:57 +01:00
Marcel Holtmann
7b72de1142 monitor: Fix whitespace damage 2012-12-18 00:26:44 +01:00
João Paulo Rechi Vita
7d93368c38 test: Update simple-agent to new API
The method org.bluez.Device.Pair() doesn't have arguments anymore. This
commit fixes the following error:

  $ test/simple-agent hci0 4C:B1:99:F1:BC:E9
  Agent registered
  ERROR:dbus.connection:Unable to set arguments (u'/test/agent', u'Keybo
  ardDisplay') according to signature '': <type 'exceptions.TypeError'>:
   Fewer items found in D-Bus signature than in Python arguments
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 586
  , in msg_reply_handler
      reply_handler(*message.get_args_list(**get_args_opts))
    File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 391, i
  n _introspect_reply_handler
      self._introspect_execute_queue()
    File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 378, i
  n _introspect_execute_queue
      proxy_method(*args, **keywords)
    File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 132, i
  n __call__
      **keywords)
    File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 566
  , in call_async
      message.append(signature=signature, *args)
  TypeError: Fewer items found in D-Bus signature than in Python argumen
  ts
2012-12-18 00:22:26 +01:00
Marcel Holtmann
bea034e821 unit: Fix issue with D-Bus client unit test when building packages 2012-12-18 00:12:35 +01:00
Marcel Holtmann
e4cd57b450 build: Add support for building hcidump utility 2012-12-18 00:12:10 +01:00