Commit Graph

757 Commits

Author SHA1 Message Date
Anderson Lizardo
78889501f8 Fix trivial coding style issues on pointer declarations and casting
Avoid using C++ style pointer declarations like "char* ptr", as most
BlueZ code uses "char *ptr".
2012-08-26 09:37:06 +01:00
Mikel Astiz
902e9f2de2 mgmt: Add reason to device disconnect event
Extend the management API with the disconnect reason, as now reported
by the Kernel in MGMT_EV_DEVICE_DISCONNECTED.
2012-08-17 12:26:30 +03:00
Anderson Lizardo
6ade0ff7a2 btmgmt: Fix endianness conversion
Flags field has 32-bit size. Same issue was fixed for mgmtops in
1801a4d45d.
2012-08-13 13:26:54 +03:00
Lucas De Marchi
b96925739d rfcomm: Fix typo in man page 2012-08-09 22:52:38 -07:00
Lucas De Marchi
5bec57420b rfcomm: Remove support for configuration file 2012-08-09 22:52:38 -07:00
Lucas De Marchi
dde5b23665 rfcomm: Fix checking return value instead of errno
We were checking by a positive return value instead of checking by -1
and errno. However when there's no support for TTY kernel returns
EOPNOTSUPP as usual, which in the end will have a return value of -1
and errno will be set to EOPNOTSUPP.
2012-08-09 22:52:37 -07:00
Gustavo Padovan
2f5f6a5de0 btmgmt: move it to tools 2012-07-10 11:20:34 -03:00
Tedd Ho-Jeong AN
4a3f496862 hciattach: fix return length after reading the patch file
This patch fixes the issue that returns always 0 after reading the patch
line.
2012-07-04 15:39:54 +03:00
Pavel Raiskup
c0d81fcfbf sdptool: Fix dropping of the list head
assigning sdp_list_append(0, ...) to "apseq" on line 2591 will
drop first item in list got by sdp_list_append three lines before.
2012-06-28 14:51:09 +03:00
Johan Hedberg
3e53b3862c hciattach: Add basic Three-wire UART support 2012-05-31 15:06:19 +03:00
Tom Gundersen
35beaaa5b3 udev: remove deprecated function
This function has in the past returned "/sys" unconditionally. As of
udev-183 it is gone, so just replace it with the string.
2012-05-27 22:35:59 +03:00
Tedd Ho-Jeong An
8d25f9528b hciattach: Add support for Intel Bluetooth device
This patch enables the Intel Bluetooth device (UART sku) over the H4
protocol.  It is responsible for bring up the device into known state by
configuring the baudrate and applying the patches, if required.
2012-05-16 10:36:20 +03:00
Anderson Lizardo
ff794ffae4 tools: Fix tab misuse 2012-05-10 16:43:16 -07:00
Johan Hovold
870fb2619d csr_bcsp: fix link establishment
The current link-establishment implementation times out if a packet is
not received after the link is active (i.e. reception of CONF_RESP).

