| f179ff75 |
core: Allow passive scanning to update existing devices
During the passive scan, do not create new devices or update temporary
ones. However update of existing paired devices is desired. |
Marcel Holtmann |
13 years ago |
1 file, +30, -13 |
| 99d34b8c |
core: Check for LE controller before cancelling passive scanning |
Marcel Holtmann |
13 years ago |
1 file, +5, -0 |
| 3f2d53c6 |
core: Avoid pointless casting of GCompareFunc for compare functions |
Marcel Holtmann |
13 years ago |
3 files, +31, -25 |
| bf7446cb |
core: Use delay between passive scanning iterations
Keeping the conroller active for passive scanning with the current
kernel interface seems inefficient since it automatically disables
the discovery procedure. So instead of restarting it right away,
introduce a small delay to give the controller more chances to sleep. |
Marcel Holtmann |
13 years ago |
1 file, +35, -5 |
| c16853b3 |
core: Add support for triggering passive scanning
This is the first step for passive scanning support. Create triggers
at various location to allow entering passive scanning. |
Marcel Holtmann |
13 years ago |
1 file, +78, -1 |
| f0ccb6d4 |
core: Handle existing start discovery gracefully
In case a discovery already exists, keep using it if is has the same
type and only if not, stop it and start a new one. |
Marcel Holtmann |
13 years ago |
1 file, +35, -6 |
| 7b897d2d |
core: Simplify discovery start and stop handling
To make the discovery start, stop and restart logic even simple, just
trigger start of discovery when client gets registered. It is almost
impossible to handle all corner cases, so just trigger another restart
of the discovery with a larger timeout in case of an error. |
Marcel Holtmann |
13 years ago |
1 file, +48, -91 |
| 407579a9 |
core: Fix multiple issues with discovery handling
This patch is the first attempt in fixing the discovery issues for
dual-mode BR/EDR + LE controllers. It creates a clean chain for
start/stop discovery client handling and also for the internal
handling of suspend, resume and restart.
However this patch removes the LE connection handling. And that needs
to be put back with a separate patch. |
Marcel Holtmann |
13 years ago |
1 file, +452, -403 |
| bbf2080f |
tools: Use proper test data in mgmt_unblock_device test
Copy and paste error. Although both data values are same use proper
one for clarity. |
Szymon Janc |
13 years ago |
1 file, +1, -1 |
| d1c281d8 |
core: Use discovery found list instead of nested struct |
Marcel Holtmann |
13 years ago |
1 file, +12, -28 |
| a97fef54 |
core: Remove pending_mode session variable |
Marcel Holtmann |
13 years ago |
1 file, +0, -1 |
| dde1b958 |
core: Remove unneeded session reference counting |
Marcel Holtmann |
13 years ago |
1 file, +9, -32 |
| 5e4f1b8d |
core: Remove session_req_type variable and parameter |
Marcel Holtmann |
13 years ago |
1 file, +3, -12 |
| ddcc0659 |
core: Rename a few functions and parameters |
Marcel Holtmann |
13 years ago |
1 file, +18, -21 |
| 756dc8fb |
core: Remove unused got_reply session variable |
Marcel Holtmann |
13 years ago |
1 file, +0, -1 |
| 5dcfbe21 |
AVRCP: Fix rejecting RegisterNotification if no transport exists
If no transport exists set the volume as 0, the real volume will be set
when a transport becomes available. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +2, -1 |
| 79fa8ef2 |
core: Add workaround for device pairing kernel bug
Some kernels reply to device pairing command with bogus command status
instead of command complete event if adapter was not powered.
Command status event doesn't provide remote device address and type
needed to properly complete bonding request.
Pass possibly missing data as user_data to mgmt_send and use it in
pair_device_complete function if needed. |
Szymon Janc |
13 years ago |
1 file, +35, -4 |
| 8e9880bf |
tools: Add basic invalid params test case for mgmt_unblock_device |
Johan Hedberg |
13 years ago |
1 file, +18, -0 |
| fba96118 |
tools: Add basic invalid params test case for mgmt_block_device |
Johan Hedberg |
13 years ago |
1 file, +18, -0 |
| f3a2159b |
tools: Add basic mgmt_disconnect invalid params test case |
Johan Hedberg |
13 years ago |
1 file, +18, -0 |
| 6443a0db |
tools: Add basic mgmt_unpair_device test cases |
Johan Hedberg |
13 years ago |
1 file, +50, -0 |
| aec8ed66 |
tools: Add mgmt_pair_device test with invalid address type |
Johan Hedberg |
13 years ago |
1 file, +16, -0 |
| e8172c63 |
tools: Add mgmt test case for pair device while powered off
This tests if kernel is responding with proper command complete event. |
Szymon Janc |
13 years ago |
1 file, +18, -0 |
| 5f1e9e1e |
tools: Add another invalid params mgmt_load_long_term_keys test |
Johan Hedberg |
13 years ago |
1 file, +19, -0 |
| 84c1e8f4 |
tools: Add more mgmt_load_ltks invalid params tests |
Johan Hedberg |
13 years ago |
1 file, +70, -0 |
| 97033327 |
obexd: Add parameter Status to GetMessageListing response
The parameter Status indicates the status of reception of the message.
It can be used to differentiate between messages with a reception status
of "completed", "fractioned" and "notification".
This parameter got lost when obexd was refactored to use of D-Bus properties.
The documentation and the parsing code for it was still there. |
Christian Fetzer |
13 years ago |
1 file, +19, -0 |
| 41d1d89c |
obexd: Add parameter AttachmentSize to GetMessageListing response
The parameter AttachmentSize indicates if the message contains
any attachment and their overall size (in bytes). |
Christian Fetzer |
13 years ago |
2 files, +26, -0 |
| cb4a4de9 |
obexd: Move parse_size function in map.c
This reorders msg_parsers and moves the function parse_size
to match the order in the MAP specification. |
Christian Fetzer |
13 years ago |
1 file, +8, -8 |
| ff52e502 |
obexd: Add parameter Text to GetMessageListing response
The Text flag indicates if the message contains any textual content
or has binary content only. |
Christian Fetzer |
13 years ago |
2 files, +29, -0 |
| f9998e75 |
obexd: Add parameter SubjectLength to map_list_messages
This parameter allows the client to request a maximum length of the
parameter "subject" in the messages listing. |
Christian Fetzer |
13 years ago |
2 files, +23, -2 |
| ce3b4e08 |
unit: Add gdbus/client_get_uint64_property |
Luiz Augusto von Dentz |
13 years ago |
1 file, +65, -0 |
| 3cbdf560 |
unit: Add gdbus/client_get_array_property |
Luiz Augusto von Dentz |
13 years ago |
1 file, +79, -0 |
| 84bf1800 |
unit: Add gdbus/client_get_boolean_property |
Luiz Augusto von Dentz |
13 years ago |
1 file, +65, -0 |
| ecb4a6c9 |
unit: Add gdbus/client_get_string_property |
Luiz Augusto von Dentz |
13 years ago |
1 file, +64, -0 |
| e0ef7d52 |
unit: Add gdbus/client_get_dict_property |
Luiz Augusto von Dentz |
13 years ago |
1 file, +150, -0 |
| 65256bd9 |
tools: Add basic failure test case for mgmt_load_long_term_keys |
Johan Hedberg |
13 years ago |
1 file, +11, -0 |
| 1292ceea |
tools: Add basic success test case for mgmt_load_long_term_keys |
Johan Hedberg |
13 years ago |
1 file, +12, -0 |
| 1f7f6599 |
tools: Add another invalid params test for mgmt_load_link_keys |
Johan Hedberg |
13 years ago |
1 file, +11, -0 |
| 311e9cd3 |
doc: Add note about Debug_Keys parameter for Load Link Keys Command |
Johan Hedberg |
13 years ago |
1 file, +5, -0 |
| e5285a77 |
tools: Add basic invalid parameters test case for mgmt_load_link_keys |
Johan Hedberg |
13 years ago |
1 file, +11, -0 |
| 43f488ce |
tools: Add initial success test cases for mgmt_load_link_keys |
Johan Hedberg |
13 years ago |
1 file, +24, -0 |
| e77ae995 |
tools: Add temporary workaround for mgmt_set_powered kernel bug |
Johan Hedberg |
13 years ago |
1 file, +8, -1 |
| 39e3f57a |
shared: Add separate timed out test result |
Johan Hedberg |
13 years ago |
1 file, +7, -1 |
| 50e4f391 |
tools: Use a timeout for all mgmt test cases |
Johan Hedberg |
13 years ago |
1 file, +7, -25 |
| daead8de |
tools: Fix EIR reference data to account for TX power in newer kernels |
Johan Hedberg |
13 years ago |
1 file, +5, -5 |
| fff442f2 |
tools: Add mgmt test case for multiple UUID-16 values |
Johan Hedberg |
13 years ago |
1 file, +76, -7 |
| 52e64891 |
shared: Fix missing removal of test timeout for success/failure |
Johan Hedberg |
13 years ago |
1 file, +10, -0 |
| e753547a |
tools: Add basic add_uuid UUID-32 test case for mgmt-tester |
Johan Hedberg |
13 years ago |
1 file, +49, -0 |
| 7b152cce |
tools: Add basic add_uuid UUID-16 test case for mgmt-tester |
Johan Hedberg |
13 years ago |
1 file, +66, -0 |
| 89176f57 |
unit: Add advertising data from MIO Alpha heartrate watch for testing |
Marcel Holtmann |
13 years ago |
1 file, +14, -0 |