Commit Graph

12914 Commits

Author SHA1 Message Date
Max Krasnyansky
1b718f2838 hcidump: Fragment reassemble. 2012-12-17 23:52:41 +01:00
Max Krasnyansky
3d628ac3ac hcidump: PSM tracking fix. 2012-12-17 23:52:41 +01:00
Max Krasnyansky
b793fc1fed hcidump: Add supprot for RAW(unparsed) mode. 2012-12-17 23:52:40 +01:00
Max Krasnyansky
21e0f9e507 hcidump: ascii_dump typo fix. 2012-12-17 23:52:40 +01:00
Max Krasnyansky
08d3546855 hcidump: PSM tracking (cid to psm mapping). 2012-12-17 23:52:40 +01:00
Max Krasnyansky
a6996ea00b hcidump: Initial implementation of CID to PSM mapping. 2012-12-17 23:52:40 +01:00
Max Krasnyansky
c6988203e8 hcidump: Improved option parsing. 2012-12-17 23:52:40 +01:00
Max Krasnyansky
de4d686b6b hcidump: Support for multiple signalling messages in on packet. 2012-12-17 23:52:40 +01:00
Max Krasnyansky
0dd70248af hcidump: Cleanup 2012-12-17 23:52:40 +01:00
Max Krasnyansky
be62a42504 hcidump: Use unified structure to pass frame info to all layers. 2012-12-17 23:52:40 +01:00
Max Krasnyansky
eef0b3cea5 hcidump: Write/read dumps 2012-12-17 23:52:40 +01:00
Max Krasnyansky
806c263bc3 hcidump: Initial support for read/writing dump files. 2012-12-17 23:52:40 +01:00
Max Krasnyansky
4f7fc59cfc hcidump: Cleanup 2012-12-17 23:52:40 +01:00
Max Krasnyansky
cdfd31fe98 hcidump: Fixed HCI command mapping tables. ocf's are not sequential. 2012-12-17 23:52:40 +01:00
Max Krasnyansky
e317caffda hcidump: Correct map for link ctl commands. 2012-12-17 23:52:40 +01:00
Max Krasnyansky
362ff59872 hcidump: Display commands and events in human readable format :) 2012-12-17 23:52:40 +01:00
Max Krasnyansky
f8a7b582a3 hcidump: Improved event printing. 2012-12-17 23:52:40 +01:00
Max Krasnyansky
4cfc753e30 hcidump: Added info req/rsp 2012-12-17 23:52:40 +01:00
Max Krasnyansky
46f37642bf hcidump: L2CAP parsing. 2012-12-17 23:52:40 +01:00
Max Krasnyansky
a4ce812250 hcidump: Generic parser library. 2012-12-17 23:52:39 +01:00
Max Krasnyansky
cde05014b3 hcidump: Improved packet parser and output format. 2012-12-17 23:52:39 +01:00
Max Krasnyansky
b689aca5d8 hcidump: Support for socket filter. Nicer output. 2012-12-17 23:52:39 +01:00
Max Krasnyansky
cc27cdb4e7 hcidump: Minor fixes. 2012-12-17 23:52:39 +01:00
Max Krasnyansky
ac0f444de3 hcidump: Added hci command, acl data, event and l2cap parsing. 2012-12-17 23:52:39 +01:00
Max Krasnyansky
7a12d391ef hcidump: Initial revision 2012-12-17 23:52:31 +01:00
Marcel Holtmann
b6442a63bd lib: Correct AMP assoc data structures 2012-12-17 23:42:29 +01:00
Marcel Holtmann
d54a7fe75a lib: Add definition for Num Completed Data Blocks event 2012-12-17 23:36:17 +01:00
Marcel Holtmann
0ab93149e0 lib: Add definition for Read Data Block Size HCI command 2012-12-17 23:34:34 +01:00
Marcel Holtmann
83b21cc152 core: Hide /var/run/sdp support behind command line option
By default /var/run/sdp support has been disabled from now on. It is not
the preferred way of handling SDP records. For testing and development
purposes it can be switched back on via --compat command line option.
2012-12-17 20:37:37 +01:00
Marcel Holtmann
82e196d32a emulator: Relax license restrictions on device emulation 2012-12-17 20:37:37 +01:00
Marcel Holtmann
9254a9476d monitor: Relax license restrictions on structures 2012-12-17 20:37:36 +01:00
Johan Hedberg
a9d896b9a0 core: Create distinct setting update functions
Create clear setting update functions for pairable, connectable and
discoverable.
2012-12-17 21:10:45 +02:00
Johan Hedberg
d2068f26fe core: Fix updating adapter settings when powered off 2012-12-17 21:00:16 +02:00
Johan Hedberg
4365fd382a core: Fix passing right signedness err to strerror 2012-12-17 20:29:56 +02:00
Frédéric Danis
63e87cbadd TODO: Mark convert storage to ini-file item as done 2012-12-17 17:53:47 +02:00
Frédéric Danis
73a1dbfef9 bluetoothd: Remove storage info from man page 2012-12-17 17:53:14 +02:00
Frédéric Danis
3f7e43ec65 adapter: Fix invalid read in conversions
==8664== Invalid read of size 1
==8664==    at 0x45B214: convert_entry (adapter.c:2325)
==8664==    by 0x456A44: textfile_foreach (textfile.c:464)
==8664==    by 0x45A823: convert_file (adapter.c:2387)
==8664==    by 0x45ABDE: convert_device_storage (adapter.c:2869)
==8664==    by 0x45F6CE: adapter_init (adapter.c:3043)
==8664==    by 0x4594D9: btd_manager_register_adapter (manager.c:176)
==8664==    by 0x46DB3E: mgmt_event.part.38 (mgmt.c:1206)
==8664==    by 0x4E79D52: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
==8664==    by 0x4E7A09F: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
==8664==    by 0x4E7A499: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
==8664==    by 0x409D53: main (main.c:513)
==8664==  Address 0x60b99c1 is not stack'd, malloc'd or (recently) free'd
==8664==
2012-12-17 17:53:13 +02:00
Frédéric Danis
06b401839e adapter: Remove support of pincodes storage file
This is no more supported in new storage.
2012-12-17 17:53:11 +02:00
Frédéric Danis
a4f853f6d3 proximity: Use new storage architecture 2012-12-17 17:53:08 +02:00
Frédéric Danis
4a0ae77acf adapter: Convert proximity file 2012-12-17 17:53:06 +02:00
Frédéric Danis
a6836509c1 gatt: Use new storage architecture 2012-12-17 17:53:04 +02:00
Frédéric Danis
5f8e8769a5 adapter: Convert gatt file 2012-12-17 17:53:01 +02:00
Frédéric Danis
a5a2ed54e9 device: Load appearance from storage
Update adapter_update_found_devices() to store appearance in device.

Remove no more used functions in storage.[ch].
2012-12-17 17:52:49 +02:00
Frédéric Danis
d3ff2e3395 adapter: Convert appearances file 2012-12-17 17:52:35 +02:00
Frédéric Danis
68520a3ddd doc: Add device appearance in settings-storage doc 2012-12-17 17:52:07 +02:00
Frédéric Danis
0cc8872fe0 alert: Use ccc file from device storage 2012-12-17 17:51:52 +02:00
Frédéric Danis
5733cedd36 adapter: Add btd_adapter_for_each_device() 2012-12-17 17:51:50 +02:00
Luiz Augusto von Dentz
13b43ccb28 core: Fix emitting changes to properties on power off
Discoverable and pairable are independent to the powered state so they
should not be changed just because the controller power state is set to
off.
2012-12-17 17:51:13 +02:00
Luiz Augusto von Dentz
35b3f445a0 core: Remove mode session code
Mode session no longer are needed since RequestSession is gone
2012-12-17 17:51:01 +02:00
Luiz Augusto von Dentz
34bc7e486f core: Simplify set_powered to not use set_mode 2012-12-17 17:50:59 +02:00