Fix by making sure that the link establishment loop in open is
terminated when ubcsp sets the UBCSP_PACKET_SENT flag (on reception of
CONF_RESP) rather than UBCSP_PACKET_RECEIVED (on reception of any later
packages).
2012-05-10 16:39:57 -07:00
Szymon Janc
e26b01d25b Move common code to sdp to avoid duplication
LanguageBaseAttributeIDList is set from few places and each time static
function was copied and used for that. Move this funtion to sdp code
and use that instead of copying code.
2012-03-28 13:17:39 +03:00
Marcel Holtmann
f30c71d3e0 hciattach: Remove some unneeded includes 2012-02-26 18:40:25 -08:00
Marcel Holtmann
061a23ca74 hciattach: Add new HCI UART flags 2012-02-26 18:40:25 -08:00
Vinicius Costa Gomes
a7be2034ca hciconfig: Fix compiler warnings related to unaligned memory access 2012-02-14 14:39:15 +02:00
Vinicius Costa Gomes
4725ddffe2 hciconfig: Fix using old-style initializers 2012-02-14 14:39:05 +02:00
Vinicius Costa Gomes
42dc0063e4 tools: Fix using old-style initializers 2012-02-14 14:28:58 +02:00
Luiz Augusto von Dentz
21da0977bb sdptool: Add GoepL2capPsm decoding support 2012-02-07 12:34:12 +02:00
Andrei Emeltchenko
efe0957092 hciconfig: Print features for AMP devices
Check for HCI device type, the magic shift is due to dev type is packed
to dev_info type.
2011-12-08 11:39:40 +02:00
Anderson Lizardo
e40bc80bf5 csr_bcsp: Fix missing errno attribution
do_command() is supposed to set errno if returning -1.
2011-11-17 13:57:53 +02:00
Anderson Lizardo
7232da34fa bccmd: Fix overwriting errno value
On error, transport_read() returns -1 and sets errno.
2011-11-17 13:57:53 +02:00
Anderson Lizardo
382c867b09 hciconfig: Fix errno handling convention
Variables which are assigned to the errno variable (usually called
"err") should be negative, and "-err" should be used where a positive
value is needed.
2011-11-17 13:57:53 +02:00
Anderson Lizardo
100527bd5a hcitool: Fix errno handling convention
Variables which are assigned to the errno variable (usually called
"err") should be negative, and "-err" should be used where a positive
value is needed.
2011-11-17 13:57:53 +02:00
Johan Hedberg
6ecbffae1d hcitool: Fix EIR parsing
There were missing buffer size checks and wrong assumptions about the
EIR data length (core spec 4.0 defines it to be max 31 bytes, so the
name can be max 29 bytes).
2011-10-14 14:23:05 +03:00
Vinicius Costa Gomes
402398c7dc Add support for parsing the remote name during LE Scan 2011-10-14 10:48:07 +03:00
Vinicius Costa Gomes
6c85d28c8e Add support for cancelling a LE Scan with Control-C 2011-10-07 19:55:42 +03:00
Johan Hedberg
d9ae5bead2 Filter duplicates by default with hcitool lescan 2011-10-03 15:16:24 +03:00
Yegor Yefremov
2f440ad7b5 hciattach: fix serial speed setting for wl1271
override speed setting if firmware script issues serial settings command,
otherwise the value given in the firmware script will be overridden.

Example:

hciattach /dev/ttyO1 texas 115200

will fail, because /dev/ttyO1 will be opened with 115200 b/s, then
the firmware script will set the buadrate to 3000000 b/s, after UART init
hciattach.c will set the baudrate to 115200, so communication is broken.

The only correct way is to set both speeds:

hciattach -s 115200 /dev/ttyO1 texas 3000000

With this patch only initial speed must be specified. The former semantic
will be preserved in case the firmware script doesn't provide serial
settings action.

Tested with wl1271 and firmware TIInit_7.2.31.bts
2011-09-22 20:19:11 +09:00
Lucas De Marchi
fcb426c76a Fix common misspelled words
Accounting of misspelled words, as detected by codespell:

acording      2
ancilliary    1
appropiate    1
atribute      1
cant          1
comming       2
gracefull     1
lenght        1
mispelled     1
occured       1
occurences    1
ocurred       3
prefered      1
presense      1
reponse       1
seperate      1
succesful     1
successully   1
sucessfull    1
sucessfully   1
2011-07-03 14:36:14 +03:00
Slawomir Bochenski
f8e0916e2d Remove unnecessary jumps 2011-06-01 14:41:01 +03:00
Szymon Janc
8af5f43a69 Fix empty parameter list in functions declarations 2011-05-18 09:05:55 -07:00
Johan Hedberg
2076574365 Fix unused variable warnings reported by GCC 4.6 2011-05-15 01:57:12 +03:00
Szymon Janc
11e433f53e Fix redundant null check on calling free() 2011-05-15 01:47:06 +03:00
Johan Hedberg
4ae0fb61c2 Fix minor coding style issues in hid2hci 2011-04-28 12:57:56 -07:00
Kay Sievers
94b0a8f405 Update hid2hci tool from udev codebase 2011-04-28 12:54:31 -07:00
Bruna Moreira
cef8838500 Use HCI_MAX_EIR_LENGTH instead of hard-coded value 2011-04-27 16:25:02 -07:00
Johan Hedberg
3b9b749946 Fix LMP version string in hciconfig
Previously the HCI version was reported instead of the LMP one.

