Commit Graph

742 Commits

Author SHA1 Message Date
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
Johan Hedberg
ddb69649e8 gobex: Merge gobex-transfer.h into gobex.h 2012-12-04 22:22:01 +01:00
Johan Hedberg
562f84396b gobex: Fix missing newline in test-server error log 2012-12-04 22:22:01 +01:00
Johan Hedberg
d713e186e5 gobex: Add g_obex_send_rsp convenience function 2012-12-04 22:22:01 +01:00
Johan Hedberg
0e2afe102e gobex: Fix test-server/client file creation mode 2012-12-04 22:22:01 +01:00
Johan Hedberg
14d2bde30d gobex: Add Get support to test-client and test-server 2012-12-04 22:22:01 +01:00
Johan Hedberg
c869ca28b8 gobex: Make use of va-args headers in higher level functions 2012-12-04 22:22:01 +01:00
Johan Hedberg
815218c7ef gobex: Make transfer functions take va-args header lists 2012-12-04 22:22:01 +01:00
Johan Hedberg
58cd14d209 gobex: Remove _ID_ from header type definitions 2012-12-04 22:22:01 +01:00
Johan Hedberg
cdcde59687 gobex: Add va-args based packet creation support 2012-12-04 22:22:01 +01:00
Johan Hedberg
bfb84a44a7 gobex: Add put streaming support to test-server 2012-12-04 22:21:59 +01:00
Johan Hedberg
f25c695d22 gobex: Print more informative disconnect message in test-client 2012-12-04 22:21:59 +01:00
Johan Hedberg
10dfec83a1 gobex: Rename g_obex_put to g_obex_put_req 2012-12-04 22:21:59 +01:00
Johan Hedberg
d2c30f5c78 gobex: Update test-server to use per-opcode request handlers 2012-12-04 22:21:59 +01:00
Johan Hedberg
6cfe881554 gobex: Add basic put request parsing to test-server 2012-12-04 22:21:59 +01:00
Johan Hedberg
49514b2cc4 gobex: Track last received request internally and remove g_obex_response 2012-12-04 22:21:59 +01:00