Commit Graph

118 Commits

Author SHA1 Message Date
Johan Hedberg
29c494df12 Make LE_LINK define private to hcitool.c for now
The value 0x03 isn't something that exists in the core spec, so it
shouldn't be used in the same API as SCO/ACL link types. Since there are
some experimental kernel patches that use it this patch makes it private
to hcitool.c.
2010-11-21 20:01:20 +01:00
Sheldon Demario
bca4b3c88b Print LE link type on hcitool 2010-11-11 12:04:47 +02:00
Ville Tervo
e49d5d3738 Use default adapter for LE commands
Choose default adapter if device was not specified on the command line.
2010-07-16 13:51:57 -03:00
Vinicius Costa Gomes
65d1af240b Add ledc command to hcitool
This command allows for low-level LE connections to be disconnected
by handle.
2010-07-13 17:34:58 -03:00
Vinicius Costa Gomes
71716c2a00 Add handle and timeout parameters to hci_le_create_conn
Now hci_le_create_conn is more consistent with hci_create_conn, both
have a handle out parameter and a timeout.
2010-07-12 20:11:43 -03:00
Vinicius Costa Gomes
c8e88ab534 Add lecc command to hcitool
This command allows the creation of LE Connections to remote devices.
The command is useful for testing if the local device is able to start
connections and if the remote device is able to receive connection
requests.
2010-07-08 21:05:36 -03:00
Vinicius Costa Gomes
46d1c28faf Fix not respecting the user's endianism for LE Scan
When setting LE Scan parameters we were assuming that the user was using
a Little Endian machine.
2010-07-08 21:05:36 -03:00
Vinicius Costa Gomes
9438aa4682 Add lescan command to hcitool
This is a sample implementation of the LE Scan procedure.
2010-07-06 20:17:38 -03:00
Marcel Holtmann
9184e2eeb7 Update copyright information 2010-01-01 17:08:17 -08:00
Johan Hedberg
1d7afe8211 Fix another variable initialization 2009-10-02 11:19:05 +02:00
Steve Grubb
2e926fb016 Fix memory leaks
I was doing some code reviews of the 4.54 release and found a few memory
leaks. These are mostly in error paths.
2009-10-02 11:18:16 +02:00
Gustavo F. Padovan
28faab63be Fix memory leaks in hciconfig and hcitool
Some printfs were using functions that return dynamic allocated memory
as parameters.
2009-02-10 16:40:47 +01:00
Marcel Holtmann
8dcd4a1f5e Add delay to have 2.1 setup settle before requesting features again 2009-02-03 01:32:10 +01:00
Marcel Holtmann
9c0b5859e6 Fix mostly every warning caused by -Wsign-compare 2009-01-29 17:58:28 +01:00
Marcel Holtmann
fb333f1c88 Update copyright information 2009-01-01 19:33:20 +01:00
Johan Hedberg
efcfad7c00 Get rid of format string warnings with recent gcc versions
Recent gcc versions, like 4.3.2 from ubuntu intrepid, give warnings like
"format not a string literal and no format arguments" without this
patch.
2008-10-20 01:10:11 +03:00
Marcel Holtmann
4652763c85 Improve reading of local and remote extended features 2008-09-29 02:50:06 +02:00
Marcel Holtmann
ea3f9b2d64 Allow specifying of reason for the disconnect 2008-08-27 14:47:31 +02:00
Marcel Holtmann
1e23f60da1 Use const char for usage text 2008-08-15 00:17:29 +02:00
Marcel Holtmann
bbd957c4d9 Add support for reading/setting the link policy 2008-06-12 21:53:32 +00:00
Marcel Holtmann
e823c15e43 Update copyright information 2008-02-02 03:37:05 +00:00
Marcel Holtmann
6efce5841c Add refresh option to re-request device names 2007-09-14 11:25:34 +00:00
Marcel Holtmann
7d7658ad2f Show connection link type correctly 2007-09-10 18:47:30 +00:00
Marcel Holtmann
5542ce34cf Fix decoding of extended pages number 2007-06-16 11:31:41 +00:00
Marcel Holtmann
607695ed10 Update copyright information 2007-01-13 17:48:12 +00:00
Johan Hedberg
f1e35f0b9e More accurate class of device decoding for hcitool and hciconfig 2006-12-20 10:40:46 +00:00
Marcel Holtmann
59a4bc3afb Use multibyte friendly checks instead of isprint() 2006-11-26 09:17:15 +00:00
Marcel Holtmann
b08d30eb4d Fix major class count calculation error 2006-09-29 11:42:14 +00:00
Marcel Holtmann
8ee8041f8a Fix endian issue with periodic inquiry 2006-09-20 08:47:57 +00:00
Marcel Holtmann
a229e05f0a Add support for periodic inquiry mode 2006-09-03 10:53:18 +00:00
Marcel Holtmann
ff9745b222 Make use of create_name() 2006-07-26 13:03:54 +00:00
Marcel Holtmann
9fab0f8bb8 Only read remote extended features if local adapter supports it 2006-06-17 10:35:00 +00:00
Marcel Holtmann
403066f6cd Cleanup main function declarations 2006-04-28 14:30:59 +00:00
Marcel Holtmann
da7aed3f3f Use the correct device for reading the local clock 2006-01-18 17:45:51 +00:00
Marcel Holtmann
f2e48c44a7 Update copyright information 2006-01-03 13:28:56 +00:00
Marcel Holtmann
632a943277 Big cleanup of CVS relics 2005-10-29 22:36:31 +00:00
Marcel Holtmann
97a6bcbbe3 Allow clear text IAC values 2005-10-21 11:44:26 +00:00
Marcel Holtmann
bf1758786c Add support for inquiry access codes 2005-09-29 11:13:25 +00:00
Marcel Holtmann
9848c1fa4e Show supported commands also in clear text 2005-09-07 16:15:39 +00:00
Marcel Holtmann
ad3049f07e Use bt_free() to free the memory allocated by lmp_featurestostr() 2005-08-05 07:34:55 +00:00
Marcel Holtmann
8ac83f1424 Correctly terminate the device name string 2005-08-05 03:24:28 +00:00
Marcel Holtmann
1f422e5f2b Fix some GCC 4.0 warnings 2005-07-05 21:15:41 +00:00
Marcel Holtmann
cbbe4f3f90 Don't show empty names 2005-07-03 13:01:52 +00:00
Marcel Holtmann
a32c06bc29 Update reading of local Bluetooth clock 2005-07-03 10:08:26 +00:00
Marcel Holtmann
1d2e71b109 Replace non-printable characters in device names 2005-06-17 12:10:54 +00:00
Marcel Holtmann
3257d9b3a8 Fix program error codes on memory allocations 2005-06-16 21:25:49 +00:00
Marcel Holtmann
cb079810a5 Use the new textfile library 2005-04-22 12:18:52 +00:00
Marcel Holtmann
70e5fac9bd Include sys/param.h for PATH_MAX 2005-04-22 11:52:29 +00:00
Marcel Holtmann
f5a214f76f Set the storage directory through ${localstatedir} 2005-04-21 20:18:09 +00:00
Marcel Holtmann
be0264a76e Use unlimited inquiry responses as default 2005-04-18 22:23:55 +00:00