| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Use plain char instead of gchar.
|
|
|
|
|
| |
Handle runtime errors outside gatt_connect(), using GError to propagate
error messages to caller.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
These headers are not public anymore, so need to use "lib/uuid.h".
|
| |
|
|
|
|
|
| |
Let "#include <btio/btio.h>" together with other includes using '<'
rather than '"'.
|
| |
|
| |
|
|
|
|
|
| |
This workaround is not necessary anymore since setsockopt is now
checking for minimum MTU.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
There is no need to set the omtu of L2CAP ATT fixed channel. We
use the default value.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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'.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
The attr_data_from_string() function will be used in interactive and
usual gatttool so this function was moved to common file utils.c.
|
|
|
|
|
|
| |
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
|
|
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
|