Reported-by: Arno Willig <akw@thinkwiki.org>
2011-03-28 15:42:23 +03:00
Marco Sinigaglia
39454251ef Adjust LE command timeout and API
The timeout value has been hardcoded on hci_send_req call and, instead,
it should be passed from above (for ex from hci_le_set_scan_enable).
This patch removes the hardcoded value from hci_send_req and it
increases the timeout to 1000ms.
2011-03-10 11:11:17 +02:00
Claudio Takahasi
dc920afdf5 hcitool: add "whitelist" option to create LE connections
If "whitelist" option is given, the peer address and type will be
ignored and the white list will be used to determine which advertiser
to connect to.
2011-03-04 16:45:50 -03:00
Claudio Takahasi
81a57bd00d hcitool: add random address type to LE Add to White List 2011-03-04 16:45:28 -03:00
Claudio Takahasi
3f6465163d hcitool: use defined constants for address type 2011-03-04 16:45:11 -03:00
Arun Kumar Singh
5292112420 hcitool: Add command to clear LE White List 2011-03-01 16:16:42 -03:00
Arun Kumar Singh
fc10b2c6f1 hcitool: Add command to read size of LE White List 2011-03-01 16:16:40 -03:00
Arun Kumar Singh
d68ff374da hcitool: Add command to remove a device from LE white list 2011-03-01 16:16:38 -03:00
Claudio Takahasi
7e018c6e02 hcitool: Change commands struct formating 2011-03-01 16:16:37 -03:00
Arun Kumar Singh
265059a149 hcitool: Add command to add a device to LE White List 2011-03-01 16:16:35 -03:00
Andre Guedes
47316f8c80 hcitool: fix interval and window parameters
Set interval and window parameters properly if --discovery option
is present in lescan command.

According to the Bluetooth spec, during a general or limited discovery
procedure the scan interval and the scan window should be set to
11.25 ms. If --discovery option isn't present, both parameters are set
to the default value (10 ms) defined in LE Set Scan Parameters Command.

According to that command description, the interval and window parameters
should be set as follows:

	Time = N * 0.625 msec

So, in order to set the time values to 11.25 and 10 ms, the parameters
should be equal to 18 (0x0012) and 16 (0x0010), respectively.
2011-02-24 17:40:22 -03:00
Andre Guedes
cf81589842 hcitool: add discovery procedure to lescan command
This patch adds the option [--discovery=g|l] to lescan command. Use
this option to enable the general or limited discovery procedure.
If discovery option is not given scanning will display all results
ignoring the AD flags.
2011-02-24 17:39:12 -03:00
Claudio Takahasi
9152acfbc7 Add hcitool command to change the parameters of a given LE connection
Allows the LE master to start the Connection Parameter Update Procedure.
Parameters values consistency are not verified on purpose allowing
invalid values to test fail scenarios.
2011-02-23 00:27:22 -03:00
Claudio Takahasi
8e7af67a19 Remove unneeded comma in the hcitool commands declaration 2011-02-23 00:27:15 -03:00
Andrei Emeltchenko
61b3ce7194 hcitool: Add bdaddr type option to lecc 2011-02-11 14:07:22 -08:00
Andrei Emeltchenko
2cc99a5ea6 Bluetooth: hcitool: add option for LE_Scan_Type parameter
The LE_Scan_Type parameter controls the type of scan to perform.
2011-02-11 13:41:28 -08:00
Gustavo F. Padovan
12eac6993b rename: tools/main.c to tools/rfcomm.c 2011-02-04 06:55:46 +02:00
Andre Dieb Martins
ea6c8a871f Fix hciconfig leadv returned response
Fixes hciconfig leadv returned response by treating both status of the
command execution and HCI error code.
2011-02-01 11:07:00 +02:00
Claudio Takahasi
a026163d2c Add option to enable privacy during scanning to hcitool
When privacy is enabled, random address is used during active scanning.
The non-resolvable private address shall be set using hciconfig.
2011-01-31 10:37:05 +02:00
Claudio Takahasi
150f7a26db Add option to set LE random address to hciconfig 2011-01-31 10:37:02 +02:00
Claudio Takahasi
f2861a8c79 Add LE read supported states for hciconfig
Displays the states and state combinations that the link layer
supports. Usage: hciconfig hcix lestates
2010-12-29 23:48:19 +02:00
Michal Labedzki
ed2c65ad9d Coding style fixes for lib and tools 2010-12-21 10:50:59 +02:00
Michal Labedzki
57aa201c25 Fix tools UI to avoid program launch mistakes.
hciconfig: warrning user on unknown commands
hcitool: return error on unknown command in hcitool
fix length size in comparision to avoid ambiguity commands
check if command number of arguments is correct
2010-12-20 17:39:06 +02:00
Suraj Sumangala
4e0e44626d hciattach: download configuration at user requested baud rate
This patch support downloading configuration for Atheros AR300x HCI UART
chip at user requested baud rate instead of the initial baud rate.
2010-11-23 12:09:20 +01:00
Suraj Sumangala
429877099f hciattach: make set_speed return error if any operation fails
This patch lets set_speed function changing UART baud rate to return an
error code if any one operation fails instead of returning only the last
operation's status.
2010-11-23 12:08:54 +01:00
Wade Brown
53095459ee Add a runtime option to set the BCSP communication rate 2010-11-23 10:01:58 +01:00
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
Suraj Sumangala
0e32ca24d1 hciattach: send hci commands after hci socket bring up
This patch makes The Atheros AR300x specific initialization code
to send power management command over HCI socket after bringing up
the device.
2010-11-19 17:24:17 +02:00
Sheldon Demario
bca4b3c88b Print LE link type on hcitool 2010-11-11 12:04:47 +02:00
Anderson Lizardo
566b05540b hciattach: Bring up device before sending commands over socket
The Texas specific initialization code sends HCI commands over the
bluetooth socket, but does not bring up the device. This gives these
errors when running "hciattach /dev/ttyUSB0 texas":

