| 67d89d5c |
doc/gatt-api: Add MTU to ReadValue and WriteValue |
David Krauser |
7 years ago |
1 file, +4, -2 |
| e566be15 |
monitor: Consolidate code printing bitfield
This reduces the duplicated code around printing bitfields. |
Luiz Augusto von Dentz |
7 years ago |
3 files, +92, -343 |
| ef05f495 |
tools: Move meshctl sources under tools/mesh directory
This is a temporary location until the unified mesh solution is provided |
Inga Stotland |
7 years ago |
53 files, +10305, -10305 |
| f0d0c48e |
tools: Move meshctl tool under tools directory |
Inga Stotland |
7 years ago |
3 files, +2034, -2034 |
| b36ebf7a |
doc/mgmt-api: Add BREDR PHYs in PHY Configuration Commands |
Jaganath Kanakkassery |
7 years ago |
1 file, +45, -37 |
| 477ecca1 |
policy: Add logic to connect a Sink
If HFP/HSP HS connects and the device also supports a Sink connect it
as well since some devices (e.g. Sony MW600) may not connect it
automatically. |
Luiz Augusto von Dentz |
7 years ago |
1 file, +39, -0 |
| 32339501 |
emulator: Add 5.0 feature support
This adds new hciemu for BT 5.0. Also adds extended advertising,
scanning and connection support in btdev and bthost |
Jaganath Kanakkassery |
7 years ago |
7 files, +559, -10 |
| 6d012fec |
btmgmt: Add support for setting PHY in add-adv |
Jaganath Kanakkassery |
7 years ago |
2 files, +19, -1 |
| 1e4e5aea |
monitor: Add support for Secondary PHY flags in Add Advertising |
Jaganath Kanakkassery |
7 years ago |
1 file, +3, -0 |
| dca915f5 |
btmgmt: Add PHY configuration get/set commands |
Jaganath Kanakkassery |
7 years ago |
2 files, +161, -0 |
| e862f704 |
monitor: Add support PHY management commands and event |
Jaganath Kanakkassery |
7 years ago |
1 file, +65, -0 |
| 014b0b72 |
doc/mgmt-api: Add advertising phys support to flags |
Jaganath Kanakkassery |
7 years ago |
1 file, +25, -0 |
| 9d06f85d |
doc/mgmt-api: Add support for Set Phy Configuration command
This also adds PHY Configuration Changed Event. |
Jaganath Kanakkassery |
7 years ago |
1 file, +81, -0 |
| 58186599 |
btsnoop: Enable SCO packets for Packet Logger format |
Marcel Holtmann |
7 years ago |
1 file, +8, -0 |
| 56618fa4 |
monitor: Add support for decoding Broadcom Enable WBS command |
Marcel Holtmann |
7 years ago |
1 file, +41, -0 |
| 3a285832 |
monitor: Add support for decoding Broadcom Raw RSSI command |
Marcel Holtmann |
7 years ago |
3 files, +32, -0 |
| d81794bf |
monitor: Add support for decoding Broadcom high priority connection |
Marcel Holtmann |
7 years ago |
3 files, +43, -2 |
| 6df6a611 |
monitor: Add support for providing fallback manufacturer |
Marcel Holtmann |
7 years ago |
3 files, +27, -9 |
| 086dc1f3 |
monitor: Fix command parameter ordering |
Marcel Holtmann |
7 years ago |
1 file, +13, -13 |
| 0a7e778a |
monitor: Fix printing params for HCI Intel DDC command
The offset of value for HCI Intel DDC command is incorrect.
HCI Intel DDC parameter has a combination of following structure:
struct intel_ddc {
u8 len;
u16 id;
u8 *value;
}
The offset of value should be sum of len and id which is 3. |
Tedd Ho-Jeong An |
7 years ago |
1 file, +1, -1 |
| 1eb32e70 |
shared/shell: Fix code style
Remove empty lines |
Luiz Augusto von Dentz |
7 years ago |
1 file, +0, -2 |
| ccf87b77 |
shared/shell: Add history support
This uses read_history/write_history to load and save input history. |
Luiz Augusto von Dentz |
7 years ago |
1 file, +48, -0 |
| 84a3cadc |
shared/shell: Set shell name on SHELL env
This set SHELL to the first argument given. |
Luiz Augusto von Dentz |
7 years ago |
1 file, +5, -0 |
| c9589c1b |
tools: Fix compiler warning |
Szymon Janc |
7 years ago |
1 file, +3, -3 |
| 01d94ab7 |
tools: Add utitlity for analyzing Broadcom HCD firmware files |
Marcel Holtmann |
7 years ago |
3 files, +166, -1 |
| 845f8912 |
core: Allow sending to org.mpris.MediaPlayer2.Player
This adds a policy to allow sending to org.mpris.MediaPlayer2.Player
interface since that is used when the player supports it. |
Luiz Augusto von Dentz |
7 years ago |
1 file, +1, -0 |
| 8994b7f2 |
Release 5.50 |
Marcel Holtmann |
7 years ago |
2 files, +19, -1 |
| e399d67f |
shared/ecc: Make ecc_make_key() a stand alone API
And correct minor flaws in API descriptions |
Brian Gix |
7 years ago |
2 files, +19, -8 |
| 294ebd54 |
build: Fix issues with building dist packages |
Marcel Holtmann |
7 years ago |
2 files, +3, -4 |
| aa429879 |
test: Switch to Python3
Python2 will be maintained till end of 2019. Switch to Python3 by
replacing iteritems() with items() to fix error when runnig test-nap:
AttributeError: 'dbus.Dictionary' object has no attribute 'iteritems' |
Krzysztof Kozlowski |
7 years ago |
1 file, +2, -2 |
| f2638d13 |
gatt: Don't require prepare write authorization for trusted devices
This patch adds possibility to ommit prepare write authorization
request from trusted devices. |
Grzegorz Kolodziejczyk |
7 years ago |
1 file, +4, -2 |
| 1e32752f |
client: Don't require authorization for trusted devices
This patch adds possibility to ommit authorization request from trusted
devices. |
Grzegorz Kolodziejczyk |
7 years ago |
1 file, +18, -3 |
| 9fd0a548 |
shared/shell: Disable argument count check if optarg are detected
Command which start with optional arguments might be using optargs
format in which case checking argument count check does not work so
this disables it which shall make things btmgmt work:
[mgmt]# add-adv --help
Usage: add-adv [options] <instance_id>
Options:
-u, --uuid <uuid> Service UUID
-d, --adv-data <data> Advertising Data bytes
-s, --scan-rsp <data> Scan Response Data bytes
-t, --timeout <timeout> Timeout in seconds
-D, --duration <duration> Duration in seconds
-c, --connectable "connectable" flag
-g, --general-discov "general-discoverable" flag
-l, --limited-discov "limited-discoverable" flag
-n, --scan-rsp-local-name "local-name" flag
-a, --scan-rsp-appearance "appearance" flag
-m, --managed-flags "managed-flags" flag
-p, --tx-power "tx-power" flag
e.g.:
add-adv -u 180d -u 180f -d 080954657374204C45 1
[mgmt]# add-adv -u 180d -u 180f -d 080954657374204C45 1
Instance added: 1 |
Luiz Augusto von Dentz |
7 years ago |
1 file, +3, -1 |
| 1ebfc68f |
shared/gatt-server: Request authorization for prepare writes
This patch adds gatt-server possibility to request authorization from
application if needed and previously wasn't authorized. Authorization is
requested by sending message with set prepare write authorization reqest
to client. |
Grzegorz Kolodziejczyk |
7 years ago |
2 files, +142, -30 |
| 822f0820 |
client: Add authorized property handling to characteristic attribute
This patch adds handling of characteristic prepare write authorized
property to bluetoothctl. |
Grzegorz Kolodziejczyk |
7 years ago |
2 files, +96, -59 |
| f5175e32 |
doc/gatt-api: Add authorization options for attributes
This patch adds authorization property for attributes and prepare write
request for authorization option for write request. This is require to
handle correctly prepare writes, which may response with insufficient
authorization error. |
Grzegorz Kolodziejczyk |
7 years ago |
1 file, +8, -0 |
| c3c6b4c9 |
shared/io-ell: Fix compiler error with GCC 8.0
This fixes the following error:
src/shared/io-ell.c: In function ‘io_set_disconnect_handler’:
src/shared/io-ell.c:117:7: error: cast between incompatible function types from ‘io_callback_func_t’ {aka ‘_Bool (*)(struct io *, void *)’} to ‘void (*)(struct l_io *, void *)’ [-Werror=cast-function-type]
(l_io_disconnect_cb_t) callback,
^ |
Luiz Augusto von Dentz |
7 years ago |
1 file, +1, -2 |
| 33269507 |
input: Fix compiler error with GCC 8.0
This fixes the following error:
profiles/input/device.c: In function ‘hidp_add_connection’:
profiles/input/device.c:677:47: error: ‘%s’ directive output may be truncated writing up to 127 bytes into a region of size between 0 and 127 [-Werror=format-truncation=]
snprintf(req->name, sizeof(req->name), "%s %s",
^~
pname, sdesc);
~~~~~
profiles/input/device.c:677:4: note: ‘snprintf’ output between 2 and 256 bytes into a destination of size 128
snprintf(req->name, sizeof(req->name), "%s %s",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pname, sdesc); |
Luiz Augusto von Dentz |
7 years ago |
1 file, +2, -2 |
| 8afe1baa |
android: Fix some compilation warnings |
Szymon Janc |
7 years ago |
3 files, +5, -5 |
| ce0b582c |
android/client: Fix compilation with GCC 8
CC android/client/android_haltest-if-gatt.o
android/client/if-gatt.c: In function ‘multi_adv_set_inst_data_p’:
android/client/if-gatt.c:2034:7: error: ‘set_scan_rsp’ may be used
uninitialized in this function [-Werror=maybe-uninitialized]
EXEC(if_gatt->client->multi_adv_set_inst_data, client_if, set_scan_rsp,
^~~~~~~
android/client/if-gatt.c:2034:7: error: ‘include_name’ may be used
uninitialized in this function [-Werror=maybe-uninitialized]
android/client/if-gatt.c:2034:7: error: ‘include_txpower’ may be used
uninitialized in this function [-Werror=maybe-uninitialized]
android/client/if-gatt.c: In function ‘set_adv_data_p’:
android/client/if-gatt.c:1859:7: error: ‘set_scan_rsp’ may be used
uninitialized in this function [-Werror=maybe-uninitialized]
EXEC(if_gatt->client->set_adv_data, client_if, set_scan_rsp,
^~~~~~~
android/client/if-gatt.c:1859:7: error: ‘include_name’ may be used
uninitialized in this function [-Werror=maybe-uninitialized]
android/client/if-gatt.c:1859:7: error: ‘include_txpower’ may be used
uninitialized in this function [-Werror=maybe-uninitialized]
cc1: all warnings being treated as errors
make[1]: *** [Makefile:6431: android/client/android_haltest-if-gatt.o] Error 1
make: *** [Makefile:3262: all] Error 2 |
Szymon Janc |
7 years ago |
1 file, +6, -4 |
| 98ec05de |
monitor: Add command line option to disable pager support |
Marcel Holtmann |
7 years ago |
3 files, +30, -22 |
| 6e473eba |
cups: Fix compiler warning from string operation |
Marcel Holtmann |
7 years ago |
1 file, +1, -1 |
| cd16e387 |
midi: Fix compiler warning from string operation |
Marcel Holtmann |
7 years ago |
1 file, +1, -1 |
| 3778998c |
input: Fix compiler warning from string operation |
Marcel Holtmann |
7 years ago |
1 file, +3, -4 |
| 78085db5 |
health: Fix compiler warning from casting functions |
Marcel Holtmann |
7 years ago |
1 file, +16, -5 |
| 39eae998 |
obex: Fix compiler warning from casting functions |
Marcel Holtmann |
7 years ago |
1 file, +6, -2 |
| a81f701d |
android: Fix a few compiler warnings |
Marcel Holtmann |
7 years ago |
2 files, +8, -3 |
| 806276fe |
client: Add advertise.discoverable-timeout command
This adds advertise.discoverable-timeout command which can be used to
limit the amount of time the advertisement is discoverable:
[bluetooth]# advertise.discoverable on
[bluetooth]# advertise.discoverable-timeout 10
[bluetooth]# advertise on
@ MGMT Command: Add Advertising (0x003e) plen 14
Instance: 1
Flags: 0x00000001
Switch into Connectable mode
Duration: 0
Timeout: 0
Advertising data length: 3
Flags: 0x02
LE General Discoverable Mode
Scan response length: 0
@ MGMT Event: Advertising Added (0x0023) plen 1
Instance: 1
@ MGMT Event: Command Complete (0x0001) plen 4
Add Advertising (0x003e) plen 1
Status: Success (0x00)
Instance: 1
@ MGMT Command: Add Advertising (0x003e) plen 14
Instance: 1
Flags: 0x00000001
Switch into Connectable mode
Duration: 0
Timeout: 0
Advertising data length: 3
Flags: 0x00
Scan response length: 0 |
Luiz Augusto von Dentz |
7 years ago |
3 files, +61, -0 |
| 86ed237f |
advertising: Add implementation of DiscoverableTimeout property
This parses the contents of DiscoverableTimeout property and add
a timeout handler which clears the discoverable when it expires. |
Luiz Augusto von Dentz |
7 years ago |
1 file, +94, -28 |
| 0bfc2964 |
doc/advertising-api: Add DiscoverableTimeout property
This property can control how long an instance is visible. |
Luiz Augusto von Dentz |
7 years ago |
1 file, +9, -0 |