summaryrefslogtreecommitdiff
path: root/attrib/utils.c
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
* build: Move declaration of _GNU_SOURCE back into individual source filesMarcel Holtmann2018-12-061-1/+1
|
* attrib: Use local libbluetooth includesMarcel Holtmann2015-02-281-4/+6
|
* attrib: Remove unneeded sdp.h header includeClaudio Takahasi2014-03-241-1/+0
|
* attrib: Make btio/btio.h include localMarcel Holtmann2014-01-251-1/+1
|
* core: Always specify local LE address type with btioJohan Hedberg2013-05-171-0/+1
|
* attrib: Get rid of gcharLucas De Marchi2013-05-021-2/+2
| | | | Use plain char instead of gchar.
* gatttool: Use GError to propage error messages to callerEder Ruiz Maria2013-04-171-7/+7
| | | | | Handle runtime errors outside gatt_connect(), using GError to propagate error messages to caller.
* gatttool: Remove check for bluetooth address parameter on gatt_connect()Eder Ruiz Maria2013-04-071-5/+0
| | | | | | This check is more appropriate to be done by callers of gatt_connect(). This is already done on interactive mode in attrib/interactive.c and is now also done in non-interactive mode.
* attrib: Fix remaining references to bluetooth/uuid.hAnderson Lizardo2013-01-101-1/+1
| | | | These headers are not public anymore, so need to use "lib/uuid.h".
* attrib: Fix missing config.h includesCristian Rodríguez2012-12-231-0/+4
|
* Reorder btio.h includesLucas De Marchi2012-12-051-1/+1
| | | | | Let "#include <btio/btio.h>" together with other includes using '<' rather than '"'.
* Use the entire include path for btio.hLucas De Marchi2012-12-051-1/+1
|
* Update code base to use the new BtIO APIJohan Hedberg2012-08-281-2/+2
|
* Remove workaround in gatt_connectAndre Guedes2012-06-071-13/+0
| | | | | This workaround is not necessary anymore since setsockopt is now checking for minimum MTU.
* Fix gatt_connect for BR/EDRAndre Guedes2012-06-071-1/+1
| | | | | | Use BT_IO_OPT_IMTU instead of BT_IO_OPT_OMTU in bt_io_connect. We cannot control omtu value since it is negotiated during L2CAP configuration phase.
* Remove omtu parameter from LE bt_io_connect callsAndre Guedes2012-06-071-1/+0
| | | | | There is no need to set the omtu of L2CAP ATT fixed channel. We use the default value.
* gatttool: Add option to specify LE address typeAndrzej Kaczmarek2012-05-071-2/+10
| | | | | | | | | | | | | 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'.
* Clean up ATT CID & PSM magic values & definititionsJohan Hedberg2011-04-261-1/+2
| | | | | Use proper defines for the ATT CID and PSM. The values are really ATT and not GATT specific so move them from gatt.h to att.h.
* Use new UUID functions in GATTElvis Pfützenreuter2011-03-151-0/+1
| | | | | | This patch puts the new UUID functions into use for GATT-related code, and adds some convenience functions to ATT API (att.h). Example GATT server is also changed.
* Move attr_data_from_string() to utils.cBruna Moreira2011-02-241-0/+19
| | | | | 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-6/+7
| | | | | | 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-0/+105
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