Found a Texas Instruments' chip!
Firmware file : /lib/firmware/TIInit_XX.Y.ZZ.bts
Loaded BTS script version 1
Cannot send hci command to socket: Network is down
Can't initialize device: Network is down
2010-11-11 11:25:00 +02:00
Suraj Sumangala
29fef5b02f Bluetooth: Add support to specify patch download location
This patch add support for specifying patch download address for
AR300x patch download logic.
2010-10-05 08:56:13 +02:00
Marcel Holtmann
3fc9a5d2f3 Also for LE only devices enable the event mask 2010-10-04 11:11:09 +02:00
Marcel Holtmann
5fd66bcbff Set event mask bit if LE is supported 2010-10-04 11:04:15 +02:00
Jaikumar Ganesh
9ee9e43527 Fix Headset Audio gateway SDP record.
Headset Audio Gateway does not have the Supported Features
in the SDP records according to the HSP specification.
2010-09-22 10:21:48 +03:00
Anderson Briglia
5ca342ccaa hciconfig: add LE_SET_ADVERTISE_ENABLE cmd
This patch implements two new hciconfig commands: leadv and noleadv.
These new hciconfig flags are responsible to LE_SET_ADVERTISE_ENABLE
command implementation.
2010-09-06 19:07:47 +03:00
Matthew Wilson
c6be8dcf9e Firmware download for Qualcomm Bluetooth devices
Configures device address from hciattach parameter.
UART speed limited to 115200.
Requires separate device specific firmware.
2010-08-23 23:39:01 +03:00
Suraj Sumangala
848b12d537 Add host level support for Atheros AR300x device
This patch implements support for the Atheros AR300x Bluetooth chip in
hciattach. It supports configuration download and power management
configure feature.
2010-08-18 13:23:20 +03:00
Suraj Sumangala
e54f6d67ac Bluetooth: Option to enable power management from host
This provides a new option for hciattach to enable hardware specific
power management from host.
This option by default will be disabled for existing devices
2010-08-17 17:29:58 +03:00
Claudio Takahasi
df3c8e1ebb Add GATT SDP record for sdptool
Extend sdptool to allow to add GATT SDP record. Devices that support
GATT over BR/EDR shall publish GATT record. This implementation intend
to be a reference for GATT SDP record creation and it can be a helper
to GATT servers implemented outside BlueZ.
2010-08-09 18:06:43 -04: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
Johan Hedberg
6e6252937e Add hciattach support for initializing a device into raw mode
This patch adds a -r switch to hciattach that can be used to initialize
a device into raw mode. This is accomplished with the help of the new
HCIUARTSETFLAGS ioctl.
2010-07-12 11:52:27 -03:00
Johan Hedberg
dd84462f51 Add missing hciattach command line switches to the manual page
This patch adds some previously undocumented command line switches to
the hciattach manual page.
2010-07-09 17:19:24 -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
Gustavo F. Padovan
9df2edb4ee Add "hciX" to hciconfig man page 2010-07-06 10:45:49 -03:00
Vladimir Davydov
c637b9ba67 hciattach: Fix the timeout handling code
The variable 'retries' should be defined as static, or it will be always
0.
2010-06-30 17:38:07 +03:00
Gustavo F. Padovan
e272c8c69b sdptool: Fix 2 possible NULL dereference
Issues found by smatch static check:
http://smatch.sourceforge.net/
2010-06-08 14:25:36 +08:00
Elvis Pfützenreuter
d48df6f540 Change MDP profile name and macros to HDP 2010-06-04 11:24:10 +03:00
Johan Hedberg
38a7ef119c Add hciconfig support for blacklisting
This patch implements hciconfig support for the new HCIBLOCKADDR and
HCIUNBLOCKADDR ioctls.
2010-05-17 17:30:35 +02:00
Jose Antonio Santos Cadenas
0edbc77755 Remove extra spaces from tools dir 2010-05-07 01:48:03 +03:00
Marcel Holtmann
fae1aebd13 Pretty print HCI revision and LMP subversion 2010-03-07 13:30:50 -08:00
Marcel Holtmann
5e5b0fdcd3 Show HCI and LMP versions on separate lines 2010-02-13 02:23:55 +01:00
Marcel Holtmann
3e0db2b27a Show controller type and bus type for every device 2010-02-13 02:22:18 +01:00
Marcel Holtmann
06e9ad1e95 The TX power level is a signed int and not an unsigned int 2010-02-05 20:16:38 -08:00
Marcel Holtmann
12b7f844c0 Print EIR attribute for Device ID 2010-02-05 20:16:03 -08:00
Marcel Holtmann
c886503a79 Fix another fallout from Inquiry Response Transmit Power Level typo 2010-02-05 19:52:59 -08:00
Nick Pelly
fc3764769f Add 0xff (any object type) to sdptool OPUSH supported formats list.
This fixed an issue with sending an image from OSX. OSX would show a
warning that the bluez stack does not support this file type, but offer
to send it anyway (which works). This change to advertise support for
all object types will remove this warning.

