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