Commit Graph

15 Commits

Author SHA1 Message Date
Andre Guedes
a23a7df78f btsnoop: Remove unused local function and macro 2014-02-17 13:43:35 +02:00
Marcel Holtmann
849cc4f912 tools: Use shared btsnoop.h header file for utility 2014-02-11 11:55:06 -08:00
Marcel Holtmann
007ad371c7 tools: Use be32toh, htobe32, be64toh and htobe64 functions 2014-01-24 21:18:17 -08:00
Marcel Holtmann
66ee9fe10c tools: Fix typo in error message 2013-08-25 11:20:20 -07:00
Marcel Holtmann
d815cc4adf tools: Use btsnoop constants in conversion utility 2013-08-23 09:52:49 -07:00
Marcel Holtmann
c074bb3659 tools: Add helper for extracting advertising data out of btsnoop files 2013-01-08 22:30:48 -08:00
Marcel Holtmann
5fee6d6bc0 tools: Add helper for extracting EIR data out of btsnoop files 2013-01-08 19:46:29 -08:00
Marcel Holtmann
68c6916fe2 tools: Add helper for extracting SDP PDUs out of btsnoop files 2013-01-08 18:50:42 -08: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
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
Johan Hedberg
a036d5febc btsnoop: _GNU_SOURCE is needed for O_CLOEXEC on some systems 2012-11-28 16:36:08 +02:00
Johan Hedberg
e24537ba87 btsnoop: Fix missing sys/stat.h include needed by S_IRUSR 2012-11-28 16:30:23 +02:00
Johan Hedberg
ce084da2e7 btsnoop: Fix signedness compilation errors
This patch fixes the following signedness comparison errors:

tools/btsnoop.c: In function 'command_merge':
tools/btsnoop.c:221:21: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
tools/btsnoop.c:263:14: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
2012-11-06 19:05:46 +02:00
Marcel Holtmann
d67a5c26b1 tools: Add tool for merging multiple btsnoop traces into one 2012-11-04 21:50:46 +01:00