The list of file types that can be advertised in the SDP record is very
limited anyway. It is best to list that we support all file types here,
and then filter at the OPP/OBEX connection instead.

For reference:
0x01 = vCard 2.1
0x02 = vCard 3.0
0x03 = vCal 1.0
0x04 = iCal 2.0
0x05 = vNote
0x06 = vMessage
0xFF = any type of object.
2010-02-04 17:10:50 -08:00
Johan Hedberg
5592142cb9 Update Nokia copyrights 2010-01-07 01:11:05 -08: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
Marcel Holtmann
970e9e9a48 Move rfcomm utility into tools directory 2009-08-29 22:09:10 -07:00
Marcel Holtmann
a5b1e3d02c Switch to a full non-recursive build system 2009-08-23 00:40:59 -07:00
Marcel Holtmann
c7c8d2208d Remove unused variables left by previous patch 2009-08-06 14:10:01 -07:00
Zhu Lan
c500ffad7e Modify example PBAP SDP record of sdptool
Fix to pass PTS case TC_SDAS_BV_03_I(since PTS3.2 update2).
The code tried to append the UINT type value to the supported
respositories.  However, the wrong function sdp_seq_alloc()
was used. This function adds 2 redundant bytes (SDP_SEQ8 as
0x35, seq) ahead of 0x08, so that latest PTS IOPT will fail.
According to spec, PBAP attributes should report 0x08 0x01
or 0x08 0x03 right after 0x0314. The correct function to use
is sdp_data_alloc(), with clean 0x08 0x01 appended as
SDP_ATTR_SUPPORTED_REPOSITORIES.
2009-08-06 14:08:11 -07:00
Nick Pelly
57aec32d00 Add chipset id for brf6350. 2009-07-08 18:25:45 -07:00
Marcel Holtmann
4f6c27de96 Fix fallout from l2ping manual page rename 2009-07-05 09:44:29 -07:00
Filippo Giunchedi
1a1c60a8bc move tools/l2ping.1 to man section 8
usually only root is able to invoke l2ping thus move to man section 8
2009-07-03 17:42:05 +03:00
Filippo Giunchedi
f4804a8f52 remove trailing whitespaces in manpages 2009-06-30 16:27:55 +03:00
Ohad Ben-Cohen
59901631d2 Fix short commands limit 2009-06-27 10:24:21 +02:00
Marcel Holtmann
3610df67a6 Fix signed/unsigned comparison warning 2009-06-26 09:00:54 +02:00
Jiafa Liu
e5fb1b8e7c Add support for registration of a PBAP service using sdptool 2009-06-26 08:58:50 +02:00
Nick Pelly
fc29f95251 Add TI wl1271 to texas instruments chip list 2009-06-11 20:38:11 +02:00
Marcel Holtmann
b5fdd00fad Fix to complicated logic Dell switching routine 2009-05-18 11:19:11 -07:00
Mario Limonciello
4e90276635 Reinstitute usb_detach_kernel_driver_np, but in the proper place
The kernel might still be grab the usb device, so release it before claim.
2009-05-18 11:15:45 -07:00
Marcel Holtmann
d16c663f55 Fix uninitialized fallout from Mario's patches 2009-05-16 15:25:39 -07:00
Mario Limonciello
a09e97ef08 Fix dmesg errors about hid2hci not claiming interface before usage
These errors were caused from trying to detach the kernel driver from
the interface, which was unnecessary. A simple usb_claim_interface is
all that is necessary. It is however, important to ensure the interface
claim is successful.
2009-05-16 06:37:29 -07:00
Mario Limonciello
4c027b63d4 Add support for switching from HCI->HID mode for Dell BT adapters
This allows Dell BT adapters to be able to be switched back to HID mode
if users desire to do so, such as on shutdown.
2009-05-16 06:14:17 -07:00
Mario Limonciello
7b2ece36e0 Add support for command line arguments on hid2hci tool
This means that the hid2hci tool will not have to run on every bootup
for every machine with BlueZ installed. It instead gets ran on demand
if a product that is called out from a udev rules file contains the
correct attributes and/or VID/PID.

