| e254c6ae |
android/pts: Update AVCTP pixits, pics and test results for PTS 6.0
This patch updates tet pixits, pics, test results and their instructions
for AVCTP profile against android 5.0.
PTS uses AVCTP ETS in version: 9.0.0.11 |
Grzegorz Kolodziejczyk |
10 years ago |
3 files, +5, -4 |
| aacfac2e |
doc/test-coverage: Update test-gatt count |
Luiz Augusto von Dentz |
10 years ago |
1 file, +2, -2 |
| e5f93ebe |
android/pts: Update GATT PIXIT, PICS for PTS 6.0 |
Mariusz Skamra |
10 years ago |
2 files, +22, -8 |
| 291adeff |
android/pts: Update GATT test results for PTS 6.0 |
Mariusz Skamra |
10 years ago |
1 file, +13, -11 |
| aa5e6a5e |
android/pts: Update SM pixits, pics and test results for PTS 6.0
This patch updates test pixits, pics, test results and their
instructions for SM profile against android 5.0 |
Grzegorz Kolodziejczyk |
10 years ago |
3 files, +40, -23 |
| b5a78bf6 |
android/gatt: Fix not confirming notifications and indications
In Lollipop, server app notifications needs to be confirmed just like
indications. We had those confirmations missing thus server apps
would stop indicating/notifying after first indication/notification
is send. |
Jakub Tyszkowski |
10 years ago |
1 file, +19, -3 |
| 5647336b |
android/gatt: Remove device's connection counter
Originally we used connection counter to determine if device object
is still needed or should be destroyed but we switched to reference
counting quite some time ago and this counter is not needed anymore. |
Jakub Tyszkowski |
10 years ago |
1 file, +3, -5 |
| 355770ca |
android/gatt: Remove reduntant comparison
This is not needed as we only have one type or the other. |
Jakub Tyszkowski |
10 years ago |
1 file, +1, -1 |
| 56ad27f2 |
android/gatt: Minor function renames
App connection notification functions names were not very descriptive
and it wasn't clear why for server and client notification sending
'status' function parameter was modified. With this patch, 'state' valid
for server and 'connection/disconnection status' valid for client are
distinguished.
Some functions also had 'send' prefix despite not calling 'ipc_send_'
directly like others do.
Declared type in 'struct app_connection *connection' function parameter
tells enough, thus parameter name was shortened to 'conn' in favor of
consistency and more descriptive function naming. |
Jakub Tyszkowski |
10 years ago |
1 file, +57, -57 |
| 24cb47ef |
android/gatt: Minor debug message change
It's easier to have opcode in hex. |
Jakub Tyszkowski |
10 years ago |
1 file, +1, -1 |
| 22569c40 |
android/gatt: Remove REQUEST_INIT state
This state is redundant as it is just yet another pending state for which
we are not even testing anywhere. |
Jakub Tyszkowski |
10 years ago |
1 file, +0, -9 |
| f34459d6 |
android/gatt: Remove redundant search
Searching for device is not needed since we have reference counting and
device is there as long as app connection exist. |
Jakub Tyszkowski |
10 years ago |
1 file, +0, -4 |
| baa37c71 |
android/pts: Update MCAP test results for PTS 6.0
This patch updates test results and instructions for MCAP profile
against android 5.0 |
Grzegorz Kolodziejczyk |
10 years ago |
1 file, +40, -79 |
| 816053ca |
android/pts: Update MCAP test pics, pixits for PTS 6.0
This patch updates test pixits, pics, for MCAP profile against android
5.0 |
Grzegorz Kolodziejczyk |
10 years ago |
2 files, +3, -3 |
| 042b83de |
tools/mcaptest: Seperate disconnect link timeout and call parameters
Data connection shouldn't be automatically closed if MDL disconnect
timeout parameter is given. Disconnect immediately if mdl connection is
established should be triggered with parameter giving and it should be
independent of MDL disconnect timeout parameter. MCL disconnect
possibility (after mdl disconnect) should be also controlled with
parameter independently of its disconnect timeout.
This set of parameters gives possibility to pass all PTS 6.0.1 MCAP test
cases. |
Grzegorz Kolodziejczyk |
10 years ago |
1 file, +38, -9 |
| ec935364 |
tools/mcaptest: Refractor debug logs for functions
Add missing logs for callback functions and unify existing. |
Grzegorz Kolodziejczyk |
10 years ago |
1 file, +11, -3 |
| dcdba3c2 |
tools/mcaptest: Minor style fix
This patch add white lines between neighbouring bodys. |
Grzegorz Kolodziejczyk |
10 years ago |
1 file, +2, -0 |
| b7b73fcf |
android/gatt: Fix not sending MTU exchange response
g_attrib_set_mtu can invalidate buffer obtained from
g_attrib_get_buffer so it must not be called after
g_attrib_get_buffer and before g_attrib_send. |
Szymon Janc |
10 years ago |
1 file, +3, -3 |
| e5e9af0c |
android/gatt: Improve MTU exchange debug logs
This makes logs more usable. |
Szymon Janc |
10 years ago |
1 file, +8, -8 |
| 8c4a1575 |
unit/test-gatt: Fix using printf |
Luiz Augusto von Dentz |
10 years ago |
1 file, +10, -8 |
| f7ee6614 |
unit/test-gatt: Fix minor inconsistency
Add 0x for consistency. |
Michael Janssen |
10 years ago |
1 file, +2, -2 |
| 6750307f |
unit/test-gatt: Add TP/GAI/CL/BV-01-C test
Verify that a Generic Attribute Profile client can respond with a
Confirmation to a Characteristic Value Indication. |
Michael Janssen |
10 years ago |
1 file, +40, -0 |
| da0bd394 |
unit/test-gatt: Add TP/GAI/SR/BV-01-C test
Verify that a Generic Attribute Profile server can send a Characteristic
Value Indication. |
Michael Janssen |
10 years ago |
1 file, +49, -5 |
| 6258daa2 |
unit/test-gatt: add support for post-tests
Sometimes a check must be made that something happened after all data is
transferred. A post function on the test step can check. |
Michael Janssen |
10 years ago |
1 file, +18, -13 |
| 5da6678b |
unit/test-gatt: Add TP/GAN/SR/BV-01-C test
Verify that a Generic Attribute Profile server can send a Characteristic
Value Notification. |
Michael Janssen |
10 years ago |
1 file, +47, -12 |
| e423f17f |
unit/test-gatt: Add TP/GAN/CL/BV-01-C test
Verify that a Generic Attribute Profile client can receive a
Characteristic Value Notification and report that to the Upper Tester. |
Michael Janssen |
10 years ago |
1 file, +98, -8 |
| 68dca882 |
unit/test-gatt: Add support for no-actions
With some tests (specifically notification / indication tests), the
client sets up a condition and then the server does something without
a message from the client. This patch makes it possible to add a
zero-length PDU which indicates that no message is expected from the
client after a server response. |
Michael Janssen |
10 years ago |
1 file, +9, -0 |
| 93fedbb9 |
shared/gatt-client: Skip discovery with no handles
If there are no handles in a defined service, it is not useful to try to
discover anything in it, just go to the next service. |
Michael Janssen |
10 years ago |
1 file, +9, -0 |
| a5cd2da3 |
TODO: Bump priority of signed writes
This has to be completed in order to finalize unit tests as well as use
it in BfA. |
Luiz Augusto von Dentz |
10 years ago |
1 file, +1, -1 |
| bcf078d3 |
TODO: Add tasks for GATT client examples |
Luiz Augusto von Dentz |
10 years ago |
1 file, +10, -0 |
| 0d436295 |
unit/test-gatt: Fix duplicate test case number
TP/GAR/CL/BI-22-C was duplicated as TP/GAR/CL/BI-21-C. |
Gowtham Anandha Babu |
10 years ago |
1 file, +1, -1 |
| e2c06add |
unit/gatt: Add TP/GAR/CL/BI-05-C test
Verify Generic Attribute Profile client behavior when the Read
Characteristic Value procedure fails due to insufficient encryption
key size. |
Gowtham Anandha Babu |
10 years ago |
1 file, +12, -0 |
| 4d4426ca |
unit/gatt: Add TP/GAR/CL/BI-04-C test
Verify Generic Attribute Profile client behavior when the Read
Characteristic Value procedure fails due to insufficient authentication. |
Gowtham Anandha Babu |
10 years ago |
1 file, +12, -0 |
| 229e5832 |
client: Handle attribute notifications
This enable printing properties changes to the current selected
attribute. |
Luiz Augusto von Dentz |
10 years ago |
1 file, +13, -0 |
| fcbf38a9 |
client: Add notify command
This command can be used to start/stop changes on the attribute value,
it only works if an attribute has been selected with select-attribute. |
Luiz Augusto von Dentz |
10 years ago |
3 files, +64, -0 |
| 52392d84 |
client: Add write command
This command can be used to write attributes, it only works if an
attribute has been selected with select-attribute.
The data argument should be passed hexdump format, %02x separated by
spaces, which is the same format used by read command. |
Luiz Augusto von Dentz |
10 years ago |
3 files, +98, -0 |
| 838bdbce |
client: Add read command
This command can be used to read attributes, it only works if an
attribute has been selected with select-attribute. |
Luiz Augusto von Dentz |
10 years ago |
3 files, +72, -0 |
| 044ff5e4 |
client/display: Add rl_hexdump |
Luiz Augusto von Dentz |
10 years ago |
2 files, +42, -0 |
| cfe7f0a6 |
client: Add attribute-info command
attribute-info can be used to print out attribute information. |
Luiz Augusto von Dentz |
10 years ago |
1 file, +81, -15 |
| 2eb1f615 |
client: Add command select-attribute
Command select-attribute can be used to select a service attribute. |
Luiz Augusto von Dentz |
10 years ago |
3 files, +146, -9 |
| 496b6abf |
client: Add command list-attributes
This command can be used to list service attributes of a device. |
Luiz Augusto von Dentz |
10 years ago |
3 files, +44, -0 |
| 8144c2ff |
client: Make commands relative to device
In case a device is connected make it the default and print to the
prompt, so the user don't have to type in its address. |
Luiz Augusto von Dentz |
10 years ago |
1 file, +85, -68 |
| 77196fd6 |
client: Add support for GattDescriptor1
This add support for GattDescriptor1 interface detection and
prints when they are added or removed. |
Luiz Augusto von Dentz |
10 years ago |
3 files, +73, -0 |
| c6923a75 |
client: Add support for GattCharacteristic1
This add support for GattCharacteristici1 interface detection and
prints when they are added or removed |
Luiz Augusto von Dentz |
10 years ago |
3 files, +73, -0 |
| aab6835b |
client: Add support for GattService1
This add support for GattService1 interface detection and prints when
they are added or removed |
Luiz Augusto von Dentz |
10 years ago |
4 files, +146, -0 |
| 64bedd4d |
android/handsfree: Fix possible invalid memory write
Copy command to IPC buffer only after checking string size. |
Szymon Janc |
10 years ago |
1 file, +2, -1 |
| e8ef2591 |
android/handsfree: Relax AT+CMER handling
Spec says that HF may (not should) use AT+CMER=3,0,0,1 command to
activate indicators. Since AT+CMER has additional bfr parameter that
may be send by HF we should just skip it instead of failing.
This fix connection with Jaguar XF 2009 carkit. |
Szymon Janc |
10 years ago |
1 file, +5, -2 |
| 95b70f30 |
android/handsfree: Don't disconnect on unknown command in SLC
When connecting HFP simply reply with ERROR to any command not related
to SLC creation but don't disconnect in such case.
This fix connection issue with Jaguar XF 2009 carkit that sends
AT+CPIN? command before AT+BRSF. |
Szymon Janc |
10 years ago |
1 file, +2, -7 |
| 5ffe7b9a |
doc: Mention the release of the 3.19 kernel |
Johan Hedberg |
10 years ago |
1 file, +1, -1 |
| 7042a311 |
android/gatt: Add helper for updating MTU
This makes code cleaner and also put all the MTU checks in single
function. |
Szymon Janc |
10 years ago |
1 file, +34, -25 |