summaryrefslogtreecommitdiff
path: root/attrib/gatttool.h
Commit message (Collapse)AuthorAgeFilesLines
* attrib: Add SPDX License IdentifierTedd Ho-Jeong An2020-09-211-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds SPDX License Identifier and removes the license text. ------------------------------------- License COUNT ------------------------------------- GPL-2.0-or-later : 13 License: GPL-2.0-or-later attrib/att-database.h attrib/gattrib.h attrib/gatttool.h attrib/gatt-service.c attrib/interactive.c attrib/utils.c attrib/gatt.c attrib/gattrib.c attrib/gatt-service.h attrib/att.c attrib/gatt.h attrib/att.h attrib/gatttool.c
* attrib: Get rid of gcharLucas De Marchi2013-05-021-3/+3
| | | | Use plain char instead of gchar.
* gatttool: Use GError to propage error messages to callerEder Ruiz Maria2013-04-171-1/+2
| | | | | Handle runtime errors outside gatt_connect(), using GError to propagate error messages to caller.
* gatttool: fix parameter type/name from le to psmJefferson Delfes2013-03-251-1/+1
| | | | | | The parameter le was changed to psm and its type was modified from boolean to int, but header was unmodified. That change occurred in commit 0cc24599637ed6666469c68d55f4e42ff722e447.
* gatttool: Add option to specify LE address typeAndrzej Kaczmarek2012-05-071-3/+4
| | | | | | | | | | | | | This patch makes possible to specify LE address type. After advertising cache was removed from kernel we should always specify address type for LE link when calling bt_io_connect() as otherwise random will always be used. LE address type can be specified either by 'addr-type' or 't' command line parameter or as additional parameter to 'connect' command in interactive mode. Possible values are 'public' (default) and 'random'.
* Add option to pass adapter to interactive gatttoolSheldon Demario2011-03-041-1/+1
|
* Add missing const to interactive() parameter in gatttoolSheldon Demario2011-03-041-1/+1
|
* Move attr_data_from_string() to utils.cBruna Moreira2011-02-241-0/+1
| | | | | The attr_data_from_string() function will be used in interactive and usual gatttool so this function was moved to common file utils.c.
* Use PSM value to select LE or BR/EDR transport on gatttoolSheldon Demario2011-02-171-1/+1
| | | | | | Removes "le" parameter of gatt_connect() as well the global variables used to store the le option. LE is now the default transport, if a PSM value different than zero is given BR/EDR will be selected
* Move do_connect() to a common file between interactive.c and gatttool.cSheldon Demario2011-02-171-1/+3
| | | | | Since do_connect() is used in both interactive.c and gatttool.c files, it was moved to a new file that should hold all common functions
* Add connect/disconnect options on interactive mode of gatttoolSheldon Demario2011-02-151-1/+2
|
* Add an initial interactive mode to gatttoolSheldon Demario2011-02-151-0/+24
Mode required to allow better GATT procedures control. Some scenarios require sequential commands without disconnection and delay between operations. It is also desirable to change some connection parameters of an active connection.