Johan Hedberg
44b3d5e480
tools/l2cap-server: Add basic LE Connect server test case
2013-12-01 19:18:23 +02:00
Johan Hedberg
3651a17f88
tools/l2cap-tester: Add basic LE client test cases
2013-12-01 19:18:23 +02:00
Johan Hedberg
9e08218d0f
tools/smp-tester: Improve logging of received SMP PDUs
2013-11-29 15:12:49 +02:00
Johan Hedberg
1b69573571
tools/smp-tester: Minor whitespace fix
2013-11-29 15:09:25 +02:00
Johan Hedberg
31097ac39e
tools/smp-tester: Unify SMP handler code for client and server tests
2013-11-29 15:06:39 +02:00
Johan Hedberg
10d860104b
tools/smp-tester: Add support for generating the LTK
2013-11-29 14:12:02 +02:00
Johan Hedberg
ac2998a117
tools/smp-tester: Add expected Pairing Random packet to basic server test
2013-11-29 14:11:06 +02:00
Johan Hedberg
477ed93ae3
tools/smp-tester: Fix missing copy to smp_rrnd
2013-11-29 14:11:06 +02:00
Johan Hedberg
a58d20e418
tools/smp-tester: Minor white space fix
2013-11-28 17:51:17 +02:00
Johan Hedberg
1e367a94b0
tools/smp-tester: Fix pairing random PDU content
2013-11-28 16:36:36 +02:00
Johan Hedberg
b6d3089ff1
tools/smp-tester: Add Pairing Random PDUs to basic client test case
2013-11-28 16:36:35 +02:00
Johan Hedberg
5ad6c5b449
tools/smp-tester: Remove unnecessary preq and pres variables
2013-11-28 16:36:35 +02:00
Johan Hedberg
866daa8ef1
tools/smp-tester: Remove unnecessary k variable
2013-11-28 16:36:35 +02:00
Johan Hedberg
aa1160d9f6
tools/smp-tester: Remove unnecessary ia and ra variables
2013-11-28 16:36:35 +02:00
Johan Hedberg
794a226e23
tools/smp-tester: Remove unnecessary _rat and _iat variables
2013-11-28 16:36:35 +02:00
Johan Hedberg
4d1b890679
tools/smp-tester: Fix address type values
2013-11-28 16:36:35 +02:00
Johan Hedberg
2cf3ee6cd6
tools/smp-tester: Reorder switch statements numerically
2013-11-28 16:36:35 +02:00
Johan Hedberg
2d8d8833d2
tools/smp-tester: Fix missing swap128() in Pairing Confirm response
2013-11-28 16:36:34 +02:00
Johan Hedberg
6ead49acfa
tools/smp-tester: Add missing initializations of smp_preq/prsp
2013-11-28 16:36:34 +02:00
Johan Hedberg
85f6c8282d
tools/smp-tester: Fix whitespace issues
2013-11-28 16:36:34 +02:00
Johan Hedberg
d7a107431f
tools/smp-tester: Simplify smp_c1() usage
2013-11-28 16:36:34 +02:00
Johan Hedberg
f65e6cf8c3
tools/smp-tester: Add more smp_c1 related hooks
2013-11-28 16:36:34 +02:00
Johan Hedberg
4b30a30645
tools/smp-tester: Initialize smp_rrnd when receiving pairing random PDU
2013-11-28 16:36:34 +02:00
Johan Hedberg
c66d883dba
tools/smp-tester: Implement initial smp_c1 function
2013-11-28 16:36:34 +02:00
Johan Hedberg
76836c91c6
tools/smp-tester: Initialize all test data to zero
2013-11-28 16:36:33 +02:00
Johan Hedberg
d87d824d09
tools/smp-tester: Add initial code for accessing AF_ALG
2013-11-28 16:36:33 +02:00
Johan Hedberg
d475b20ba3
tools/smp-tester: Pairing Random and Pairing Confirm packets are special
...
The SMP Pairing Random and Pairing Confirm packets are special in that
we actually have to do some math to verify them and to send them. For
now add just empty stubs for these.
2013-11-28 16:36:33 +02:00
Johan Hedberg
7c27a9f2c7
tools/smp-tester: Add server support for multiple req-rsp pairs in tests
2013-11-28 16:36:33 +02:00
Johan Hedberg
4f4f5d398e
tools/smp-tester: Add client support for multiple req-rsp pairs in tests
2013-11-28 16:36:33 +02:00
Johan Hedberg
1a6e9568ab
tools/smp-tester: Fix setting pariable setting for server tests
2013-11-28 16:36:33 +02:00
Andrei Emeltchenko
df5d4d6860
sdptool: Make code consistent for SPP record add
...
Move freeing to the end of the function like it is done for other
records.
2013-11-25 15:41:26 +02:00
Andrei Emeltchenko
450129dbca
sdptool: Fix memory leaks creating PBAP record
2013-11-25 15:41:21 +02:00
Andrei Emeltchenko
a6aa0d7359
sdptool: Fix memory leaks creating OPP record
2013-11-25 15:41:20 +02:00
Johan Hedberg
b5d9d82f40
tools/smp-tester: Clarify bthost callback naming
2013-11-06 13:57:01 +02:00
Johan Hedberg
c69980581a
tools/smp-tester: Add initial SMP client test code
2013-11-06 13:57:01 +02:00
Johan Hedberg
c7a5f3f460
tools/smp-tester: Make basic parameters usable for both slave and master
2013-11-06 13:57:01 +02:00
Johan Hedberg
ced41b02f9
tools/smp-tester: Add simple success test case
2013-11-05 13:40:30 +02:00
Johan Hedberg
5d09808201
tools: Add smp-tester for automated LE SMP end-to-end tests
2013-11-05 11:38:12 +02:00
Giovanni Campagna
d0682a5f25
hid2hci: fix regression in /dev format after moving away from libusb
...
The paths under /dev, in the default udev configuration, are formatted
with two leading zeros, but the number obtained from sysfs don't have
them, so we must convert them to integers and reformat them.
2013-11-04 20:06:25 +02:00
Johan Hedberg
35b7d4b353
tools/mgmt-tester: Rename 'LE-only' to 'LE' for nicer logs
2013-10-30 16:12:32 +02:00
Johan Hedberg
7522cd327a
tools/mgmt-tester: Add LE test for set_connectable when limited discoverable
...
We also need to update the order of the initial settings since limited
discoverable is only allowed when powered on.
2013-10-30 15:53:41 +02:00
Johan Hedberg
395eba9b17
tools/mgmt-tester: Add LE test for connectable off when discoverable
2013-10-30 15:44:19 +02:00
Johan Hedberg
e5748af3d1
tools/mgmt-tester: Add basic LE-only discoverable on test case
2013-10-30 15:33:56 +02:00
Johan Hedberg
6b2d2e8097
tools/mgmt-tester: Add basic LE-only limited discoverable on test case
2013-10-30 15:26:06 +02:00
Johan Hedberg
09da9e2fbb
tools/mgmt-tester: Add basic BR/EDR limited discoverable on test cases
2013-10-30 15:10:25 +02:00
Johan Hedberg
f83187dd40
tools/mgmt-tester: Fix sending right set_discoverable parameters in setup
2013-10-30 14:47:46 +02:00
Johan Hedberg
20c2fedb79
tools/mgmt-tester: Fix calling test_setup twice
2013-10-30 14:43:47 +02:00
Johan Hedberg
8071e96a3e
tools/l2cap-tester: Fix command reject expected responses
...
Invalid CID responses also contain the CID(s) that were invalid.
2013-10-23 14:11:21 +03:00
Johan Hedberg
c7fca37570
tools/mgmt-tester: Add a couple of LE-only connectable-off tests
2013-10-22 15:47:10 +03:00
Johan Hedberg
94a9b4fa7d
tools/mgmt-tester: Add basic connectable advertising test case
2013-10-21 17:10:50 +03:00
Johan Hedberg
3fe3c05dcd
tools/mgmt-tester: Add basic LE-only set_connectable test cases
2013-10-21 16:52:44 +03:00
Johan Hedberg
6199aa4e19
tools/mgmt-tester: Add 'Not Supported' test case for set_fast_connectable
2013-10-21 16:52:44 +03:00
Johan Hedberg
919ef7d099
tools/mgmt-tester: Remove unnecessary "no-BR/EDR" setup helpers
2013-10-21 15:18:47 +03:00
Johan Hedberg
75ec3768e1
tools/mgmt-tester: Add disable_bredr and discov_limited to generic setup
2013-10-21 15:18:17 +03:00
Johan Hedberg
901aadcd2b
tools/mgmt-tester: Rename setup_le_nobr_powered to setup_nobr_powered
2013-10-21 15:05:17 +03:00
Johan Hedberg
e01aa88bc0
tools/mgmt-tester: Rename setup_le_callback to setup_nobr_callback
2013-10-21 14:58:23 +03:00
Johan Hedberg
e3df5294d3
tools/mgmt-tester: Minor formatting fix
2013-10-21 14:53:47 +03:00
Johan Hedberg
6dc17e0759
tools/mgmt-tester: Remove unnecessary setup_start_discovery_callback function
2013-10-21 14:51:10 +03:00
Johan Hedberg
9e5fad37f6
tools/mgmt-tester: Remove unneeded setup_ssp_powered function
2013-10-21 14:30:29 +03:00
Johan Hedberg
f14029be29
tools/mgmt-tester: Remove unneeded setup_le_powered function
2013-10-21 14:30:29 +03:00
Johan Hedberg
9aad8dafb2
tools/mgmt-tester: Remove unneeded setup_le function
2013-10-21 14:30:29 +03:00
Johan Hedberg
415e1bb9d8
tools/mgmt-tester: Remove unneeded setup_ssp function
2013-10-21 14:30:29 +03:00
Johan Hedberg
faca2bb506
tools/mgmt-tester: Remove unneeded setup_link_sec_powered function
2013-10-21 14:30:28 +03:00
Johan Hedberg
ea64c4a2f1
tools/mgmt-tester: Remove unneeded setup_link_sec function
2013-10-21 14:30:28 +03:00
Johan Hedberg
20cecea601
tools/mgmt-tester: Remove unneeded setup_connectable function
2013-10-21 14:30:28 +03:00
Johan Hedberg
c973ac9f80
tools/mgmt-tester: Remove unneeded setup_powered_connectable function
2013-10-21 14:30:28 +03:00
Johan Hedberg
7a448b99a8
tools/mgmt-tester: Remove unneeded setup_powered_discoverable function
2013-10-21 14:30:28 +03:00
Johan Hedberg
da44f2c7a7
tools/mgmt-tester: Remove unnecessary setup_powered function
2013-10-21 14:30:28 +03:00
Johan Hedberg
403ddcc508
tools/mgmt-tester: Add basic ability to list initial settings
2013-10-21 14:30:28 +03:00
Johan Hedberg
9c2efe6185
tools/mgmt-tester: Refactor all setup calls to a centralized function
2013-10-21 14:30:27 +03:00
Johan Hedberg
483cd7ad54
tools/mgmt-tester: Remove (now) unnecessary powered delay option
2013-10-21 14:30:27 +03:00
Johan Hedberg
9cfeff18c0
tools/mgmt-tester: Add set_connectable(off) while discoverable test
2013-10-21 14:30:27 +03:00
Claudio Takahasi
969a171deb
l2test: Set CID due to socket restrictions for LE
...
Bluetooth kernel now restricts LE L2CAP sockets to ATT channels only.
For LE L2CAP socket bind, ATT CID is now mandatory. Reference: kernel patch
bfe4655f05d7ec4a7c0c1c7e4051862f824cd8ec
2013-10-16 23:33:26 +03:00
Marcel Holtmann
e66de31c5a
tools: Add command for setting limited discoverable mode
2013-10-15 14:30:02 -07:00
Luiz Augusto von Dentz
fb27a70742
tools/obexctl: Add destination info to prompt
2013-10-15 16:50:21 +03:00
Luiz Augusto von Dentz
8348e53d25
tools/obexctl: Add rm command support for MAP messages
...
Add rm command support for MAP messages which can be used to set Delete
property using Message interface.
2013-10-15 16:50:21 +03:00
Luiz Augusto von Dentz
82f72d168b
tools/obexctl: Add send command support for MAP messages
...
Add send command support for MAP messages which can be used to push
messages using MessageAccess interface.
2013-10-15 16:50:21 +03:00
Luiz Augusto von Dentz
12451a9a7f
tools/obexctl: Add cp command support for MAP messages
...
Add cp command support for MAP messages which can be used to copy message
contents using Message interface.
2013-10-15 16:50:21 +03:00
Luiz Augusto von Dentz
a5d2a89d61
tools/obexctl: Add info command support for MAP messages
...
Add info command support for MAP messages which can be used to print
the details of objects using Message interface.
2013-10-15 16:50:21 +03:00
Luiz Augusto von Dentz
0314ac2e08
tools/obexctl: Add proxy handling for org.bluez.obex.Message1
...
This adds proxy handling for org.bluez.obex.Message1 so changes to the
proxy are printed in the output.
2013-10-15 16:50:21 +03:00
Luiz Augusto von Dentz
8a43562ff9
tools/obexctl: Add ls command support for MAP sessions
...
Add ls command support for MAP session which can be used to list current
folder using MessageAccess interface.
2013-10-15 16:50:21 +03:00
Luiz Augusto von Dentz
124208b749
tools/obexctl: Add cd command support for MAP sessions
...
Add cd command support for MAP session which can be used to set current
folder using MessageAccess interface.
2013-10-15 16:50:21 +03:00
Luiz Augusto von Dentz
84b66d104d
tools/obexctl: Add proxy handling for org.bluez.obex.MessageAccess1
...
This adds proxy handling for org.bluez.obex.MessageAccess1 so changes
to the proxy are printed in the output.
2013-10-15 16:50:21 +03:00
Luiz Augusto von Dentz
ae7d33d350
tools/obexctl: Add cp command support for PBAP sessions
...
Add cp command support for PBAP sessions which can be used to pull
contacts for the current phonebook using PhonebookAccess interface.
2013-10-15 16:50:21 +03:00
Luiz Augusto von Dentz
df42537091
tools/obexctl: Add ls command support for PBAP sessions
...
Add ls command support for PBAP sessions which can be used to list
current phonebook using PhonebookAccess interface.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
cb61428a73
tools/obexctl: Add cd command support for PBAP sessions
...
Add cd command support for PBAP session whic can be used to change
current phonebook using PhonebookAccess interface.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
fe22983f43
tools/obexctl: Add proxy handling for org.bluez.obex.PhonebookAccess1
...
This adds proxy handling for org.bluez.obex.PhonebookAccess1 so changes
to the proxy are printed in the output.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
0998328a5b
tools/obexctl: Print ETA time when transfer size is known
...
This prints ETA together with the speed if property Size is set.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
260346d7be
tools/obexctl: Print transfer speed
...
This prints transfer speed with Transferred property.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
e2fee010fb
tools/obexctl: Add mkdir command
...
Add support for mkdir command which can be used to create folders using
FileTransfer interface.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
c11131647f
tools/obexctl: Add rm command
...
Add support for rm command which can be used to delete files using
FileTransfer interface.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
e007c73662
tools/obexctl: Add mv command
...
Add support for mv command which can be used to move files using
FileTransfer interface.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
c1581acb90
tools/obexctl: Add cp command
...
Add support for cp command which can be used to copy files from/to current
folder using FileTransfer interface.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
7385222054
tools/obexctl: Add ls command
...
Add support for ls command which can be used to list current folder
using FileTransfer interface.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
01f7250d33
tools/obexctl: Add cd command
...
Add support for cd command which can be used to change current directory
using FileTransfer interface.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
25189bbd39
tools/obexctl: Add proxy handling for org.bluez.obex.FileTransfer1
...
This adds proxy handling for org.bluez.obex.FileTransfer1 so changes to
the proxy are printed in the output.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
32f2860aee
tools/obexctl: Add send command
...
Add support for send command which can be used to send a file using
ObjectPush interface
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
3451865442
tools/obexctl: Add proxy handling for org.bluez.obex.ObjectPush1
...
This adds proxy handling for org.bluez.obex.ObjectPush1 so changes to the
proxy are printed in the output.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
0f903725f1
tools/obexctl: Add cancel command
...
Add support for cance command which can be used to cancel ongoing
transfers
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
2b56db8e55
tools/obexctl: Add info command
...
Add support for info command which can be used to print transfer
information
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
f36fd02d94
tools/obexctl: Add select command
...
Add support for select command which can be used to set the default
session
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
6d19fe660c
tools/obexctl: Add show command
...
Add support for show command which can be used to show session
information
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
ec9b36affc
tools/obexctl: Add list command
...
Add support for list command which can be used to list available sessions
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
a55d1411b5
tools/obexctl: Add disconnect command
...
Add support for disconnect command which can be used to disconnect
sessions.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
7d10abf1da
tools/obexctl: Add connect command
...
Add support for connect command which can be used to create a session to
a device.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
da09d3ae30
tools/obexctl: Add proxy handling for org.bluez.obex.Client1
...
This adds proxy handling for org.bluez.obex.Client1 so changes to the
proxy are printed in the output.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
ff2a0409ea
tools/obexctl: Add proxy handling for org.bluez.obex.Transfer1
...
This adds proxy handling for org.bluez.obex.Transfer1 so changes to the
proxy are printed in the output.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
1a2a3f3523
tools/obexctl: Add proxy handling for org.bluez.obex.Session1
...
This adds proxy handling for org.bluez.obex.Session1 so changes to the
proxy are printed in the output.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
6863d5fc8b
tools/obexctl: Add initial code
...
This add initial code for things like input handling as well as some
basic commands.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
bff6703d6b
build: Add obexctl command line client
...
obexctl is intended to be a command line client of obexd.
2013-10-15 16:50:13 +03:00
Luiz Augusto von Dentz
c6155076be
tools/mpris-player: Forward player signals
...
Forward signals received from player in the session bus to the system
bus where bluetoothd can catch them.
2013-10-15 13:03:31 +03:00
Marcel Holtmann
e6590fb96f
tools/mgmt-tester: Add test case for scan parameters
2013-10-14 10:12:12 -07:00
Marcel Holtmann
53bd60f054
tools/mgmt-tester: Add test cases for static addresses
2013-10-14 10:07:38 -07:00
Szymon Janc
a753d0c75d
tools/sdptool: Clarify 'add' and 'remove' commands in manual
...
Adapters are no longer notified about external changes in SDP database.
This results in 'add' and 'remove' commands being usefull only for SDP
testing or qualification.
2013-10-14 14:26:24 +03:00
Marcel Holtmann
5ffa809f23
tools: Add simple test utility for L2CAP connectionless channels
2013-10-13 13:17:19 -07:00
Marcel Holtmann
213d27cce0
tools: Print L2CAP address information of connections
2013-10-13 07:04:24 -07:00
Johan Hedberg
0048931230
tools/mgmt-tester: Remove unused variable
2013-10-11 22:24:49 +03:00
Johan Hedberg
b4adb68dd4
tools/mgmt-tester: Update set_hs tests to require SSP to be enabled first
2013-10-11 22:23:23 +03:00
Marcel Holtmann
6b8ffc30c4
tools: Add test utility for AMP physical connection setup
2013-10-09 10:50:39 -07:00
Luiz Augusto von Dentz
358614b07e
tools/hcidump: Fix parsing for service class 0x110f
...
According to assigned number 0x110f is AV Remote Controller not VCP.
2013-10-09 17:40:02 +02:00
Luiz Augusto von Dentz
998be1ac40
tools/sdptool: Fix parsing for service class 0x110f
...
According to assigned number 0x110f is AV Remote Controller not VCP.
2013-10-09 17:38:11 +02:00
Marcel Holtmann
f87c55ba84
tools: Print PAL version for AMP controllers
2013-10-07 15:33:13 -07:00
Marcel Holtmann
39a1ae8a88
tools: Fix hciconfig device information printout for AMP controllers
2013-10-07 03:33:29 -07:00
Johan Hedberg
6d98c73b9c
tools/l2cap-tester: Fix closing server sockets in time
...
We should use the teardown function instead of the destroy function for
closing server sockets since otherwise tests may conflict with each
other.
2013-10-06 18:39:33 +03:00
Johan Hedberg
9debd78bfa
tools/l2cap-tester: Make setup_powered_server() enable LE advertising when necessary
2013-10-03 14:27:49 +03:00
Johan Hedberg
a98b18079c
tools/l2cap-tester: Rename generic test_bredr_server() to test_server()
2013-10-03 14:27:42 +03:00
Johan Hedberg
82574c4fee
tools/l2cap-tester: Fix passing correct psm to create_l2cap_sock()
2013-10-03 14:27:34 +03:00
Johan Hedberg
1faed0b2f5
tools/l2cap-tester: Separate server and client setup routines
2013-10-03 14:27:25 +03:00
Johan Hedberg
f203ef5eae
tools/l2cap-tester: Add LE support
2013-10-03 14:24:38 +03:00
Marcel Holtmann
a1fa0a3b49
tools/btmgmt: Fix small copy&paste issue
2013-10-02 06:15:52 -07:00
Marcel Holtmann
84beb3c00c
tools/btmgmt: Add support for setting static address
2013-10-02 06:15:52 -07:00
Johan Hedberg
f49000fe38
tools/mgmt-tester: Fix expected response code for start_discovery case
2013-10-02 16:01:41 +03:00
Anderson Lizardo
703f25174d
tools: Fix update_compids.sh to avoid non-ASCII output
...
Some distros have html2text patches that may generate non-ASCII output
even when -ascii is used. This patch adds another case (seen in Fedora)
where HTML entity   (non-breaking space) is converted into a
multibyte whitespace.
Also add a sanity check to make sure non-ASCII text is not introduced in
lib/bluetooth.c.
2013-10-02 14:09:01 +03:00
Johan Hedberg
87fc18fe0c
tools/mgmt-tester: Add some basic set_bredr set cases
2013-10-02 13:39:08 +03:00
Johan Hedberg
516007fa51
tools/btmgmt: Add support for set_bredr
2013-10-02 12:16:57 +03:00
Johan Hedberg
eb505db7cc
tools/btmgmt: Fix minor whitespace issue
2013-10-02 10:41:30 +03:00
Johan Hedberg
cad62a72df
tools/mgmt-tester: Update expected settings to support recent HS changes
2013-10-01 09:29:12 +03:00
Marcel Holtmann
997fa6b2d0
tools/mgmt-tester: Add test cases for enabling high speed
2013-09-30 22:03:59 -07:00
Marcel Holtmann
a1dcb380b3
tools/mgmt-tester: Cleanup indentation of test cases
2013-09-30 21:37:45 -07:00
Marcel Holtmann
d393673986
tools: Limit controller type to two bits of device info type
2013-09-28 21:00:02 -07:00
Johan Hedberg
83b702c620
tools/mgmt-tester: Add basic rejection test case for LE advertising
2013-09-25 13:51:29 +03:00
Johan Hedberg
7ee158fbe1
tools/mgmt-tester: Add basic LE advertising success test cases
2013-09-25 13:51:29 +03:00
Johan Hedberg
a0b987a0d9
tools/mgmt-tester: Take into account new "advertising" supported setting
2013-09-25 13:51:29 +03:00
Johan Hedberg
5d8b3ba494
emulator/bthost: Add support for creating LE connections
2013-09-25 13:51:11 +03:00
Johan Hedberg
f4bbedec71
tools/btmgmt: Add support for setting LE advertising
2013-09-25 13:51:11 +03:00
Johan Hedberg
f7ab1f6078
tools/l2cap-tester: Fix using right hciemu type
2013-09-19 20:41:50 +03:00
Johan Hedberg
bd97ccad97
tools/l2cap-tester: Add invalid config request server test
2013-09-17 08:05:54 +01:00
Johan Hedberg
6444872af4
tools/l2cap-tester: Add invalid CID server test case
2013-09-17 07:56:48 +01:00
Johan Hedberg
fd6f39b0f2
tools/l2cap-tester: Fix sending right req code in tests
2013-09-17 07:54:26 +01:00
Johan Hedberg
a4ddde38bf
tools/l2cap-tester: Add expected response data to nval PDU test
2013-09-17 07:38:30 +01:00
Frédéric Dalleau
aaf02e48e8
sco-tester: Update ECONNABORTED to EOPNOTSUPP
...
Kernel interface has evolved in between.
2013-09-09 11:25:19 +03:00
Marcel Holtmann
1cfb4ba2cf
tools: Add example utility to demonstrate user channel usage
2013-09-03 21:59:45 -07:00
Marcel Holtmann
8377fb0b83
tools: Make parameter argument variables const
2013-09-03 19:04:54 -07:00
Marcel Holtmann
963d6f089a
tools: Add command line options for btattach utility
2013-09-02 14:33:30 -07:00
Marcel Holtmann
e3cc40084c
tools: Remove libusb dependency from hid2hci
2013-08-28 14:11:28 -07:00
Marcel Holtmann
721faa6d13
tools: Fix a few USB handling issues within bccmd utility
2013-08-28 14:10:59 -07:00
Marcel Holtmann
fd087d91a0
tools: Access USB device directly from bccmd without libusb
2013-08-28 13:21:02 -07:00
Marcel Holtmann
0a200567f5
tools: Update magic definition for BTSnoop file format
2013-08-25 12:20:57 -07:00
Marcel Holtmann
66ee9fe10c
tools: Fix typo in error message
2013-08-25 11:20:20 -07:00
Marcel Holtmann
d815cc4adf
tools: Use btsnoop constants in conversion utility
2013-08-23 09:52:49 -07:00
Johan Hedberg
d01c257665
tools/scotest: Fix supporting hex voice setting values
2013-08-08 14:05:57 +03:00
Johan Hedberg
0ede25eddc
tools/scotest: Don't try BT_VOICE unless a non-zero voice setting was given
2013-08-08 14:01:48 +03:00
Johan Hedberg
7ddeb00c1a
tools/btiotest: Fix applying voice setting for incoming connections
2013-08-08 12:48:37 +03:00
Marcel Holtmann
4823139c23
tools: Fix path for bluetooth.org assigned numbers table
2013-08-07 12:20:35 -07:00
Johan Hedberg
d009995121
tools/btiotest: Print voice setting
2013-08-01 15:43:38 +03:00
Frédéric Dalleau
ae673b27c6
tools/sco-tester: Add more connection test cases
2013-08-01 12:54:32 +03:00
Frédéric Dalleau
5ae69263b7
tools/sco-tester: Add new SCO test tool
2013-08-01 12:54:32 +03:00
Frédéric Dalleau
89c0d1a490
scotest: Add option for SCO voice setting
2013-08-01 12:38:34 +03:00
Frédéric Dalleau
36e6ebec91
btiotest: Add option for SCO voice setting
2013-08-01 12:37:38 +03:00
Luiz Augusto von Dentz
d76b4b05b1
tools/mpris-player: Fix leaking memory when unregistering a player
...
Any memory allocated for user_data passed to
dbus_connection_register_object_path should be freed once unregistered.
2013-07-25 16:12:45 +03:00
Luiz Augusto von Dentz
77f567523b
tool/mpris-player: Fix not unregister players when adapter is removed
...
This prevent the players to be registered again when an adapter appeared
again.
2013-07-25 16:12:44 +03:00
Bruna Moreira
84dc71d92b
tools/mgmt-tester: Add stop discovery for BR/EDR only
...
Send stop command during inquiry. Check if inquiry cancel is sent and
discovering event is disabled.
2013-07-24 09:06:19 -07:00
Luiz Augusto von Dentz
adce984e04
tools/bluetooth-player: Make show-item command print Player property
...
This makes show-item command to print Player property that indicates
which player the item belongs to.
2013-07-17 14:31:49 +03:00
Luiz Augusto von Dentz
050a29b330
tools/mpris-player: Fix crash when forwarding player message
...
The iterator to which the message should be copied to should be the copy
message not the original message.
2013-06-17 15:02:58 +03:00
Luiz Augusto von Dentz
c757d55ce0
tools/mpris-player: Fix append_iter to copy all fields
...
This makes append_iter to work properly when copying another iter with
more than one field.
2013-06-14 15:44:54 +03:00
Luiz Augusto von Dentz
cf00b35d29
tools/hcidump: Fix parsing of Search PDU
2013-06-13 17:14:43 +03:00
Szymon Janc
bb8f73355d
rfcomm: Remove bogus manual entry
...
This was introduced in commit b1b5f09d40
"Include security parameters"
back in 2007. Those options are already descibed few lines below.
2013-06-13 16:15:09 +03:00
Szymon Janc
a3cb077557
tools: Update rfcomm help
...
This includes:
remove describtion of non-existing option '-f'
add missing description of '-L' option
add missing long version of '-i' option
2013-06-13 16:15:07 +03:00
Luiz Augusto von Dentz
96ef167192
tools/bluetooth-player: Fix crash when using search command
...
Invalid read of size 8
at 0x3F34619C4A: dbus_message_iter_append_basic (in /usr/lib64/libdbus-1.so.3.7.2)
by 0x40B764: search_setup (bluetooth-player.c:893)
by 0x4094FC: g_dbus_proxy_method_call (client.c:742)
by 0x40C2A4: cmd_search (bluetooth-player.c:941)
by 0x40B307: rl_handler (bluetooth-player.c:1099)
by 0x3733E2AFDA: rl_callback_read_char (in /usr/lib64/libreadline.so.6.2)
by 0x40BC0D: input_handler (bluetooth-player.c:1216)
by 0x3F31A47A54: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x3F31A47D87: ??? (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x3F31A48181: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x40445F: main (bluetooth-player.c:1434)
Address 0x4d4beb0 is 0 bytes inside a block of size 4 alloc'd
at 0x4A0887C: malloc (vg_replace_malloc.c:270)
by 0x3F31A4D68E: g_malloc (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x3F31A63F0B: g_strdup (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x40C281: cmd_search (bluetooth-player.c:939)
by 0x40B307: rl_handler (bluetooth-player.c:1099)
by 0x3733E2AFDA: rl_callback_read_char (in /usr/lib64/libreadline.so.6.2)
by 0x40BC0D: input_handler (bluetooth-player.c:1216)
by 0x3F31A47A54: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x3F31A47D87: ??? (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x3F31A48181: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x40445F: main (bluetooth-player.c:1434)
2013-06-12 16:37:23 +03:00
Luiz Augusto von Dentz
29952ebbb7
tools/bluetooth-player: Add show-item command
...
Add support for show-item command which can be used to print item
information.
2013-06-10 11:06:46 +03:00
Luiz Augusto von Dentz
d7adaaf844
tools/bluetooth-player: Add search command
...
Add support for search command which can be used to search a for items
containing a given string.
2013-06-10 11:06:46 +03:00
Luiz Augusto von Dentz
d876366199
tools/bluetooth-player: Add scan command
...
Add support for scan command which can be used to set scan mode.
2013-06-10 11:06:46 +03:00
Luiz Augusto von Dentz
ad3acd58f8
tools/bluetooth-player: Add shuffle command
...
Add support for shuffle command which can be used to set shuffle mode.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
f899c1fad7
tools/bluetooth-player: Add repeat command
...
Add support for equalizer command which can be used to set repeat mode.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
9d60d860ba
tools/bluetooth-player: Add equalizer command
...
Add support for equalizer command which can be used to enable/disable
equalizer.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
630a3e581c
tools/bluetooth-player: Add queue command
...
Add support for queue command which can be used to add an item to the
current playlist.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
d8d4f1699d
tools/bluetooth-player: Add item argument to play command
...
Add item argument to play command so it can be used to e.g. jump to
different item in the playlist.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
e742b25652
tools/bluetooth-player: Add list-items command
...
Add support for list-items command which can be used list items of
current folder.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
e3c4a32f93
tools/bluetooth-player: Add change-folder command
...
Add support for change-folder command which can be used to change
current folder.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
7c804e29bb
tools/bluetooth-player: Print playlist name in command show
...
This makes command show to print playlist name if available
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
45cf57c3e8
tools/bluetooth-player: Add proxy handling for org.bluez.MediaItem1
...
This adds proxy handling for org.bluez.MediaItem1 so changes to the
proxy are printed in the output.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
3c32cbf901
tools/bluetooth-player: Add folder properties to command show output
...
This add folder properties to command show output if MediaFolder1 is
supported.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
2fcad91d23
tools/bluetooth-player: Add proxy handling for org.bluez.MediaFolder1
...
This adds proxy handling for org.bluez.MediaFolder1 so changes to the
proxy are printed in the output.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
2c71af29bc
tools/bluetooth-player: Add select command
...
Add support for select command which can be used to set the default
player
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
1193019637
tools/bluetooth-player: Add show command
...
Add support for show command which can be used to show player
information
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
37f085ae5d
tools/bluetooth-player: Add list command
...
Add support for list command which can be used to list available players
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
ccc7d6726f
tools/bluetooth-player: Add rewind command
...
Add support for rewind command which can be used to rewind the playback
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
ffba5601a8
tools/bluetooth-player: Add fast-forward command
...
Add support for fast-forward command which can be used to fast forward
the playback
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
9948de8271
tools/bluetooth-player: Add previous command
...
Add support for next command which can be used to jump to the previous
item
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
5f5953ebee
tools/bluetooth-player: Add next command
...
Add support for next command which can be used to jump to the next item
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
4d8386628a
tools/bluetooth-player: Add stop command
...
Add support for stop command which can be used to stop the playback
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
49618d1f4d
tools/bluetooth-player: Add pause command
...
Add support for pause command which can be used to resume the playback
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
cd279e5075
tools/bluetooth-player: Add play command
...
Add support for play command which can be used to resume the playback
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
82e12919af
tools/bluetooth-player: Add support for container types to print_iter
...
This adds support for container types to print_iter so it can now print
'Track' property properly.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
171049e873
tools/bluetooth-player: Add proxy handling for org.bluez.MediaPlayer1
...
This adds proxy handling for org.bluez.MediaPlayer1 so changes to the
proxy are printed in the output.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
8f3995f25c
tools/bluetooth-player: Add initial code
...
This add initial code for things like input handling as well as some
basic commands.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
4302478ff6
build: Add bluetooth-player command line client
...
bluetooth-player is intended to control players connected over bluetooth.
2013-06-10 11:06:45 +03:00
Luiz Augusto von Dentz
2b942f8001
tools/mpris-player: Fix crash on 32-bit machines
...
Invalid read of size 4
at 0x424997E4: _dbus_header_get_byte_order (dbus-marshal-header.c:178)
by 0x4249EAF7: _dbus_message_iter_check (dbus-message.c:731)
by 0x4249FCAB: dbus_message_iter_next (dbus-message.c:2040)
by 0x8053BE0: parse_properties.isra.8 (mpris-player.c:447)
by 0x8054055: add_player (mpris-player.c:592)
by 0x8054A49: proxy_added (mpris-player.c:801)
by 0x804F6A5: parse_interfaces.part.3 (client.c:878)
by 0x8050551: get_managed_objects_reply (client.c:888)
by 0x424A6621: _dbus_pending_call_complete (dbus-pending-call.c:223)
by 0x42491617: complete_pending_call_and_unlock (dbus-connection.c:2314)
by 0x42494D3E: dbus_connection_dispatch (dbus-connection.c:4580)
by 0x804AF57: message_dispatch (mainloop.c:76)
Address 0x3ff00004 is not stack'd, malloc'd or (recently) free'd
2013-06-10 11:06:45 +03:00
Johan Hedberg
c682b0872f
tools/l2cap-tester: Use PSM 0x1001 instead of 0x0001
...
Using the SDP PSM isn't a good idea since bluetoothd could be running
and interfere with the test results.
2013-05-31 22:17:02 +03:00
Johan Hedberg
157afa4ebd
tools/l2cap-tester: Add invalid PSM client test case
2013-05-29 14:33:59 +03:00
Johan Hedberg
8b112301e5
tools/l2cap-tester: Refactor to enable per-test test data
2013-05-29 13:58:48 +03:00
Johan Hedberg
dc2ad05587
tools/l2cap-tester: Add invalid L2CAP PDU test case
2013-05-29 12:16:55 +03:00
Johan Hedberg
1cb6d14459
emulator: Add callback mechanism for L2CAP requests
2013-05-29 12:10:37 +03:00
Johan Hedberg
391dbdefa0
emulator: Make bthost L2CAP sender strictly only for requests
2013-05-29 11:05:32 +03:00
Johan Hedberg
33308f4eb0
tools/l2cap-tester: Take advantage of the new hciemu_client_get_host API
2013-05-29 10:34:33 +03:00
Johan Hedberg
6a4f5ce413
tools/l2cap-tester: Add basic server socket test case
2013-05-28 11:14:16 +03:00
Johan Hedberg
09bea07aaf
tools/l2cap-tester: Add basic L2CAP connect failure test case
2013-05-27 12:03:24 +03:00
Johan Hedberg
ee37ebe7d0
tools/l2cap-tester: Refactor L2CAP socket functions
2013-05-27 11:56:31 +03:00
Johan Hedberg
55e458e9ad
tools/l2cap-tester: Add basic connect test case
2013-05-27 11:48:23 +03:00
Johan Hedberg
3f86576f48
tools/l2cap-tester: Add connectable enabling for hciemu client
2013-05-25 18:26:18 -07:00
Johan Hedberg
dd61a43f45
tools: Add L2CAP end-to-end test tool
2013-05-24 14:30:37 -07:00
Anderson Lizardo
8ddf7093d1
tools: Add script for updating bt_compidtostr() implementation
...
This script uses curl and html2text to fetch company IDs from
bluetooth.org's "Assigned Numbers" section.
2013-05-19 07:03:55 +03:00
Johan Hedberg
e676814d60
btiotest: Fix wrong variable in log message
2013-05-17 11:28:11 +03:00
Johan Hedberg
3b164e92b8
btiotest: Add support for listening on a specific addr type
2013-05-17 11:17:54 +03:00
Johan Hedberg
4cdb00e131
btiotest: Add support for listening on a fixed CID
2013-05-17 11:16:09 +03:00
Luiz Augusto von Dentz
7be98f21d6
tools/mpris-player: Emit changes to HasTrackList
2013-05-16 15:03:57 +03:00
Luiz Augusto von Dentz
7973e44421
tools/mpris-player: Use playlist proxy instead of object path
...
This is more convenient as it gives access to all properties including
the Name of the playlist.
2013-05-16 15:03:53 +03:00
Luiz Augusto von Dentz
a3b7c4b1ac
tools/mpris-player: Wait MediaFolder interface appear to enable TrackList
...
This avoids having to use g_dbus_proxy_new which may create a new proxy
when the interface is no registered yet and might not be ready for use.
2013-05-16 15:03:49 +03:00
Luiz Augusto von Dentz
63dc54083a
tools/mpris-player: Always register Playlists and TrackList
...
MPRIS spec does not make use of ObjectManager so the interfaces need
to be registered all together otherwise clients may get errors and
assume the interfaces will never be registered.
2013-05-16 15:03:44 +03:00
Luiz Augusto von Dentz
f6758dfe3f
tools/mpris-player: Map mpris:trackid to Item
...
mpris:trackid is used as identifier of the current track.
2013-05-16 15:03:40 +03:00
Luiz Augusto von Dentz
678e53051a
tools/mpris-player: Add implementation of Playlists.GetPlaylists
2013-05-16 15:03:36 +03:00
Luiz Augusto von Dentz
9162957978
tools/mpris-player: Add implementation of Playlists.ActivatePlaylist
2013-05-16 15:03:33 +03:00
Luiz Augusto von Dentz
cf6c27314a
tools/mpris-player: Add support for MPRIS Playlists interface
...
This adds support for Playlists interface as defined in MPRIS:
http://specifications.freedesktop.org/mpris-spec/latest/Playlists_Interface.html
2013-05-16 15:03:29 +03:00
Luiz Augusto von Dentz
9e45ac1c92
tools/mpris-player: Add support for MPRIS TrackList.TrackMetadataChanged signal
2013-05-16 15:03:25 +03:00
Luiz Augusto von Dentz
ccb5fb21b2
tools/mpris-player: Add support for MPRIS TrackList.TrackRemoved signal
2013-05-16 15:03:21 +03:00
Luiz Augusto von Dentz
51e021de62
tools/mpris-player: Add support for MPRIS TrackList.TrackAdded signal
2013-05-16 15:03:16 +03:00
Luiz Augusto von Dentz
a73ff5d4a8
tools/mpris-player: Add implementation of TrackList.GoTo
2013-05-16 15:03:12 +03:00
Luiz Augusto von Dentz
226966cb0d
tools/mpris-player: Add implementation of TrackList.GetTracksMetadata
2013-05-16 15:03:07 +03:00
Luiz Augusto von Dentz
aa04c582cc
tools/mpris-player: Add support for MPRIS TrackList interface
...
This adds support for TrackList interface as defined in MPRIS:
http://specifications.freedesktop.org/mpris-spec/latest/Track_List_Interface.html
2013-05-16 15:03:02 +03:00
Johan Hedberg
108dc2d4ed
tools/l2test: Fix passing address type to bind()
2013-05-15 13:24:52 +03:00
Luiz Augusto von Dentz
6bc4a35fa4
tools: Fix printing of PlayItem pdu in hcidump
2013-05-14 17:28:33 +03:00
Lucas De Marchi
92ec168657
tools: Get rid of gint
...
Use plain int instead of gint. In glib gint is always a typedef to int,
so it's safe to use it even for callbacks with glib.
2013-05-01 09:08:57 +03:00
Luiz Augusto von Dentz
8b58d5f86e
tools: Fix parsing of PlayItem pdu in hcidump
2013-04-26 14:06:09 +03:00
Johan Hedberg
2c418e9898
tools/mgmt-tester: Fix expect_len assignment to use right variable
2013-04-24 12:58:21 +03:00
Johan Hedberg
e4056cf468
tools/mgmt-tester: Add valid test case for LE-only discovery
2013-04-24 12:57:34 +03:00
Johan Hedberg
59724c1ec1
tools/mgmt-tester: Update LE-only test case pre-conditions
...
Starting with Linux 3.10 single mode controllers will always have the LE
setting bit enabled in the current_settings mask.
2013-04-24 12:48:30 +03:00
Luiz Augusto von Dentz
95213d3e6c
tools: Fix avrcp_media_element_item_dump to print elements properly
2013-04-24 11:20:05 +03:00
Luiz Augusto von Dentz
6ebbf94bcc
tools: Fix AVRCP parsing of GetFolderItems for folders and items
...
Length of name is 2 bytes not 1
2013-04-19 21:58:48 +03:00
Luiz Augusto von Dentz
8b8141305f
tools: Fix mpris-player not forwarding method calls properly
...
This fixes not sending methods calls to players, it now copies the
contents of the original message into the copy instead of relying on
dbus_message_copy and send the reply back.
2013-04-17 17:35:44 +03:00
Luiz Augusto von Dentz
937a941fa2
sdptool: Use macro to calculate array size
2013-04-17 13:43:45 +03:00