# Conformance coverage

Generated by `cargo test --test conformance` from `tests/conformance/cases.rs`. The case ids are this crate's own, derived from the procedures of IEC 60870-5-101 and -104; the column for the IEC TS 60870-5-604/-601 case id is filled once those specifications are held.

56 cases: 37 covered, 18 covered with a gap, 1 uncovered; 28 with lib60870-C interop. Gaps: needs hardware 2, standard not held 5, not implemented 1, no third-party scenario 11.

| Case | TS id | Role | Procedure | unit | simulation | fuzz replay | Wireshark | lib60870-C | Gap |
|---|---|---|---|---|---|---|---|---|---|
| `ASDU-TYPES` | — | Role-independent codec | every standard type identification encodes and decodes to itself | `asdu_edges::type_identifications_are_the_standard_numbers`<br>`asdu_roundtrip::every_standard_type_round_trips_under_every_width_combination`<br>`asdu_roundtrip::every_typed_variant_names_a_distinct_type`<br>`reference_capture::every_asdu_in_the_reference_capture_round_trips` | — | — | `tshark_oracle::wireshark_dissects_every_104_type_as_what_was_put_in` | — | — |
| `ASDU-COT` | — | Role-independent codec | cause of transmission values, P/N and T bits, originator address | `asdu_edges::causes_of_transmission_are_the_standard_numbers`<br>`asdu_edges::cot_octet_layout` | — | — | — | — | — |
| `ASDU-WIDTHS` | — | Role-independent codec | COT 1/2, common address 1/2 and IOA 1/2/3 octets as a profile | `asdu_roundtrip::every_standard_type_round_trips_under_every_width_combination`<br>`asdu_roundtrip::untyped_types_round_trip_as_raw_under_every_width_combination`<br>`asdu_edges::profile_constants`<br>`asdu_edges::encode_refuses_what_the_profile_cannot_carry` | — | `regressions::the_derivation_reaches_every_width` | — | — | — |
| `ASDU-ELEMENTS` | — | Role-independent codec | information elements over their full declared ranges (quality, NVA, SVA, float, BCR, CP24/CP56) | `asdu_edges::element_lengths_match_the_reference_tables`<br>`asdu_edges::element_bit_layouts`<br>`asdu_edges::normalized_limits`<br>`asdu_edges::scaled_limits`<br>`asdu_edges::floats_nan_and_infinities_keep_their_bits`<br>`asdu_edges::cp56_out_of_range_and_flags_are_kept_as_received`<br>`asdu_edges::cp24_substituted_bit_survives`<br>`asdu_edges::packed_single_points_type_20`<br>`asdu_edges::bitstring32_is_little_endian`<br>`asdu_edges::test_bit_and_negative_confirmation`<br>`asdu_edges::test_command_pattern_and_gi_bytes` | — | — | `tshark_oracle::wireshark_dissects_every_104_type_as_what_was_put_in` | — | — |
| `ASDU-VSQ` | — | Role-independent codec | variable structure qualifier: SQ 0 and 1, object count, address overflow | `asdu_edges::sequence_form_writes_one_address`<br>`asdu_edges::vsq_overclaim_is_refused_at_the_first_missing_field`<br>`asdu_edges::sequence_address_overflow_is_refused`<br>`asdu_edges::zero_objects` | — | — | — | — | — |
| `ASDU-MALFORMED` | — | Role-independent codec | truncated, over-long and malformed ASDUs are refused without panicking | `asdu_edges::truncation_at_every_octet_names_the_field_and_its_offset`<br>`asdu_edges::trailing_octets_and_too_long_are_refused`<br>`asdu_edges::header_decodes_alone` | — | `regressions::every_committed_crash_input_replays_cleanly` | — | — | — |
| `ASDU-UNKNOWN-TYPES` | — | Role-independent codec | private, reserved and security type identifications are kept as raw octets | `asdu_edges::unknown_private_forbidden_and_security_types_decode_raw` | — | — | — | — | — |
| `ASDU-PROFILE-TYPES` | — | Role-independent codec | a profile permits only the type identifications of its companion standard | `station_controlled::test_command_104_and_delay_acquisition_work_where_the_profile_permits_them` | — | — | — | — | standard not held: the per-profile permission tables |
| `104-LINK-FORMATS` | — | Controlling and controlled stations | I, S and U formats, APDU length, malformed octets close the connection with a reason | `cs104_link::malformed_octets_close_with_the_reason`<br>`cs104_link::unexpected_u_frames_close_with_their_name`<br>`cs104_link::partial_reads_of_one_octet_are_reassembled`<br>`cs104_link::submit_refuses_empty_and_too_long_asdus` | — | `regressions_cs104::every_committed_apci_input_replays_cleanly` | `tshark_apci::every_emitted_apci_frame_dissects_as_encoded` | — | — |
| `104-LINK-STARTDT` | — | Controlling and controlled stations | STARTDT act/con; no I-frame before data transfer is started | `cs104_link::an_i_frame_before_startdt_is_not_delivered_and_closes`<br>`cs104_link::submit_before_start_is_refused`<br>`cs104_link::only_the_controlling_role_starts_and_stops`<br>`cs104_adapters::start_and_exchange_in_both_directions` | — | — | — | `interop::server_startdt`<br>`interop::client_startdt` | — |
| `104-LINK-STOPDT` | — | Controlling and controlled stations | STOPDT act/con, outstanding I-frames acknowledged before the confirmation | `cs104_link::stopdt_act_with_outstanding_frames_withholds_the_con_until_they_are_acknowledged`<br>`cs104_link::stopdt_act_with_nothing_outstanding_is_confirmed_at_once_and_t1_still_bounds_a_drain`<br>`cs104_link::a_local_stop_acknowledges_and_still_accepts_in_flight_frames`<br>`cs104_adapters::stop_with_outstanding_frames_delivers_them_first` | — | — | — | `interop::server_stopdt_with_outstanding_frames`<br>`interop::client_stopdt_with_outstanding_frames` | no third-party scenario: the withheld confirmation against lib60870-C, whose master acknowledges before it stops |
| `104-LINK-TESTFR` | — | Controlling and controlled stations | TESTFR act/con after t3 idle, in every state and role | `cs104_link::an_idle_link_sends_testfr_act_after_t3_and_closes_without_a_con`<br>`cs104_link::a_testfr_con_keeps_the_link_open_and_any_frame_restarts_t3`<br>`cs104_link::testfr_act_is_answered_in_every_state_and_role`<br>`cs104_link::an_unsolicited_testfr_con_is_ignored`<br>`cs104_adapters::testfr_keeps_an_idle_link_open` | — | — | — | `interop::server_t3_ours`<br>`interop::server_t3_theirs`<br>`interop::client_t3_ours`<br>`interop::client_t3_theirs` | — |
| `104-LINK-K` | — | Controlling and controlled stations | at most k unacknowledged I-frames outstanding | `cs104_link::k_outstanding_frames_refuse_the_next_submit_with_back_pressure`<br>`cs104_adapters::back_pressure_resolves_through_acknowledgments` | — | — | — | `interop::server_k_and_w_back_pressure`<br>`interop::client_k_and_w_back_pressure` | — |
| `104-LINK-W` | — | Controlling and controlled stations | acknowledge at the latest after w received I-frames | `cs104_link::w_received_frames_are_acknowledged_at_once`<br>`cs104_link::an_i_frame_sent_acknowledges_what_was_received` | — | — | — | `interop::server_k_and_w_back_pressure`<br>`interop::client_k_and_w_back_pressure` | — |
| `104-LINK-T0` | — | Controlling station | connection establishment gives up after t0 | `cs104_adapters::connect_gives_up_after_t0` | — | — | — | — | no third-party scenario: no lib60870-C scenario; a refused connection needs no peer |
| `104-LINK-T1` | — | Controlling and controlled stations | an unacknowledged I-frame or U act closes the connection after t1 | `cs104_link::an_unacknowledged_i_frame_closes_with_t1_expired_after_t1`<br>`cs104_link::t1_runs_on_the_oldest_outstanding_frame`<br>`cs104_link::t1_runs_on_startdt_act_and_stopdt_act`<br>`cs104_adapters::a_silent_peer_ends_in_t1_expired` | — | — | — | `interop::server_t1_expiry`<br>`interop::client_t1_expiry` | — |
| `104-LINK-T2` | — | Controlling and controlled stations | fewer than w I-frames are acknowledged by an S-frame when t2 elapses | `cs104_link::fewer_than_w_frames_are_acknowledged_when_t2_elapses` | — | — | — | `interop::server_t2_acknowledgment`<br>`interop::client_t2_acknowledgment` | — |
| `104-LINK-SEQUENCE` | — | Controlling and controlled stations | send and receive sequence numbers: order, wrap at 32767, bad acknowledgments close | `cs104_link::an_unexpected_send_sequence_number_closes`<br>`cs104_link::sequence_numbers_wrap_at_32767_in_both_directions`<br>`cs104_link::an_acknowledgment_of_a_frame_never_sent_closes`<br>`cs104_link::a_repeated_acknowledgment_is_harmless`<br>`cs104_link::a_peer_acknowledging_only_every_32767_frames_is_served` | `simulation::every_accepted_i_frame_is_delivered_once_in_order_or_the_connection_closes_with_a_reason` | `regressions_cs104::every_committed_link_input_replays_cleanly` | — | — | — |
| `104-LINK-CLOSE` | — | Controlling and controlled stations | every close and disconnect is reported once with its reason | `cs104_link::disconnect_and_close_name_their_reason_once`<br>`cs104_adapters::a_peer_close_is_reported_as_peer_closed` | `simulation::every_accepted_i_frame_is_delivered_once_in_order_or_the_connection_closes_with_a_reason` | — | — | — | — |
| `104-LINK-CONFIG` | — | Controlling and controlled stations | k, w and t0-t3 are validated (w at most two thirds of k) | `cs104_link::an_invalid_configuration_is_refused`<br>`cs104_adapters::an_invalid_configuration_and_an_unreachable_peer_are_errors` | — | — | — | — | standard not held: the defaults and ranges are taken from the peers |
| `STA-GI` | — | Controlling and controlled stations | station interrogation: confirmation, the points (COT 20), termination | `station_controlled::station_interrogation_answers_from_current_state`<br>`station_controlled::broadcast_gi_answers_every_common_address`<br>`station_controlled::large_interrogations_are_packed_up_to_the_maximum_length`<br>`station_controlled::a_gi_while_a_gi_is_in_progress_is_refused`<br>`station_controlling::gi_confirmed_answered_and_terminated_completes`<br>`station_controlling::gi_without_termination_times_out_naming_the_termination` | — | — | `tshark_station::every_station_apdu_dissects_as_decoded` | `interop_station::lib60870_client_runs_every_procedure_against_our_server`<br>`interop_station::our_client_runs_every_procedure_against_lib60870_server` | — |
| `STA-GROUP-GI` | — | Controlling and controlled stations | group interrogation 1-16 answers only the group; an empty group only confirms | `station_controlled::group_interrogation_answers_only_the_group_and_an_empty_group_only_confirms`<br>`station_controlled::a_bad_qualifier_or_ioa_is_refused` | — | — | — | `interop_station::lib60870_client_runs_every_procedure_against_our_server`<br>`interop_station::our_client_runs_every_procedure_against_lib60870_server` | — |
| `STA-COUNTER` | — | Controlling and controlled stations | counter interrogation: read, freeze, reset | `station_controlled::counter_interrogation_reads_freezes_and_resets`<br>`station_controlling::counter_interrogation_completes_on_termination` | — | — | — | `interop_station::lib60870_client_runs_every_procedure_against_our_server`<br>`interop_station::our_client_runs_every_procedure_against_lib60870_server` | standard not held: the counter interrogation modes |
| `STA-READ` | — | Controlling and controlled stations | read command answered with the current value (COT 5) or COT 47 | `station_controlled::read_answers_with_the_current_value_or_cot_47`<br>`station_controlling::read_completes_with_the_point` | — | — | — | `interop_station::lib60870_client_runs_every_procedure_against_our_server`<br>`interop_station::our_client_runs_every_procedure_against_lib60870_server` | — |
| `STA-CLOCK` | — | Controlling and controlled stations | clock synchronisation, applied to later time tags; a refusal is negative | `station_controlled::clock_sync_is_handed_to_the_handler_and_applied_to_later_time_tags`<br>`station_controlled::a_refused_clock_sync_is_negative_and_changes_nothing`<br>`station_controlling::clock_sync_carries_the_clock_time` | — | — | — | `interop_station::lib60870_client_runs_every_procedure_against_our_server`<br>`interop_station::our_client_runs_every_procedure_against_lib60870_server` | — |
| `STA-TEST-COMMAND` | — | Controlling and controlled stations | test command (107 on 104, 104 where the profile permits it) mirrored | `station_controlled::test_command_107_is_mirrored`<br>`station_controlled::test_command_104_and_delay_acquisition_work_where_the_profile_permits_them`<br>`station_controlling::test_command_is_107_on_104` | — | — | — | `interop_station::lib60870_client_runs_every_procedure_against_our_server`<br>`interop_station::our_client_runs_every_procedure_against_lib60870_server` | — |
| `STA-RESET-PROCESS` | — | Controlling and controlled stations | reset process command; QRP 2 clears the event buffer | `station_controlled::reset_process_asks_the_handler_and_qrp_2_clears_the_event_buffer`<br>`station_controlled::reset_process_qrp_2_drops_unsent_events`<br>`station_controlling::reset_process_and_parameters` | — | — | — | `interop_station::lib60870_client_runs_every_procedure_against_our_server` | no third-party scenario: our controlling station against lib60870-C's |
| `STA-PARAMETERS` | — | Controlling and controlled stations | parameter loading (110-112) and activation (113) | `station_controlled::parameters_are_handed_to_the_handler_and_confirmed`<br>`station_controlling::reset_process_and_parameters` | — | — | — | — | no third-party scenario: neither role against lib60870-C |
| `STA-COMMAND-DIRECT` | — | Controlling and controlled stations | direct commands of every type (45-51, 58-64): confirmation and termination | `station_controlled::direct_points_execute_directly_and_refuse_a_select`<br>`station_controlled::direct_or_select_points_take_both`<br>`station_controlled::bitstring_commands_are_direct`<br>`station_controlled::every_handler_call_carries_its_context`<br>`station_controlling::direct_commands_with_and_without_termination` | — | — | — | `interop_station::lib60870_client_runs_every_procedure_against_our_server`<br>`interop_station::our_client_runs_every_procedure_against_lib60870_server` | — |
| `STA-COMMAND-SBO` | — | Controlling and controlled stations | select-before-operate: select, execute, confirmation and termination | `station_controlled::select_then_execute_confirms_and_terminates`<br>`station_controlling::sbo_reports_selected_confirmed_completed`<br>`station_controlling::a_refused_select_sends_no_execute` | — | — | — | `interop_station::lib60870_client_runs_every_procedure_against_our_server`<br>`interop_station::our_client_runs_every_procedure_against_lib60870_server` | — |
| `STA-COMMAND-SBO-REFUSAL` | — | Controlled station | an execute without a matching, timely select from the same connection is refused and not executed | `station_controlled::execute_without_select_is_refused_and_the_handler_is_not_called`<br>`station_controlled::an_execute_after_the_select_timeout_is_refused`<br>`station_controlled::an_execute_that_does_not_match_the_select_is_refused`<br>`station_controlled::an_execute_from_another_connection_is_refused`<br>`station_controlled::a_second_select_by_another_originator_is_refused_but_the_same_one_reselects`<br>`station_controlled::deactivation_cancels_a_select` | — | — | — | `interop_station::lib60870_client_runs_every_procedure_against_our_server` | — |
| `STA-COMMAND-TIME-TAG` | — | Controlled station | time-tagged commands (58-64) carry their CP56Time2a to the handler | `station_controlled::time_tagged_commands_pass_their_time_to_the_handler` | — | — | — | `interop_station::lib60870_client_runs_every_procedure_against_our_server` | standard not held: the validity window of a time-tagged command |
| `STA-COMMAND-PENDING` | — | Controlled station | a long-running command is confirmed now and terminated later, once, or abandoned with its connection | `station_controlled::a_pending_execute_is_confirmed_at_once_and_terminated_when_the_application_says_so`<br>`station_controlled::a_pending_execute_can_terminate_negatively`<br>`station_controlled::a_pending_execute_terminates_exactly_once`<br>`station_controlled::a_pending_execute_is_abandoned_when_its_connection_closes_and_never_terminated_elsewhere`<br>`station_controlled::a_connection_holds_at_most_max_pending_commands`<br>`station_adapters::a_pending_command_terminates_later_through_the_async_server_handle` | — | — | — | `interop_station::lib60870_client_sees_deferred_terminations_and_an_abandoned_command_is_never_terminated` | — |
| `STA-NEGATIVE` | — | Controlling and controlled stations | unknown type, cause, common address and IOA (COT 44-47) and refused commands are confirmed negatively | `station_controlled::unknown_type_is_cot_44`<br>`station_controlled::unknown_cause_is_cot_45`<br>`station_controlled::unknown_common_address_is_cot_46`<br>`station_controlled::unknown_ioa_is_cot_47`<br>`station_controlled::a_refused_command_is_confirmed_negatively_without_termination`<br>`station_controlled::a_command_with_two_objects_is_refused`<br>`station_controlled::an_asdu_that_does_not_decode_is_dropped_and_counted`<br>`station_controlling::a_negative_confirmation_is_an_error_carrying_the_cot`<br>`station_controlling::cot_44_to_47_mirrors_are_negative` | — | — | — | `interop_station::lib60870_client_runs_every_procedure_against_our_server`<br>`interop_station::our_client_runs_every_procedure_against_lib60870_server` | — |
| `STA-END-OF-INIT` | — | Controlling and controlled stations | end of initialisation (70) is the first ASDU after start | `station_controlled::end_of_initialisation_comes_first_after_start`<br>`station_controlling::spontaneous_data_and_end_of_initialisation_are_events` | — | — | — | — | no third-party scenario: not asserted against lib60870-C |
| `STA-SPONTANEOUS` | — | Controlling and controlled stations | spontaneous events (COT 3) with the clock's time tag, packed by type | `station_controlled::spontaneous_events_carry_the_clock_time_in_the_configured_format`<br>`station_controlled::events_are_packed_by_type_up_to_the_maximum_length`<br>`station_controlling::spontaneous_data_and_end_of_initialisation_are_events` | — | — | `tshark_station::every_station_apdu_dissects_as_decoded` | `interop_station::our_client_runs_every_procedure_against_lib60870_server` | no third-party scenario: our controlled station's events into lib60870-C's client |
| `STA-CYCLIC` | — | Controlled station | cyclic (COT 1) and background (COT 2) transmission | `station_controlled::cyclic_and_background_points_are_sent_periodically` | — | — | — | — | no third-party scenario: not exercised against lib60870-C |
| `STA-EVENT-BUFFER` | — | Controlled station | events kept until acknowledged and re-sent after a reconnection or STOPDT; overflow reported | `station_controlled::events_are_kept_until_acknowledged_and_re_sent_after_reconnection`<br>`station_controlled::an_update_storm_beyond_the_buffer_reports_the_loss_and_keeps_the_newest`<br>`station_controlled::stopdt_keeps_the_events_for_the_next_start`<br>`station_adapters::events_survive_a_reconnection_through_the_adapters` | `station_simulation::reconnect_delivers_every_event_or_reports_it_lost` | `regressions_station::every_committed_controlled_station_input_replays_cleanly` | — | `interop_station::our_client_runs_every_procedure_against_lib60870_server` | no third-party scenario: a connection dropped with events outstanding, against lib60870-C |
| `STA-REDUNDANCY` | — | Controlled station | redundancy groups: one active connection, switch-over re-sends what was not acknowledged | `station_controlled::a_switch_over_closes_the_old_connection_and_re_sends_its_unacknowledged_events_first`<br>`station_controlled::the_standby_connection_is_not_acted_on`<br>`station_controlled::groups_have_separate_buffers`<br>`station_adapters::a_redundancy_group_by_address_switches_over` | `station_simulation::switch_over_loses_nothing_and_duplicates_only_unacknowledged_events` | — | — | — | standard not held: the redundancy rule; no lib60870-C scenario |
| `STA-REQUESTS` | — | Controlling station | the controlling station's requests: one per kind and address, timeouts, refused before start, failed on disconnect | `station_controlling::no_confirmation_times_out_naming_the_confirmation`<br>`station_controlling::a_duplicate_request_is_busy_and_nothing_goes_before_start`<br>`station_controlling::a_disconnect_fails_every_outstanding_request`<br>`station_controlling::requests_wait_while_the_window_is_full`<br>`station_controlling::an_unstarted_master_refuses_requests` | — | — | — | — | — |
| `STA-ADAPTERS` | — | Controlling and controlled stations | the blocking and Tokio client and server against each other | `station_adapters::blocking_client_against_blocking_server`<br>`station_adapters::blocking_client_against_async_server`<br>`station_adapters::async_client_against_both_servers` | — | — | — | — | — |
| `STA-FILE-TRANSFER` | — | Controlling and controlled stations | file retrieval (120-126): directory, select, call, segments, acknowledgments | `file_transfer::cancelled_downloads_late_reply_cannot_supply_successor_contents`<br>`file_transfer::cancel_download_targets_one_request_and_uses_resolved_name`<br>`file_transfer::dropping_download_future_deactivates_selected_file`<br>`file_transfer::timeout_deactivates_and_retry_waits_for_ordered_confirmation`<br>`file_transfer::download_is_byte_exact_across_sections_and_profiles`<br>`file_transfer::download_rejects_oversized_file_before_calling_it`<br>`file_transfer::checksum_failure_retries_only_the_bad_section_and_rejects_a_bad_file`<br>`file_transfer::interrupted_client_drops_partial_download`<br>`file_transfer::file_ready_rejects_oversize_and_completion_reports_the_file_identity`<br>`file_transfer::section_overrun_fails_before_returning_data`<br>`file_transfer::selection_is_connection_scoped_and_released_on_timeout_and_disconnect`<br>`file_directory::directory_frames_fit_both_profiles_and_only_the_last_entry_ends_the_listing`<br>`file_directory::blocking_client_collects_complete_empty_and_unknown_directories`<br>`file_directory::async_client_collects_directory_from_async_server`<br>`file_directory::server_refuses_oversized_catalogs_and_unrepresentable_records`<br>`file_directory::malformed_end_marker_fails_request_and_releases_it`<br>`file_directory::oversized_directory_is_refused_before_any_partial_listing_is_returned`<br>`file_directory::incomplete_directory_times_out_and_another_station_cannot_finish_it` | — | — | `tshark_station::every_station_apdu_dissects_as_decoded` | `interop_station::lib60870_client_runs_every_procedure_against_our_server`<br>`interop_station::our_client_runs_every_procedure_against_lib60870_server` | — |
| `101-LINK-FRAMES` | — | Role-independent codec | FT 1.2 single character, fixed and variable frames; bad checksum, end or length discarded | `cs101_link::bad_checksum_end_and_length_are_discarded_and_counted`<br>`cs101_link::an_interrupted_frame_is_discarded`<br>`cs101_link::single_char_e5_is_ack_and_no_data` | — | `regressions_cs101::every_committed_ft12_input_replays_cleanly` | `tshark_ft12::every_emitted_frame_dissects_as_what_was_put_in` | — | — |
| `101-LINK-ADDRESS` | — | Primary and secondary links | link address of 0, 1 or 2 octets; a foreign address is ignored | `cs101_link::every_address_width_works_end_to_end`<br>`cs101_link::foreign_address_is_ignored`<br>`cs101_link::constructors_check_addresses` | — | — | — | `interop_cs101::unbalanced_primary_against_lib60870_slave`<br>`interop_cs101::unbalanced_primary_against_lib60870_slave_two_octet_address`<br>`interop_cs101::passive_cli_decodes_independent_master_link_status` | — |
| `101-LINK-BROADCAST` | — | Secondary link | a broadcast is delivered and never answered | `cs101_link::broadcast_is_delivered_and_never_answered` | — | — | — | — | no third-party scenario: not exercised against lib60870-C |
| `101-LINK-UNBALANCED-POLL` | — | Primary and secondary links | unbalanced polling of class 1 and class 2, ACD, several secondaries round-robin | `cs101_link::class2_poll_with_class1_pending_sets_acd_and_master_polls_class1`<br>`cs101_link::end_to_end_class1_and_class2_arrive_and_are_acknowledged`<br>`cs101_link::two_outstations_are_polled_round_robin`<br>`cs101_station::stations_over_an_unbalanced_link`<br>`cs101_adapters::unbalanced_over_tcp` | — | — | — | `interop_cs101::unbalanced_primary_against_lib60870_slave`<br>`interop_cs101::unbalanced_secondary_against_lib60870_master` | — |
| `101-LINK-FCB` | — | Primary and secondary links | frame count bit: a repeated FCB gets the identical response, user data delivered once | `cs101_link::repeated_fcb_gets_the_identical_response_and_nothing_is_dequeued`<br>`cs101_link::repeated_user_data_is_acknowledged_but_delivered_once`<br>`cs101_link::master_retransmits_byte_identical_frame_after_timeout`<br>`cs101_link::fcv_frame_before_reset_is_answered_not_functioning` | `cs101_simulation::every_asdu_is_delivered_at_most_once_and_ends_named` | — | — | `interop_cs101::unbalanced_secondary_against_lib60870_master` | — |
| `101-LINK-RESET-AND-RETRIES` | — | Primary and secondary links | link reset, bounded retries, a silent secondary stopped without stalling the others | `cs101_link::a_silent_outstation_is_stopped_and_does_not_stall_the_other`<br>`cs101_link::retries_exhausted_reports_user_data_unconfirmed`<br>`cs101_link::reset_with_a_response_in_flight_reports_it_unconfirmed`<br>`cs101_link::disconnect_and_close_end_the_link` | — | `regressions_cs101::every_committed_link_input_replays_cleanly` | — | — | — |
| `101-LINK-DFC` | — | Primary and secondary links | data flow control: a busy secondary sets DFC and the primary holds user data | `cs101_link::busy_secondary_sets_dfc_and_the_master_holds_user_data` | — | — | — | — | no third-party scenario: not exercised against lib60870-C |
| `101-LINK-BALANCED` | — | Primary and secondary links | balanced transmission in both directions with DIR, test function when idle | `cs101_link::balanced_runs_both_directions_with_dir`<br>`cs101_link::balanced_sends_test_function_when_idle`<br>`cs101_station::stations_over_a_balanced_link`<br>`cs101_adapters::balanced_over_tcp` | — | — | — | `interop_cs101::balanced_controlled_against_lib60870_master`<br>`interop_cs101::balanced_controlling_against_lib60870_slave` | — |
| `101-LINK-FUNCTIONS` | — | Secondary link | reserved and unsupported function codes are answered as not implemented | `cs101_link::reserved_and_unsupported_functions_are_not_implemented`<br>`cs101_link::submit_refusals_are_named` | — | — | — | — | — |
| `101-LINK-TIMING` | — | Primary and secondary links | inter-character timeout and line idle detection | `cs101_link::an_interrupted_frame_is_discarded`<br>`cs101_link::deadlines_are_reported` | `cs101_simulation::every_asdu_is_delivered_at_most_once_and_ends_named` | — | — | — | needs hardware: a real line, UART and modem timing |
| `101-LINK-SERIAL` | — | Primary and secondary links | the serial adapter over a serial device | `cs101_adapters::unbalanced_over_a_pty_pair`<br>`cs101_adapters::balanced_over_a_pty_pair`<br>`cs101_adapters::open_serial_reports_a_missing_port`<br>`cs101_adapters::unbalanced_under_tokio` | — | — | — | — | needs hardware: a USB-RS-485/RS-232 adapter and a real 101 outstation |
| `101-STA-PROCEDURES` | — | Controlling and controlled stations | the station procedures over a 101 link | `cs101_station::stations_over_an_unbalanced_link`<br>`cs101_station::stations_over_a_balanced_link` | — | — | — | — | no third-party scenario: the station procedures against lib60870-C over 101, and a real outstation |
| `SEC-TLS` | — | Controlling and controlled stations | IEC 62351-3 TLS for 104 with mutual authentication | `tls::a_client_without_a_certificate_is_refused_before_startdt` | — | — | — | `interop_tls::mutual_tls_with_lib60870_in_both_roles` | — |
| `SEC-AUTHENTICATION` | — | Controlling and controlled stations | IEC 62351-5 authentication of critical ASDUs | — | — | — | — | — | not implemented: secure authentication |
