aboutsummaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2011-03-10Adjust LE command timeout and APIMarco Sinigaglia
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-04hcitool: add "whitelist" option to create LE connectionsClaudio Takahasi
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-04hcitool: add random address type to LE Add to White ListClaudio Takahasi
2011-03-04hcitool: use defined constants for address typeClaudio Takahasi
2011-03-01hcitool: Add command to clear LE White ListArun Kumar Singh
2011-03-01hcitool: Add command to read size of LE White ListArun Kumar Singh
2011-03-01hcitool: Add command to remove a device from LE white listArun Kumar Singh
2011-03-01hcitool: Change commands struct formatingClaudio Takahasi
2011-03-01hcitool: Add command to add a device to LE White ListArun Kumar Singh
2011-02-24hcitool: fix interval and window parametersAndre Guedes
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-24hcitool: add discovery procedure to lescan commandAndre Guedes
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-23Add hcitool command to change the parameters of a given LE connectionClaudio Takahasi
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-23Remove unneeded comma in the hcitool commands declarationClaudio Takahasi
2011-02-11hcitool: Add bdaddr type option to leccAndrei Emeltchenko
2011-02-11Bluetooth: hcitool: add option for LE_Scan_Type parameterAndrei Emeltchenko
The LE_Scan_Type parameter controls the type of scan to perform.
2011-02-04rename: tools/main.c to tools/rfcomm.cGustavo F. Padovan
2011-02-01Fix hciconfig leadv returned responseAndre Dieb Martins
Fixes hciconfig leadv returned response by treating both status of the command execution and HCI error code.
2011-01-31Add option to enable privacy during scanning to hcitoolClaudio Takahasi
When privacy is enabled, random address is used during active scanning. The non-resolvable private address shall be set using hciconfig.
2011-01-31Add option to set LE random address to hciconfigClaudio Takahasi
2010-12-29Add LE read supported states for hciconfigClaudio Takahasi
Displays the states and state combinations that the link layer supports. Usage: hciconfig hcix lestates
2010-12-21Coding style fixes for lib and toolsMichal Labedzki
2010-12-20Fix tools UI to avoid program launch mistakes.Michal Labedzki
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-11-23hciattach: download configuration at user requested baud rateSuraj Sumangala
This patch support downloading configuration for Atheros AR300x HCI UART chip at user requested baud rate instead of the initial baud rate.
2010-11-23hciattach: make set_speed return error if any operation failsSuraj Sumangala
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-23Add a runtime option to set the BCSP communication rateWade Brown
2010-11-21Make LE_LINK define private to hcitool.c for nowJohan Hedberg
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-19hciattach: send hci commands after hci socket bring upSuraj Sumangala
This patch makes The Atheros AR300x specific initialization code to send power management command over HCI socket after bringing up the device.
2010-11-11Print LE link type on hcitoolSheldon Demario
2010-11-11hciattach: Bring up device before sending commands over socketAnderson Lizardo
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-10-05Bluetooth: Add support to specify patch download locationSuraj Sumangala
This patch add support for specifying patch download address for AR300x patch download logic.
2010-10-04Also for LE only devices enable the event maskMarcel Holtmann
2010-10-04Set event mask bit if LE is supportedMarcel Holtmann
2010-09-22Fix Headset Audio gateway SDP record.Jaikumar Ganesh
Headset Audio Gateway does not have the Supported Features in the SDP records according to the HSP specification.
2010-09-06hciconfig: add LE_SET_ADVERTISE_ENABLE cmdAnderson Briglia
This patch implements two new hciconfig commands: leadv and noleadv. These new hciconfig flags are responsible to LE_SET_ADVERTISE_ENABLE command implementation.
2010-08-23Firmware download for Qualcomm Bluetooth devicesMatthew Wilson
Configures device address from hciattach parameter. UART speed limited to 115200. Requires separate device specific firmware.
2010-08-18Add host level support for Atheros AR300x deviceSuraj Sumangala
This patch implements support for the Atheros AR300x Bluetooth chip in hciattach. It supports configuration download and power management configure feature.
2010-08-17Bluetooth: Option to enable power management from hostSuraj Sumangala
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-09Add GATT SDP record for sdptoolClaudio Takahasi
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-07-16Use default adapter for LE commandsVille Tervo
Choose default adapter if device was not specified on the command line.
2010-07-13Add ledc command to hcitoolVinicius Costa Gomes
This command allows for low-level LE connections to be disconnected by handle.
2010-07-12Add handle and timeout parameters to hci_le_create_connVinicius Costa Gomes
Now hci_le_create_conn is more consistent with hci_create_conn, both have a handle out parameter and a timeout.
2010-07-12Add hciattach support for initializing a device into raw modeJohan Hedberg
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-09Add missing hciattach command line switches to the manual pageJohan Hedberg
This patch adds some previously undocumented command line switches to the hciattach manual page.
2010-07-08Add lecc command to hcitoolVinicius Costa Gomes
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-08Fix not respecting the user's endianism for LE ScanVinicius Costa Gomes
When setting LE Scan parameters we were assuming that the user was using a Little Endian machine.
2010-07-06Add lescan command to hcitoolVinicius Costa Gomes
This is a sample implementation of the LE Scan procedure.
2010-07-06Add "hciX" to hciconfig man pageGustavo F. Padovan
2010-06-30hciattach: Fix the timeout handling codeVladimir Davydov
The variable 'retries' should be defined as static, or it will be always 0.
2010-06-08sdptool: Fix 2 possible NULL dereferenceGustavo F. Padovan
Issues found by smatch static check: http://smatch.sourceforge.net/
2010-06-04Change MDP profile name and macros to HDPElvis Pfützenreuter