The PHY Update control procedure completion is delayed to event "instant-on-air". That has to be handled in CTE Request control procedure unit test. The changes required are: - Added handling of event done for "at-instant" connection event. This is required to call ull_cp_tx_ntf function to send an envet "instant-on-air" to PHY Update procedure state machine. This is the delayed completion of PHY Update procedure. - Remote requested PHY Update completion is also delayed and completed on "instant-on-air" event, hence the local CTE Request is not executed at the same connection event as PHY Update completion. This caused changes to check_phy_update_and_cte_req_complete function. The functin does not hanle CTE Request completion anymore. This also implies changes to run_phy_update_central and run_phy_update_peripheral. These function do not need to get CTE request argument anymore because it was just passed to check_phy_update_and_cte_req_complete. The check_phy_update_cte_req_complete was renamed to check_phy_update. The test test_cte_req_wait_for_remote_phy_update_complete was changed to execute and verify local CTE request procedure explicitly after completion of PHY Update. Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| src | ||
| CMakeLists.txt | ||
| testcase.yaml | ||