It also makes it easier for users to manually test new VID/PID
combinations to determine if they should be supported by BlueZ.
2009-05-16 06:12:47 -07:00
Marcel Holtmann
81352f7d2d Increase BCSP timeout for setup and transaction 2009-05-10 09:32:09 -07:00
Marcel Holtmann
72c6ed7e2d Use timeout value also for BCSP timeout 2009-05-09 22:05:54 -07:00
Marcel Holtmann
9b3cfb2d89 Add tool to calculate HCI event mask 2009-05-09 22:05:07 -07:00
Marcel Holtmann
3818459c88 Use ppoll() instead of poll() for keeping line discipline 2009-05-08 10:55:15 -07:00
Johan Hedberg
7c27b3e218 Make use of size_t and ssize_t when possible 2009-03-12 16:15:06 -03: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
40ebdad50f Use %zd instead of %ld for size_t 2009-01-30 12:37:34 +01:00
Marcel Holtmann
9c0b5859e6 Fix mostly every warning caused by -Wsign-compare 2009-01-29 17:58:28 +01:00
Nick Pelly
3eb1274d04 Update l2ping man page for recent changes to l2ping. 2009-01-21 11:44:15 +01:00
Marcel Holtmann
dfd000c761 Remove extra comment 2009-01-18 16:54:41 +01:00
Nick Pelly
5276b6674f Add -v and -d options to l2ping 2009-01-18 16:35:24 +01:00
Marcel Holtmann
fb333f1c88 Update copyright information 2009-01-01 19:33:20 +01:00
Marcel Holtmann
1dd19eef3b Remove unused functions 2008-12-23 05:42:44 +01:00
Marcel Holtmann
dc77291276 Add missing include for prototypes 2008-12-23 05:41:53 +01:00
Marcel Holtmann
290427f21e Fix broken forward declarations 2008-12-23 05:39:54 +01:00
Marcel Holtmann
500702b6b2 Make local functions static 2008-12-23 05:28:57 +01:00
Marcel Holtmann
9864b4eb0c Removed wrong extern declarations for getopt 2008-12-23 05:28:05 +01:00
Marcel Holtmann
e64098bfa8 Fix compiler warnings and remove unused code 2008-12-23 04:29:33 +01:00
Marcel Holtmann
74dae72b81 Fix another uninitialized variable 2008-11-30 17:14:57 +01:00
Marcel Holtmann
583fe76aaf Add support for Dell Wireless 365 2008-10-23 06:40:29 +02:00
Marcel Holtmann
e3bb061533 Add more product IDs for Logitech MX5500 2008-10-23 06:38:54 +02:00
Marcel Holtmann
d260beb800 Add PBAP UUID for simpler access 2008-10-21 02:24:11 +02: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
874471cdce Add additional record range for the iPhone 2008-09-28 06:07:52 +02:00
Luiz Augusto von Dentz
75b61c0a4f Add -i option to avinfo. 2008-09-08 17:12:02 -03:00
Marcel Holtmann
ea3f9b2d64 Allow specifying of reason for the disconnect 2008-08-27 14:47:31 +02:00
Marcel Holtmann
e94d033441 Add another build id for the "marcel" specific firmware 2008-08-26 19:52:55 +02:00