Conversation
Signed-off-by: Hunsup Jung <[email protected]>
Signed-off-by: Hunsup Jung <[email protected]>
Signed-off-by: Hunsup Jung <[email protected]>
Signed-off-by: Hunsup Jung <[email protected]>
Signed-off-by: Hunsup Jung <[email protected]>
Signed-off-by: Hunsup Jung <[email protected]>
|
Invitation URL: |
Test Results 72 files 493 suites 0s ⏱️ Results for commit 8a85173. ♻️ This comment has been updated with latest results. |
|
@tpmanley |
|
Minimum allowed coverage is Generated by 🐒 cobertura-action against 8a85173 |
First of all, I corrected all the errors. |
|
@ctowns |
|
@HunsupJung when you're setting up the test, you can make a mock device with the following profile Then run the test as normal. This will make the tested profile include the optional capability. You can add as many optional capabilities as you want in this way. |
| hex_string_to_octet_string(groupResolvingKey) | ||
| ) | ||
| ) | ||
| device:set_field(lock_utils.ALIRO_READER_CONFIG_UPDATED, true) |
There was a problem hiding this comment.
It might be worth checking the response of SetAliroReaderConfig before setting ALIRO_READER_CONFIG_UPDATED to true, since if the command fails then set_reader_config would never retry.
There was a problem hiding this comment.
There is no way to whether the ReaderConfig is set well in SetAliroReaderConfig command and response. So, I will move it to aliro_reader_verification_key_handler which is one of the ReaderConfig.
drivers/SmartThings/matter-lock/src/test/test_new_matter_lock_battery.lua
Outdated
Show resolved
Hide resolved
drivers/SmartThings/matter-lock/src/test/test_new_matter_lock_battery.lua
Outdated
Show resolved
Hide resolved
drivers/SmartThings/matter-lock/src/test/test_new_matter_lock_battery.lua
Outdated
Show resolved
Hide resolved
Signed-off-by: Hunsup Jung <[email protected]>
a90c386 to
b331d2d
Compare
| if #aliro_ble_uwb_eps > 0 then | ||
| groupResolvingKey = create_group_id_resolving_key() | ||
| end | ||
| local privKey, pubKey = generate_keypair(device) |
There was a problem hiding this comment.
generate_keypair can return nil, nil when it's unable to generate a keypair so that should be handled here
| -- Feature Map of Door Lock -- | ||
| --------------------------------------------- | ||
| local function door_lock_feature_map_handler(driver, device, ib, response) | ||
| for _, device_ep in pairs(device.endpoints) do |
There was a problem hiding this comment.
As far as I know there are no devices with the DoorLock cluster on more than one endpoint, but even so it'd be better to only update the endpoint that reported the feature map attribute instead of the first endpoint with the DoorLock cluster.
Signed-off-by: Hunsup Jung <[email protected]>
|
@tpmanley |
Type of Change
Checklist
Description of Change
Summary of Completed Tests