Commit Graph

757 Commits

Author SHA1 Message Date
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
c682e426ae tools: Add missing newlines to management utility 2012-12-14 16:42:27 +01:00
Marcel Holtmann
7ca701a612 build: Put hid2hci udev rules next to the source code 2012-12-10 22:56:05 +01:00
Marcel Holtmann
ffb795a2e7 test: Move mpris-player utility into tools directory 2012-12-09 20:58:24 +01:00
Marcel Holtmann
9f16982880 test: Move btiotest utility into tools directory 2012-12-09 20:54:33 +01:00
Marcel Holtmann
a18bd79ae1 test: Move bdaddr utility into tools directory 2012-12-09 20:47:10 +01:00
Marcel Holtmann
ab5bedd35e test: Move scotest utility into tools directory 2012-12-09 14:47:43 +01:00
Marcel Holtmann
52e63f4013 test: Move rctest utility into tools directory 2012-12-09 14:44:19 +01:00
Marcel Holtmann
dff1ad9822 test: Move l2test utility into tools directory 2012-12-09 14:37:30 +01:00
Marcel Holtmann
bac2e7e1de test: Move avtest utility into tools directory 2012-12-09 14:30:33 +01:00
Marcel Holtmann
27c68b2d98 build: Move all programs to be installed into bin directory 2012-12-09 11:03:46 +01:00
Marcel Holtmann
e946d6a374 tools: Remove reference to old SDP daemon 2012-12-09 11:03:11 +01:00
Marcel Holtmann
0613f64410 tools: Remove dfutool utility
This tool got replaced with dfu-util from http://dfu-util.gnumonks.org/
2012-12-09 00:50:54 +01:00
Marcel Holtmann
bffd612cad tools: Remove include of compat ppoll header 2012-12-09 00:42:07 +01:00
Marcel Holtmann
4ba84c72f1 tools: Use batocomp function instead of ouitocomp 2012-12-09 00:02:22 +01:00
Johan Hedberg
b8779d2202 Revert "Ensure config.h is included by using CPPFLAGS"
This reverts commit 8a03376544.

The patch needs to be split up and the gdbus/ changes were bogus
compared to the original commit message.

Conflicts:
	Makefile.am
	Makefile.obexd
	profiles/cyclingspeed/cyclingspeed.c
	profiles/heartrate/heartrate.c
	src/error.c
2012-12-07 12:46:04 +02:00
Frédéric Danis
703dd8b404 hciconfig: Remove putkey command
With new storage architecture legacy storage "linkkeys"
file doesn't exist anymore.
2012-12-05 17:24:38 +02:00
Lucas De Marchi
8a03376544 Ensure config.h is included by using CPPFLAGS
Instead of trying to include config.h in each file over the tree and
possibly forgetting to include it, give a "-include config.h" argument
to the compiler so it's guaranteed that a) it will be included for all
source files and b) it will be the first header included.

gdbus/ directory is left out, since it would break other projects using
it.
2012-12-05 17:18:07 +02:00
Lucas De Marchi
b84f6f794b build-sys: Define _GNU_SOURCE in config.h
Instead of defining _GNU_SOURCE in each source file (and potentially
forgetting in some), tell the build system we use extensions and let it
define _GNU_SOURCE in config.h.
2012-12-05 17:17:36 +02:00
Luiz Augusto von Dentz
36803c249d gobex: tools: Fix using BT_IO_TYPE in test-client and test-server 2012-12-04 22:22:07 +01:00
Michał Poczwardowski
77a7ad6ae1 gobex: tools: Fix test-client error message put/get typo 2012-12-04 22:22:06 +01:00
Marcel Holtmann
cd8a24b9fa gobex: build: Remove glib-helper.h support 2012-12-04 22:22:06 +01:00
Luiz Augusto von Dentz
9e1e47425e gobex: tools: Fix test-server to use ERTM while on packet mode
OBEX should only be used with ERTM over L2CAP and set MTU properly
2012-12-04 22:22:05 +01:00
Luiz Augusto von Dentz
26ce1d484f gobex: tools: Fix test-client to use ERTM while on packet mode
OBEX should only be used with ERTM over L2CAP and set MTU properly
2012-12-04 22:22:05 +01:00
Luiz Augusto von Dentz
ae33bcb8a4 gobex: tools: Make test-server to use ERTM
If port is bigger than 31 and stream mode is selected then use ERTM
2012-12-04 22:22:05 +01:00
Luiz Augusto von Dentz
2a94607646 gobex: tools: Make test-client use ERTM
If port is bigger than 31 and stream mode is selected then use ERTM
2012-12-04 22:22:05 +01:00
Johan Hedberg
1c2da64348 gobex: Remove g_obex_packet_find_header
This was exactly the same as g_obex_packet_get_header.
2012-12-04 22:22:03 +01:00
Luiz Augusto von Dentz
68bd9dd92b gobex: add option to set input/output MTU to test-server 2012-12-04 22:22:02 +01:00
Luiz Augusto von Dentz
701f8845b5 gobex: add option to set input/output MTU to test-client 2012-12-04 22:22:02 +01:00
Luiz Augusto von Dentz
971be76c62 gobex: add root support to test-server 2012-12-04 22:22:02 +01:00
Luiz Augusto von Dentz
2c5bb3ec41 gobex: Add Bluetooth support for test-server 2012-12-04 22:22:02 +01:00
Luiz Augusto von Dentz
7e7a99b039 gobex: Add Bluetooth support for test-client 2012-12-04 22:22:02 +01:00
Syam Sidhardhan
cb6fe44ba1 gobex: Remove bogus extra semicolons 2012-12-04 22:22:02 +01:00
Daniele Forsi
f64fe4f401 gobex: Fix compilation when NEED_G_SLIST_FREE_FULL is defined
To use the replacement for g_slist_free_full() both compat.h and
glib-helper.h need to be included.

Fixes:
gobex/gobex.c:911: error: implicit declaration of function 'g_slist_free_full'
tools/obex-server-tool.c:344: error: implicit declaration of function ‘g_slist_free_full’
2012-12-04 22:22:02 +01:00
Luiz Augusto von Dentz
c1b8f95c2a gobex: Make use of g_slist_free_full when elements are dynamically-allocated
This avoid having to iterate twice in the list to free its elements.
2012-12-04 22:22:02 +01:00
Johan Hedberg
3352a36c11 gobex: Allow g_obex_send_rsp to take custom headers 2012-12-04 22:22:01 +01:00