def hdl_wid_202(desc): """ Implements: IUT_GENERATE_UPDATE_IN_PROGRESS_SECURE_NETWORK_BEACON :param desc: Order IUT to enter the 'IV Update in Progress' state and set the 'IV Update in progress' flag in the secure network beacon. Click OK when ready. :return: """ btp.mesh_iv_update_test_mode(True) btp.mesh_iv_update_toggle() return True
def hdl_wid_205(desc): """ Implements: IUT_SEND_SEGMENTATION_MESH_MESSAGE_IN_PROGRESS_STATE :param desc: Order IUT to prepare large size of composition data that can be sent as fragmented packets to the PTS. During IV Update in Progress state PTS will hold acknowledgment response and beacon IV update in progress flag on. Click OK when it is ready. :return: """ btp.mesh_iv_update_test_mode(True) btp.mesh_iv_update_toggle() return True
def hdl_wid_222(desc): """ Implements: IUT_GENERATE_NORMAL_STATE_NETWORK_BEACON :param desc: Order IUT to send a Secure Network beacon from the IUT showing it is in Normal Operation state with the IV Update flag set to 0 and the IV Index set to the new IV Index (m). Click OK when ready :return: """ btp.mesh_iv_update_toggle() return True
def hdl_wid_221(desc): """ Implements: IUT_READY_FOR_UPDATE_IN_PROGRESS_SECURE_NETWORK_BEACON :param desc: The Lower Tester will advertise a new Secure Network beacon with the IV Update Flag set to 1, IV Index incremented by 1 (new IV Index m = n + 1). Click OK when IUT is ready :return: """ stack = get_stack() if not stack.mesh.is_iv_test_mode_enabled.data: btp.mesh_iv_update_test_mode(True) btp.mesh_iv_update_toggle() return True