Commit Graph

13393 Commits

Author SHA1 Message Date
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
Marcel Holtmann
4b723a4493 hcidump: Add private header for L2CAP structures 2012-12-18 00:00:39 +01:00
Marcel Holtmann
48a6b48ae2 hcidump: Add missing declaration of amp_assoc_dump 2012-12-17 23:58:24 +01:00
Marcel Holtmann
5ab3837731 hcidump: Fix includes for parser functions 2012-12-17 23:57:52 +01:00
Marcel Holtmann
aaf1164120 hcidump: Add support for reading new data link btsnoop files 2012-12-17 23:53:08 +01:00
Johan Hedberg
fdc4bdb9f6 hcidump: Print all HCI_LE_Create_Connection parameters 2012-12-17 23:53:08 +01:00
Andrei Emeltchenko
00c99efd84 hcidump: Decode Read Data Block Size HCI cmd
Decode Read Data Block Size HCI command and command status.

 < HCI Command: Read Data Block Size (0x04|0x000a) plen 0
 > HCI Event: Command Complete (0x0e) plen 10
    Read Data Block Size (0x04|0x000a) ncmd 1
    status 0x00
    Max ACL 1492 Block len 1492 Num blocks 4
2012-12-17 23:53:08 +01:00
Andrei Emeltchenko
7c2544bd84 hcidump: Decode Num Completed Data Blocks
Adds decoding Number Of Completed Data Blocks Event

> HCI Event: Number Of Completed Data Blocks (0x48) plen 9
    Total num blocks 4 Num handles 1
      Handle 0x0001: Num complt pkts 1 Num complt blks 1
2012-12-17 23:53:08 +01:00
Luiz Augusto von Dentz
d94ff6e9e3 hcidump: Add parsing for GeneralReject PDU 2012-12-17 23:53:08 +01:00
Luiz Augusto von Dentz
bebc44c409 hcidump: Add parsing for AddToNowPlaying PDU 2012-12-17 23:53:08 +01:00
Luiz Augusto von Dentz
28d3faafee hcidump: Add parsing for Search PDU 2012-12-17 23:53:08 +01:00
Luiz Augusto von Dentz
4ec67ee8eb hcidump: Add parsing for PlayItem PDU 2012-12-17 23:53:08 +01:00
Luiz Augusto von Dentz
e985e6389f hcidump: Add parsing for GetItemAttributes PDU 2012-12-17 23:53:08 +01:00
Luiz Augusto von Dentz
69a49775d5 hcidump: Add parsing for ChangePath PDU 2012-12-17 23:53:08 +01:00
Luiz Augusto von Dentz
7d8b062ee9 hcidump: Add parsing for GetFolderItems PDU 2012-12-17 23:53:07 +01:00