| a67b0480 |
Revert "core: Fix unnecessary calls to agent_cancel()"
agent_cancel calls are necessary since agent_unref only call it in case
the last reference is dropped. |
Luiz Augusto von Dentz |
11 years ago |
3 files, +8, -2 |
| a4d854c4 |
android/pts: Update GAP results
Some cases were disabled due to updated PICS setup (mostly Privacy Feature 1.0) |
Jakub Tyszkowski |
11 years ago |
1 file, +66, -80 |
| f409b2c3 |
android/pts: Update GAP PICS and PIXIT
This updates PICS and PIXIT setup for PTS 5.3.0.4 |
Jakub Tyszkowski |
11 years ago |
2 files, +9, -9 |
| f6a27623 |
lib: Update company identifiers |
Marcel Holtmann |
11 years ago |
1 file, +38, -0 |
| 8c8d4431 |
shared/gatt-db: Fix use of INT_TO_PTR for handles
This make use of UINT_TO_PTR since handles are uint16_t. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +14, -14 |
| 53d39af1 |
obexd/mas: Handle register notification open
Changes made to handle method open for mime_notification_registration |
Bharat Panda |
11 years ago |
1 file, +29, -1 |
| c7e65ffa |
android/tester: Add AVRCP GetElementAttributes test case |
Ravi kumar Veeramally |
11 years ago |
3 files, +121, -0 |
| 3676ae7b |
android/tester: Add AVRCP RegNotifTrackChanged test case |
Ravi kumar Veeramally |
11 years ago |
3 files, +92, -1 |
| 62f076f5 |
android/tester: Add AVRCP GetPlayStatus test case |
Ravi kumar Veeramally |
11 years ago |
3 files, +116, -0 |
| f1cfb28c |
android/tester: Fix wrong state comparison in A2DP and AVRCP tests
btav_connection_state_t and btav_audio_state_t enum values are wrongly
stored in different enum type(bt_state_t state). |
Ravi kumar Veeramally |
11 years ago |
2 files, +25, -6 |
| 8ea9f985 |
tools/btgatt-client: Leave strtol detect base
strtol can detect what base the value is:
'If base is zero or 16, the string may then include a "0x" prefix,
and the number will be read in base 16; otherwise, a zero base is
taken as 10 (decimal) unless the next character is '0', in which
case it is taken as 8 (octal).' |
Luiz Augusto von Dentz |
11 years ago |
1 file, +11, -11 |
| a419e7b7 |
TODO: Add new shared/gatt TODO items.
Added items for adding packed structs for ATT PDUs and improving unit test
coverage. |
Arman Uguray |
11 years ago |
1 file, +15, -0 |
| 37bfc805 |
shared/gatt-db: Fix range handling in read by grp type.
This patch fixes bug in gatt_db_read_by_grp_type in which the range end handle
was being ignored. This caused incorrect results to be sent for a database
where services exists beyond the end handle provided in the request. |
Arman Uguray |
11 years ago |
1 file, +10, -1 |
| 574c53b3 |
tools/btgatt-client: Print prompt on service changed.
The service changed handler now prints the command line prompt if the
changed service list empty. |
Arman Uguray |
11 years ago |
1 file, +4, -1 |
| 2aa6f6fb |
tools/btgatt-client: Fix off-by-one error.
This patch fixes an error in write-long-value command that caused an
extra invalid byte to get sent at the end of the long write value. |
Arman Uguray |
11 years ago |
1 file, +1, -1 |
| c06fbc2b |
tools/btgatt-client: Fix read-long-value offset parsing.
This patch fixes the way read-long-value command parses the "offset"
argument by interpreting it as base 10 instead of 16, which is more
intuitive. |
Arman Uguray |
11 years ago |
1 file, +2, -2 |
| a7e4f631 |
shared/gatt-client: Fix bug in service changed handling.
This patch fixes a bug where the upper layer never got notified of a
service changed event if no new services are added within a changed
service range. This also fixes a bug where an empty changed service list
or ATT error caused pending service changed events to not get processed. |
Arman Uguray |
11 years ago |
1 file, +6, -5 |
| e3962d93 |
shared/gatt-client: Fix bug in service changed queue.
This patch fixes a bug where the handle range for queued service changed
events weren't getting stored. This caused service discovery to be
initiated for the 0x0000-0x0000 range, which caused an error response. |
Arman Uguray |
11 years ago |
1 file, +3, -0 |
| 7c01439f |
android/pts: Interim PTS tests results for L2CAP |
Sebastian Chlad |
11 years ago |
1 file, +44, -16 |
| 25eac54c |
android/pts: PIXITs and PICS' for L2CAP on PTS 5.3 |
Sebastian Chlad |
11 years ago |
2 files, +87, -61 |
| 0e73bb79 |
shared/hfp: Fix possible NULL pointer dereference
Fix missing check if malloc succed. |
Szymon Janc |
11 years ago |
1 file, +2, -0 |
| ee91c143 |
unit/test-hfp: Add some robustness tests for HFP HF
This patch adds folowing tests:
/hfp/test_hf_corrupted_1
/hfp/test_hf_corrupted_2
/hfp/test_hf_empty
/hfp/test_hf_unknown |
Lukasz Rymanowski |
11 years ago |
1 file, +40, -0 |
| de48f9ae |
unit/test-hfp: Add tests for unsolicited results for HFP HF
This patch adds three test case:
/hfp_hf/test_unsolicited_1
/hfp_hf/test_unsolicited_2
/hfp_hf/test_unsolicited_3 |
Lukasz Rymanowski |
11 years ago |
1 file, +60, -0 |
| 68f7cd5a |
unit/test-hfp: Add send command tests for HFP HF
This patch adds following tests:
/hfp_hf/test_send_command_1
/hfp_hf/test_send_command_2 |
Lukasz Rymanowski |
11 years ago |
1 file, +74, -0 |
| 1ad358e0 |
unit/test-hfp: Add init test for HFP HF
This patch adds basic infrastruction for HFP HF test plus
init test.
It also moves send_pdu function in the file so it can be used by
test_hf_handler |
Lukasz Rymanowski |
11 years ago |
1 file, +85, -18 |
| fff97d80 |
unit/test-hfp: Provide test_handler function via struct data
This patch allows us to use user defined test handler depends on needs.
Will use it in following patches which implements tests for HFP HF. |
Lukasz Rymanowski |
11 years ago |
1 file, +5, -1 |
| d68c6e6f |
shared/hfp: Add send AT command API for HFP HF
This patch adds handling send and response of AT command.
Note that we always wait for AT command response before sending next
command, however user can fill hfp_hf with more than one command.
All the commands are queued and send one by one. |
Lukasz Rymanowski |
11 years ago |
2 files, +168, -0 |
| db2e1d0b |
shared/hfp: Add HFP HF parser
This patch adds parser for AT responses and unsolicited results. |
Lukasz Rymanowski |
11 years ago |
1 file, +175, -0 |
| cdf9ec58 |
shared/hfp: Add register/unregister event for HFP HF |
Lukasz Rymanowski |
11 years ago |
2 files, +109, -0 |
| 33e944d1 |
shared/hfp: Add set disconnect handler and disconnect API to HFP HF |
Lukasz Rymanowski |
11 years ago |
2 files, +68, -0 |
| 549ed5c5 |
shared/hfp: Add set_debug and close_on_unref API for HFP HF |
Lukasz Rymanowski |
11 years ago |
2 files, +60, -0 |
| 6f10a967 |
shared/hfp: Add support for HFP HF
This patch add struct hfp_hf plus fuctions to create an instance ref and
unref. This code based on existing hfp_gw |
Lukasz Rymanowski |
11 years ago |
2 files, +99, -0 |
| c0b3e9ac |
core: Add subscription API for Manufacturer Specific Data
This patch allows plugins to be notified whenever an adapter receives
Manufacturer Specific Data in the advertising reports from a device.
This can happen when new device is discovered or when we autoconnect
to it. |
Alfonso Acosta |
11 years ago |
2 files, +55, -0 |
| 4101c18d |
core: Add Manufacturer Specific Data EIR field
Add data structure and parsing support. |
Alfonso Acosta |
11 years ago |
2 files, +32, -0 |
| b7fcba9c |
android/pts: Update ScPP test results for PTS 5.3 |
Szymon Janc |
11 years ago |
3 files, +5, -5 |
| 3883c4a6 |
unit/test-avrcp: Add /TP/PTH/BV-02-C test
Verify that when a button to send a PASS THROUGH command is held
down the CT continues to issue button presses every 2 seconds until the
button is released. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +16, -0 |
| ea331a25 |
unit/test-avrcp: Add /TP/PTH/BV-01-C test
Verify the state flag in the PASS THROUGH command is correctly set to
convey the button action. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +14, -0 |
| 272157c6 |
doc/test-coverage: Update Android tests count |
Szymon Janc |
11 years ago |
1 file, +2, -2 |
| 5a7d3dc7 |
android/tester: Add GATT server send response to write req test cases
This adds send response by server to write request test cases. |
Grzegorz Kolodziejczyk |
11 years ago |
3 files, +222, -1 |
| f3b7e866 |
android/tester: Add GATT server send response to read req test cases
This adds send response by server to read request test cases. |
Grzegorz Kolodziejczyk |
11 years ago |
3 files, +244, -1 |
| 0f0ae494 |
android/tester: Add GATT server send indication test cases
This adds send indication by server test cases. |
Grzegorz Kolodziejczyk |
11 years ago |
3 files, +162, -2 |
| 9314547b |
android/tester: Add att pdu remote receive debug log
This adds additional logs with received opcode of att pdu by remote |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +2, -0 |
| fbf70daa |
android/tester: Use BT_STATUS defines instead of hardcoded values
Status value in test case structs should use defined BT_STATUS types. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +4, -4 |
| 7e106e74 |
android/tester: Fix hardcoded length values
Lenght variable shouldn't be hardcoded in test case structs. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +2, -2 |
| 8e8ca99d |
android/tester: Define write types for GATT test cases
Gatt test cases should use defined write types. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +7, -2 |
| a74f2bce |
android/gatt: Fix return status if failed to allocate memory
NOMEM HAL status should be returned in case if it's not possible to
alloc memory for notifiaction data. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +1, -1 |
| d25c3a15 |
shared/att-types: Add attribute permission defines
GATT doesn't have a standard way of representing attribute permissions
but coming up with values that can be used consistently among code that
uses shared/att is valuable. This patch introduces defines to represent
attribute permissions in a bitfield, with specific bits assigned to
read and write access, encryption, authentication, and authorization
permissions. |
Arman Uguray |
11 years ago |
1 file, +12, -0 |
| 7cac24c4 |
shared/att-types: Move GATT defines
This patch moves GATT characteristic property defiens from gatt-client
to att-types. att-types is a logical place for these since gatt-server
will make use of them as well. |
Arman Uguray |
11 years ago |
2 files, +14, -9 |
| d517740a |
shared/att: Fix bt_att_cancel
bt_att_cancel and bt_att_cancel_all no longer destroy any pending
request or indication, since this would cause a later bt_att_send to
erroneously send out a request or indication before a
response/confirmation for a pending one is received. Instead, they now
keep the pending operations but clear their response and destroy
callbacks since the upper layer is no longer interested in them. |
Arman Uguray |
11 years ago |
1 file, +14, -10 |
| 7312dbec |
TODO: shared/gatt-client now supports included services |
Szymon Janc |
11 years ago |
1 file, +0, -9 |