OSDN Git Service

Pass AddressWithType into messages correctly
authorJakub Pawlowski <jpawlowski@google.com>
Mon, 7 Sep 2020 15:06:28 +0000 (17:06 +0200)
committerJakub Pawlowski <jpawlowski@google.com>
Mon, 7 Sep 2020 15:56:56 +0000 (15:56 +0000)
commitcc99a86ab38ec58c6ab6a9ba0ca06434b756ab05
treeab4e0f2e8c7f8549a5fd7e0fba5061af1feb89b9
parentd7ad610a985fb567a3dbd0c84a7cc6b45a64856a
Pass AddressWithType into messages correctly

BluetoothAddress is created from string, which was improperly set to
both address and type up till now. After this is fixed, one can finally
compare address with expected address in events.

Tag: #gd-refactor
Bug: 155399771
Test: gd/cert/run --host LeSecurityTest
Change-Id: I06d14f9eec6ac457d6f232899a4b9a63879ce7c1
gd/cert/matchers.py
gd/cert/py_le_security.py
gd/security/cert/le_security_test.py
gd/security/facade.cc