zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.55k stars 6.46k forks source link

[AutoPTS] Adapt to the changes in GATT database #3785

Closed zephyrbot closed 7 years ago

zephyrbot commented 7 years ago

Reported by Mariusz Skamra:

That issue was introduced in set of patches: d837a6ec4b6c0116c90ed2a962e8af0658aae88e aa5b47fc3f1872523112891fd35f504738b84ccb 79af35991b57aa7afb198d16a5fa8a9928df1fbf

The change introduced handles shift which affect AutoPTS. Additionally, now this could be quite problematic if IUT has e.g several services/characteristics and PTS may ask for value of one of them - we don't know which, it's unpredictable. And we have to be prepared to response. This affects both GAP and GATT test cases.

(Imported from Jira ZEP-2351)

zephyrbot commented 7 years ago

by Luiz Augusto von Dentz:

So is AutoPTS hard coding the handles, instead of checking what handle got assigned when registering the attributes?

zephyrbot commented 7 years ago

by Mark Linkmeyer:

Luiz Augusto von Dentz , please set the priority of this bug. Thx.

zephyrbot commented 7 years ago

by Ruslan Mstoi:

Note that this is issue is not in Zephyr, but instead in auto-pts which is separate project.

zephyrbot commented 7 years ago

by Ruslan Mstoi:

Fixes committed to auto-pts tree.

zephyrbot commented 7 years ago

by Mark Linkmeyer:

Closing as "Won't Do" since there was nothing to fix in Zephyr. (Yes, we need to add a "Not a Bug" or "Invalid" resolution. I'll work on that!) Thx.