| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
There is no need for internal helper.
|
| |
|
|
|
|
| |
Use the shared/util.h helpers instead.
|
|
|
|
|
|
|
|
|
|
| |
This adds initial code for BTP client tool that allows for automated
(binary protocol ) control of BlueZ stack. Currently this tool depends
only on Embedded Linux Library and requires master branch of ELL.
When 0.3 is released dependencies will be bumped.
Initial code allows to connect D-Bus client, discover objects and keep
proxies for it. It also implements basics for BTP core service.
|
|
|
|
|
| |
This makes bluetooth-player use bt_shell to manage the menus and
command handling.
|
|
|
|
|
| |
This makes obexctl use bt_shell to manage the menus and command
handling.
|
|
|
|
|
| |
This makes meshctl use bt_shell to manage the menus and command
handling.
|
|
|
|
|
| |
bt_shell instance should be available to any code linked with
libshared.
|
|
|
|
|
| |
This add initial bt_shell helper which can be used to create shell-like
command line tools.
|
| |
|
|
|
|
|
| |
Alert, cyclingspeed, heartrate and proximity can all be implemented
using the GATT D-Bus API so they no longer need dedicated APIs.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds acquire-notify command which uses D-Bus AcquireNotify method
to acquire a file descriptor to read notifications locking the attribute:
[Test peripheral:/service001f/char0020]# acquire-notify
[CHG] Attribute /org/bluez/hci1/dev_56_A0_AA_D0_12_FF/service001f/char0020 NotifyAcquired: yes
AcquireNotify success: fd 7 MTU 65
< ACL Data TX: Handle 3585 flags 0x00 dlen 9
ATT: Write Request (0x12) len 4
Handle: 0x0022
Data: 0200
[CHG] /org/bluez/hci1/dev_56_A0_AA_D0_12_FF/service001f/char0020 Notification:
00
> ACL Data RX: Handle 3585 flags 0x02 dlen 8
ATT: Handle Value Indication (0x1d) len 3
Handle: 0x0021
Data: 00
|
| |
|
|
|
|
|
| |
Don't install btmgmt as there are plans for other tools to cover the
likes of hciconfig, etc.
|
| |
|
|
|
|
|
| |
This adds --enable-testing that can be used to enable emulator and tester
which are no longer experimental but also are not meant for production.
|
|
|
|
|
| |
This promotes many tools that were behind --enable-experimental which are
in fact used as stable tools for a while.
|
|
|
|
|
|
|
| |
This marks the following tools as deprecated as they are not longer
maintained or have been replaced by other tools:
hciattach hciconfig hcitool hcidump rfcomm sdptool ciptool gatttool
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds advertise command which uses org.bluez.LEAdvertisingManager1 to
add an advertising instance:
[bluetooth]# advertise
broadcast off on peripheral
[bluetooth]# advertise on
Advertising object registered
@ Advertising Added: 1
< HCI Command: LE Set Advertising Data (0x08|0x0008) plen 32
Length: 3
Flags: 0x02
LE General Discoverable Mode
[bluetooth]# advertise off
Advertising object unregistered
@ Advertising Removed: 1
< HCI Command: LE Set Advertise Enable (0x08|0x000a) plen 1
Advertising: Disabled (0x00)
|
|
|
|
| |
Add support for packet drops and 32-bit timestamps.
|
|
|
|
|
|
| |
btattach provides access to some line disciplines that are supported by
hciattach, so allow it to be installed and not reserved for developer
use. For now it is still considered an experimental feature.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> ACL Data RX: Handle 256 flags 0x02 dlen 20 [hci0] 9.242155
Channel: 66 len 16 [PSM 25 mode 0] {chan 2}
AVDTP: Get Capabilities (0x02) Response Accept (0x02) type 0x00 label 1 nosp 0
Service Category: Media Transport (0x01)
Service Category: Media Codec (0x07)
Media Type: Audio (0x00)
Media Codec: SBC (0x00)
Frequency: 0x30
44100
48000
Channel Mode: 0x0f
Mono
Dual Channel
Stereo
Joint Channel
Block Length: 0xf0
4
8
12
16
Subbands: 0x0c
4
8
Allocation Method: 0x03
SNR
Loudness
Minimum Bitpool: 2
Maximum Bitpool: 53
Service Category: Content Protection (0x04)
Content Protection Type: SCMS-T (0x0002)
< ACL Data TX: Handle 256 flags 0x00 dlen 18 [hci0] 9.272120
Channel: 258 len 14 [PSM 25 mode 0] {chan 2}
AVDTP: Set Configuration (0x03) Command (0x00) type 0x00 label 5 nosp 0
ACP SEID: 1
INT SEID: 3
Service Category: Media Transport (0x01)
Service Category: Media Codec (0x07)
Media Type: Audio (0x00)
Media Codec: SBC (0x00)
Frequency: 44100 (0x20)
Channel Mode: Joint Channel (0x01)
Block Length: 16 (0x10)
Subbands: 8 (0x04)
Allocation Method: Loudness (0x01)
Minimum Bitpool: 2
Maximum Bitpool: 53
|
|
|
|
|
|
|
|
|
|
| |
< ACL Data TX: Handle 256 flags 0x00 dlen 6
Channel: 258 len 2 [PSM 25 mode 0] {chan 2}
AVDTP: Discover (0x01) Command (0x00) type 0x00 label 0 nosp 0
> ACL Data RX: Handle 256 flags 0x02 dlen 14
Channel: 66 len 10 [PSM 25 mode 0] {chan 2}
AVDTP: Discover (0x01) Response Accept (0x02) type 0x00 label 0 nosp 0
04 08 14 08 0c 08 08 08 ........
|
|
|
|
|
| |
profiles/health/mcap.c uses clock_gettime(3) so it needs to be linked
with -lrt on some systems.
|
| |
|
| |
|
|
|
|
|
| |
test-gatt-profile can be used to register a GATT based profile using
GattManager1 interface.
|
| |
|
|
|
|
| |
btmgmt requires readline. Protect it under if READLINE.
|
| |
|
|
|
|
| |
This adds basic tests only.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> ACL Data RX: Handle 71 flags 0x02 dlen 11
Channel: 64 len 7 [PSM 15 mode 0] {chan 0}
BNEP: Control (0x01|0)
01 02 11 16 11 15 ......
> ACL Data RX: Handle 71 flags 0x01 dlen 35
Channel: 64 len 1532 [PSM 15 mode 0] {chan 0}
BNEP: General Ethernet (0x00|1)
00 00 00 00 00 00 00 00 00 00 00 00 08 00 00 0f ................
05 00 0c 03 00 00 20 00 00 03 00 00 20 00 00 3c ...... ..... ..<
> ACL Data RX: Handle 71 flags 0x01 dlen 12
Channel: 64 len 1509 [PSM 15 mode 0] {chan 0}
BNEP: Compressed Ethernet Dest Only (0x04|0)
00 00 00 00 00 00 08 00 3c 3b 3a 39 38 37 36 35 ........<;:98765
34 33 32 31 30 2f 2e 2d 2c 2b 2a 29 28 27 26 25 43210/.-,+*)('&%
|
| |
|
| |
|
|
|
|
| |
Added test/example-gatt-client to Makefile.tools.
|
|
|
|
|
| |
Renamed test/advertisement-example to test/example-advertisement and
also added test/example-gatt-server to Makefile.tools
|
| |
|
| |
|
| |
|
|
|
|
| |
This tool should be designed to help testing bnep on BlueZ.
|
| |
|
|
|
|
|
| |
This add support for GattService1 interface detection and prints when
they are added or removed
|
| |
|
| |
|
| |
|