Interoperability statement
Look up the ASDU types, station behavior and default settings for IEC 101 and IEC 104.
The Protocol Implementation Conformance Statement (PICS) describes type and procedure support. The Protocol Implementation Extra Information for Testing (PIXIT) records the parameters to use when exercising that support.
Procedure coverage#
Of 56 project cases, 37 have tests covering the case, 18 have partial coverage and 1 has no test. 28 include a lib60870-C peer. Procedure evidence and gaps.Test evidence by procedure
asdu_edges::type_identifications_are_the_standard_numbersasdu_roundtrip::every_standard_type_round_trips_under_every_width_combinationasdu_roundtrip::every_typed_variant_names_a_distinct_typereference_capture::every_asdu_in_the_reference_capture_round_tripstshark_oracle::wireshark_dissects_every_104_type_as_what_was_put_inasdu_edges::causes_of_transmission_are_the_standard_numbersasdu_edges::cot_octet_layoutasdu_roundtrip::every_standard_type_round_trips_under_every_width_combinationasdu_roundtrip::untyped_types_round_trip_as_raw_under_every_width_combinationasdu_edges::profile_constantsasdu_edges::encode_refuses_what_the_profile_cannot_carryregressions::the_derivation_reaches_every_widthasdu_edges::element_lengths_match_the_reference_tablesasdu_edges::element_bit_layoutsasdu_edges::normalized_limitsasdu_edges::scaled_limitsasdu_edges::floats_nan_and_infinities_keep_their_bitsasdu_edges::cp56_out_of_range_and_flags_are_kept_as_receivedasdu_edges::cp24_substituted_bit_survivesasdu_edges::packed_single_points_type_20asdu_edges::bitstring32_is_little_endianasdu_edges::test_bit_and_negative_confirmationasdu_edges::test_command_pattern_and_gi_bytestshark_oracle::wireshark_dissects_every_104_type_as_what_was_put_inasdu_edges::sequence_form_writes_one_addressasdu_edges::vsq_overclaim_is_refused_at_the_first_missing_fieldasdu_edges::sequence_address_overflow_is_refusedasdu_edges::zero_objectsasdu_edges::truncation_at_every_octet_names_the_field_and_its_offsetasdu_edges::trailing_octets_and_too_long_are_refusedasdu_edges::header_decodes_aloneregressions::every_committed_crash_input_replays_cleanlyasdu_edges::unknown_private_forbidden_and_security_types_decode_rawstation_controlled::test_command_104_and_delay_acquisition_work_where_the_profile_permits_themcs104_link::malformed_octets_close_with_the_reasoncs104_link::unexpected_u_frames_close_with_their_namecs104_link::partial_reads_of_one_octet_are_reassembledcs104_link::submit_refuses_empty_and_too_long_asdusregressions_cs104::every_committed_apci_input_replays_cleanlytshark_apci::every_emitted_apci_frame_dissects_as_encodedcs104_link::an_i_frame_before_startdt_is_not_delivered_and_closescs104_link::submit_before_start_is_refusedcs104_link::only_the_controlling_role_starts_and_stopscs104_adapters::start_and_exchange_in_both_directionsinterop::server_startdtinterop::client_startdtcs104_link::stopdt_act_with_outstanding_frames_withholds_the_con_until_they_are_acknowledgedcs104_link::stopdt_act_with_nothing_outstanding_is_confirmed_at_once_and_t1_still_bounds_a_draincs104_link::a_local_stop_acknowledges_and_still_accepts_in_flight_framescs104_adapters::stop_with_outstanding_frames_delivers_them_firstinterop::server_stopdt_with_outstanding_framesinterop::client_stopdt_with_outstanding_framescs104_link::an_idle_link_sends_testfr_act_after_t3_and_closes_without_a_concs104_link::a_testfr_con_keeps_the_link_open_and_any_frame_restarts_t3cs104_link::testfr_act_is_answered_in_every_state_and_rolecs104_link::an_unsolicited_testfr_con_is_ignoredcs104_adapters::testfr_keeps_an_idle_link_openinterop::server_t3_oursinterop::server_t3_theirsinterop::client_t3_oursinterop::client_t3_theirscs104_link::k_outstanding_frames_refuse_the_next_submit_with_back_pressurecs104_adapters::back_pressure_resolves_through_acknowledgmentsinterop::server_k_and_w_back_pressureinterop::client_k_and_w_back_pressurecs104_link::w_received_frames_are_acknowledged_at_oncecs104_link::an_i_frame_sent_acknowledges_what_was_receivedinterop::server_k_and_w_back_pressureinterop::client_k_and_w_back_pressurecs104_adapters::connect_gives_up_after_t0cs104_link::an_unacknowledged_i_frame_closes_with_t1_expired_after_t1cs104_link::t1_runs_on_the_oldest_outstanding_framecs104_link::t1_runs_on_startdt_act_and_stopdt_actcs104_adapters::a_silent_peer_ends_in_t1_expiredinterop::server_t1_expiryinterop::client_t1_expirycs104_link::fewer_than_w_frames_are_acknowledged_when_t2_elapsesinterop::server_t2_acknowledgmentinterop::client_t2_acknowledgmentcs104_link::an_unexpected_send_sequence_number_closescs104_link::sequence_numbers_wrap_at_32767_in_both_directionscs104_link::an_acknowledgment_of_a_frame_never_sent_closescs104_link::a_repeated_acknowledgment_is_harmlesscs104_link::a_peer_acknowledging_only_every_32767_frames_is_servedsimulation::every_accepted_i_frame_is_delivered_once_in_order_or_the_connection_closes_with_a_reasonregressions_cs104::every_committed_link_input_replays_cleanlycs104_link::disconnect_and_close_name_their_reason_oncecs104_adapters::a_peer_close_is_reported_as_peer_closedsimulation::every_accepted_i_frame_is_delivered_once_in_order_or_the_connection_closes_with_a_reasoncs104_link::an_invalid_configuration_is_refusedcs104_adapters::an_invalid_configuration_and_an_unreachable_peer_are_errorsstation_controlled::station_interrogation_answers_from_current_statestation_controlled::broadcast_gi_answers_every_common_addressstation_controlled::large_interrogations_are_packed_up_to_the_maximum_lengthstation_controlled::a_gi_while_a_gi_is_in_progress_is_refusedstation_controlling::gi_confirmed_answered_and_terminated_completesstation_controlling::gi_without_termination_times_out_naming_the_terminationtshark_station::every_station_apdu_dissects_as_decodedinterop_station::lib60870_client_runs_every_procedure_against_our_serverinterop_station::our_client_runs_every_procedure_against_lib60870_serverstation_controlled::group_interrogation_answers_only_the_group_and_an_empty_group_only_confirmsstation_controlled::a_bad_qualifier_or_ioa_is_refusedinterop_station::lib60870_client_runs_every_procedure_against_our_serverinterop_station::our_client_runs_every_procedure_against_lib60870_serverstation_controlled::counter_interrogation_reads_freezes_and_resetsstation_controlling::counter_interrogation_completes_on_terminationinterop_station::lib60870_client_runs_every_procedure_against_our_serverinterop_station::our_client_runs_every_procedure_against_lib60870_serverstation_controlled::read_answers_with_the_current_value_or_cot_47station_controlling::read_completes_with_the_pointinterop_station::lib60870_client_runs_every_procedure_against_our_serverinterop_station::our_client_runs_every_procedure_against_lib60870_serverstation_controlled::clock_sync_is_handed_to_the_handler_and_applied_to_later_time_tagsstation_controlled::a_refused_clock_sync_is_negative_and_changes_nothingstation_controlling::clock_sync_carries_the_clock_timeinterop_station::lib60870_client_runs_every_procedure_against_our_serverinterop_station::our_client_runs_every_procedure_against_lib60870_serverstation_controlled::test_command_107_is_mirroredstation_controlled::test_command_104_and_delay_acquisition_work_where_the_profile_permits_themstation_controlling::test_command_is_107_on_104interop_station::lib60870_client_runs_every_procedure_against_our_serverinterop_station::our_client_runs_every_procedure_against_lib60870_serverstation_controlled::reset_process_asks_the_handler_and_qrp_2_clears_the_event_bufferstation_controlled::reset_process_qrp_2_drops_unsent_eventsstation_controlling::reset_process_and_parametersinterop_station::lib60870_client_runs_every_procedure_against_our_serverstation_controlled::parameters_are_handed_to_the_handler_and_confirmedstation_controlling::reset_process_and_parametersstation_controlled::direct_points_execute_directly_and_refuse_a_selectstation_controlled::direct_or_select_points_take_bothstation_controlled::bitstring_commands_are_directstation_controlled::every_handler_call_carries_its_contextstation_controlling::direct_commands_with_and_without_terminationinterop_station::lib60870_client_runs_every_procedure_against_our_serverinterop_station::our_client_runs_every_procedure_against_lib60870_serverstation_controlled::select_then_execute_confirms_and_terminatesstation_controlling::sbo_reports_selected_confirmed_completedstation_controlling::a_refused_select_sends_no_executeinterop_station::lib60870_client_runs_every_procedure_against_our_serverinterop_station::our_client_runs_every_procedure_against_lib60870_serverstation_controlled::execute_without_select_is_refused_and_the_handler_is_not_calledstation_controlled::an_execute_after_the_select_timeout_is_refusedstation_controlled::an_execute_that_does_not_match_the_select_is_refusedstation_controlled::an_execute_from_another_connection_is_refusedstation_controlled::a_second_select_by_another_originator_is_refused_but_the_same_one_reselectsstation_controlled::deactivation_cancels_a_selectinterop_station::lib60870_client_runs_every_procedure_against_our_serverstation_controlled::time_tagged_commands_pass_their_time_to_the_handlerinterop_station::lib60870_client_runs_every_procedure_against_our_serverstation_controlled::a_pending_execute_is_confirmed_at_once_and_terminated_when_the_application_says_sostation_controlled::a_pending_execute_can_terminate_negativelystation_controlled::a_pending_execute_terminates_exactly_oncestation_controlled::a_pending_execute_is_abandoned_when_its_connection_closes_and_never_terminated_elsewherestation_controlled::a_connection_holds_at_most_max_pending_commandsstation_adapters::a_pending_command_terminates_later_through_the_async_server_handleinterop_station::lib60870_client_sees_deferred_terminations_and_an_abandoned_command_is_never_terminatedstation_controlled::unknown_type_is_cot_44station_controlled::unknown_cause_is_cot_45station_controlled::unknown_common_address_is_cot_46station_controlled::unknown_ioa_is_cot_47station_controlled::a_refused_command_is_confirmed_negatively_without_terminationstation_controlled::a_command_with_two_objects_is_refusedstation_controlled::an_asdu_that_does_not_decode_is_dropped_and_countedstation_controlling::a_negative_confirmation_is_an_error_carrying_the_cotstation_controlling::cot_44_to_47_mirrors_are_negativeinterop_station::lib60870_client_runs_every_procedure_against_our_serverinterop_station::our_client_runs_every_procedure_against_lib60870_serverstation_controlled::end_of_initialisation_comes_first_after_startstation_controlling::spontaneous_data_and_end_of_initialisation_are_eventsstation_controlled::spontaneous_events_carry_the_clock_time_in_the_configured_formatstation_controlled::events_are_packed_by_type_up_to_the_maximum_lengthstation_controlling::spontaneous_data_and_end_of_initialisation_are_eventstshark_station::every_station_apdu_dissects_as_decodedinterop_station::our_client_runs_every_procedure_against_lib60870_serverstation_controlled::cyclic_and_background_points_are_sent_periodicallystation_controlled::events_are_kept_until_acknowledged_and_re_sent_after_reconnectionstation_controlled::an_update_storm_beyond_the_buffer_reports_the_loss_and_keeps_the_neweststation_controlled::stopdt_keeps_the_events_for_the_next_startstation_adapters::events_survive_a_reconnection_through_the_adaptersstation_simulation::reconnect_delivers_every_event_or_reports_it_lostregressions_station::every_committed_controlled_station_input_replays_cleanlyinterop_station::our_client_runs_every_procedure_against_lib60870_serverstation_controlled::a_switch_over_closes_the_old_connection_and_re_sends_its_unacknowledged_events_firststation_controlled::the_standby_connection_is_not_acted_onstation_controlled::groups_have_separate_buffersstation_adapters::a_redundancy_group_by_address_switches_overstation_simulation::switch_over_loses_nothing_and_duplicates_only_unacknowledged_eventsstation_controlling::no_confirmation_times_out_naming_the_confirmationstation_controlling::a_duplicate_request_is_busy_and_nothing_goes_before_startstation_controlling::a_disconnect_fails_every_outstanding_requeststation_controlling::requests_wait_while_the_window_is_fullstation_controlling::an_unstarted_master_refuses_requestsstation_adapters::blocking_client_against_blocking_serverstation_adapters::blocking_client_against_async_serverstation_adapters::async_client_against_both_serverstshark_station::every_station_apdu_dissects_as_decodedinterop_station::lib60870_client_runs_every_procedure_against_our_serverfile_transfer::cancelled_downloads_late_reply_cannot_supply_successor_contentsfile_transfer::cancel_download_targets_one_request_and_uses_resolved_namefile_transfer::dropping_download_future_deactivates_selected_filefile_transfer::timeout_deactivates_and_retry_waits_for_ordered_confirmationfile_transfer::download_is_byte_exact_across_sections_and_profilesfile_transfer::download_rejects_oversized_file_before_calling_itfile_transfer::checksum_failure_retries_only_the_bad_section_and_rejects_a_bad_filefile_transfer::interrupted_client_drops_partial_downloadfile_transfer::file_ready_rejects_oversize_and_completion_reports_the_file_identityfile_transfer::section_overrun_fails_before_returning_datafile_transfer::selection_is_connection_scoped_and_released_on_timeout_and_disconnectinterop_station::our_client_runs_every_procedure_against_lib60870_serverfile_directory::directory_frames_fit_both_profiles_and_only_the_last_entry_ends_the_listingfile_directory::blocking_client_collects_complete_empty_and_unknown_directoriesfile_directory::async_client_collects_directory_from_async_serverfile_directory::server_refuses_oversized_catalogs_and_unrepresentable_recordsfile_directory::malformed_end_marker_fails_request_and_releases_itfile_directory::oversized_directory_is_refused_before_any_partial_listing_is_returnedfile_directory::incomplete_directory_times_out_and_another_station_cannot_finish_itcs101_link::bad_checksum_end_and_length_are_discarded_and_countedcs101_link::an_interrupted_frame_is_discardedcs101_link::single_char_e5_is_ack_and_no_dataregressions_cs101::every_committed_ft12_input_replays_cleanlytshark_ft12::every_emitted_frame_dissects_as_what_was_put_incs101_link::every_address_width_works_end_to_endcs101_link::foreign_address_is_ignoredcs101_link::constructors_check_addressesinterop_cs101::unbalanced_primary_against_lib60870_slaveinterop_cs101::unbalanced_primary_against_lib60870_slave_two_octet_addressinterop_cs101::passive_cli_decodes_independent_master_link_statuscs101_link::broadcast_is_delivered_and_never_answeredcs101_link::class2_poll_with_class1_pending_sets_acd_and_master_polls_class1cs101_link::end_to_end_class1_and_class2_arrive_and_are_acknowledgedcs101_link::two_outstations_are_polled_round_robincs101_station::stations_over_an_unbalanced_linkcs101_adapters::unbalanced_over_tcpinterop_cs101::unbalanced_primary_against_lib60870_slaveinterop_cs101::unbalanced_secondary_against_lib60870_mastercs101_link::repeated_fcb_gets_the_identical_response_and_nothing_is_dequeuedcs101_link::repeated_user_data_is_acknowledged_but_delivered_oncecs101_link::master_retransmits_byte_identical_frame_after_timeoutcs101_link::fcv_frame_before_reset_is_answered_not_functioningcs101_simulation::every_asdu_is_delivered_at_most_once_and_ends_namedinterop_cs101::unbalanced_secondary_against_lib60870_mastercs101_link::a_silent_outstation_is_stopped_and_does_not_stall_the_othercs101_link::retries_exhausted_reports_user_data_unconfirmedcs101_link::reset_with_a_response_in_flight_reports_it_unconfirmedcs101_link::disconnect_and_close_end_the_linkregressions_cs101::every_committed_link_input_replays_cleanlycs101_link::busy_secondary_sets_dfc_and_the_master_holds_user_datacs101_link::balanced_runs_both_directions_with_dircs101_link::balanced_sends_test_function_when_idlecs101_station::stations_over_a_balanced_linkcs101_adapters::balanced_over_tcpinterop_cs101::balanced_controlled_against_lib60870_masterinterop_cs101::balanced_controlling_against_lib60870_slavecs101_link::reserved_and_unsupported_functions_are_not_implementedcs101_link::submit_refusals_are_namedcs101_link::an_interrupted_frame_is_discardedcs101_link::deadlines_are_reportedcs101_simulation::every_asdu_is_delivered_at_most_once_and_ends_namedcs101_adapters::unbalanced_over_a_pty_paircs101_adapters::balanced_over_a_pty_paircs101_adapters::open_serial_reports_a_missing_portcs101_adapters::unbalanced_under_tokiocs101_station::stations_over_an_unbalanced_linkcs101_station::stations_over_a_balanced_linktls::a_client_without_a_certificate_is_refused_before_startdtinterop_tls::mutual_tls_with_lib60870_in_both_roles
For file transfer, check the type tables for payload decoding and the procedure evidence for station support. Formal IEC test-case mapping and laboratory certification are pending.
Link and station defaults#
| Profile | Cause bytes | Common address bytes | Object address bytes | Maximum ASDU bytes |
|---|---|---|---|---|
| IEC 101 | 1 | 1 | 2 | 253 |
| IEC 104 | 2 | 2 | 3 | 249 |
IEC 104 uses TCP port 2404 or TLS port 19998. Send window k is 12 and acknowledgment window w is 8. Timers t0, t1, t2 and t3 are 30s, 15s, 10s and 20s.
IEC 101 link address width in octets is 1. Response timeout is 500ms, with 3 retries. The poll, reset and link-test intervals are 100ms, 5s and 5s. The character timeout is 300ms and idle gap is 10ms. Single-character acknowledgment is true. Queue capacity is 64 ASDUs per station and class.
File download limits are 16777215 octets at the master and 16777215 at the outstation. The outstation serves sections of 65536 octets and expires an idle selection after 30s.
The master uses originator 0, confirmation timeout 15s and termination timeout 60s. Waiting for command termination is true. Time-tagged commands are false.
The outstation buffers 1024 events per redundancy group. Select timeout is 10s and cyclic period is 60s. Background scanning is off. End-of-initialization cause is 0.
Type support by direction#
Each row uses one object under the named ASDU profile. A file catalog is configured for the directory and file acknowledgment probes. Master receives shows the unsolicited event with no request pending. ASDU means the application receives the payload directly. Outstation recognizes means the station checked the common address or rejected a file acknowledgment without a selection. Successful procedures and their prerequisites are listed in the coverage report. Reserved IDs in 1–127 are probed and omitted from the tables.
IEC 104#
| ID | Type | Codec | Master receives | Outstation recognizes |
|---|---|---|---|---|
| 1 | M_SP_NA_1 | Typed | Point | No |
| 2 | M_SP_TA_1 | Outside profile | ASDU | No |
| 3 | M_DP_NA_1 | Typed | Point | No |
| 4 | M_DP_TA_1 | Outside profile | ASDU | No |
| 5 | M_ST_NA_1 | Typed | Point | No |
| 6 | M_ST_TA_1 | Outside profile | ASDU | No |
| 7 | M_BO_NA_1 | Typed | Point | No |
| 8 | M_BO_TA_1 | Outside profile | ASDU | No |
| 9 | M_ME_NA_1 | Typed | Point | No |
| 10 | M_ME_TA_1 | Outside profile | ASDU | No |
| 11 | M_ME_NB_1 | Typed | Point | No |
| 12 | M_ME_TB_1 | Outside profile | ASDU | No |
| 13 | M_ME_NC_1 | Typed | Point | No |
| 14 | M_ME_TC_1 | Outside profile | ASDU | No |
| 15 | M_IT_NA_1 | Typed | Point | No |
| 16 | M_IT_TA_1 | Outside profile | ASDU | No |
| 17 | M_EP_TA_1 | Outside profile | ASDU | No |
| 18 | M_EP_TB_1 | Outside profile | ASDU | No |
| 19 | M_EP_TC_1 | Outside profile | ASDU | No |
| 20 | M_PS_NA_1 | Typed | Point | No |
| 21 | M_ME_ND_1 | Typed | Point | No |
| 30 | M_SP_TB_1 | Typed | Point | No |
| 31 | M_DP_TB_1 | Typed | Point | No |
| 32 | M_ST_TB_1 | Typed | Point | No |
| 33 | M_BO_TB_1 | Typed | Point | No |
| 34 | M_ME_TD_1 | Typed | Point | No |
| 35 | M_ME_TE_1 | Typed | Point | No |
| 36 | M_ME_TF_1 | Typed | Point | No |
| 37 | M_IT_TB_1 | Typed | Point | No |
| 38 | M_EP_TD_1 | Typed | Point | No |
| 39 | M_EP_TE_1 | Typed | Point | No |
| 40 | M_EP_TF_1 | Typed | Point | No |
| 41 | S_IT_TC_1 | Raw | ASDU | No |
| 45 | C_SC_NA_1 | Typed | ASDU | Yes |
| 46 | C_DC_NA_1 | Typed | ASDU | Yes |
| 47 | C_RC_NA_1 | Typed | ASDU | Yes |
| 48 | C_SE_NA_1 | Typed | ASDU | Yes |
| 49 | C_SE_NB_1 | Typed | ASDU | Yes |
| 50 | C_SE_NC_1 | Typed | ASDU | Yes |
| 51 | C_BO_NA_1 | Typed | ASDU | Yes |
| 58 | C_SC_TA_1 | Typed | ASDU | Yes |
| 59 | C_DC_TA_1 | Typed | ASDU | Yes |
| 60 | C_RC_TA_1 | Typed | ASDU | Yes |
| 61 | C_SE_TA_1 | Typed | ASDU | Yes |
| 62 | C_SE_TB_1 | Typed | ASDU | Yes |
| 63 | C_SE_TC_1 | Typed | ASDU | Yes |
| 64 | C_BO_TA_1 | Typed | ASDU | Yes |
| 70 | M_EI_NA_1 | Typed | Initialization | No |
| 81 | S_CH_NA_1 | Raw | ASDU | No |
| 82 | S_RP_NA_1 | Raw | ASDU | No |
| 83 | S_AR_NA_1 | Raw | ASDU | No |
| 84 | S_KR_NA_1 | Raw | ASDU | No |
| 85 | S_KS_NA_1 | Raw | ASDU | No |
| 86 | S_KC_NA_1 | Raw | ASDU | No |
| 87 | S_ER_NA_1 | Raw | ASDU | No |
| 90 | S_US_NA_1 | Raw | ASDU | No |
| 91 | S_UQ_NA_1 | Raw | ASDU | No |
| 92 | S_UR_NA_1 | Raw | ASDU | No |
| 93 | S_UK_NA_1 | Raw | ASDU | No |
| 94 | S_UA_NA_1 | Raw | ASDU | No |
| 95 | S_UC_NA_1 | Raw | ASDU | No |
| 100 | C_IC_NA_1 | Typed | ASDU | Yes |
| 101 | C_CI_NA_1 | Typed | ASDU | Yes |
| 102 | C_RD_NA_1 | Typed | ASDU | Yes |
| 103 | C_CS_NA_1 | Typed | ASDU | Yes |
| 104 | C_TS_NA_1 | Outside profile | ASDU | No |
| 105 | C_RP_NA_1 | Typed | ASDU | Yes |
| 106 | C_CD_NA_1 | Outside profile | ASDU | No |
| 107 | C_TS_TA_1 | Typed | ASDU | Yes |
| 110 | P_ME_NA_1 | Typed | ASDU | Yes |
| 111 | P_ME_NB_1 | Typed | ASDU | Yes |
| 112 | P_ME_NC_1 | Typed | ASDU | Yes |
| 113 | P_AC_NA_1 | Typed | ASDU | Yes |
| 120 | F_FR_NA_1 | Typed | ASDU | No |
| 121 | F_SR_NA_1 | Typed | ASDU | No |
| 122 | F_SC_NA_1 | Typed | ASDU | Yes |
| 123 | F_LS_NA_1 | Typed | ASDU | No |
| 124 | F_AF_NA_1 | Typed | ASDU | Yes |
| 125 | F_SG_NA_1 | Typed | ASDU | No |
| 126 | F_DR_TA_1 | Typed | ASDU | No |
| 127 | F_SC_NB_1 | Typed | ASDU | No |
IEC 101#
| ID | Type | Codec | Master receives | Outstation recognizes |
|---|---|---|---|---|
| 1 | M_SP_NA_1 | Typed | Point | No |
| 2 | M_SP_TA_1 | Typed | Point | No |
| 3 | M_DP_NA_1 | Typed | Point | No |
| 4 | M_DP_TA_1 | Typed | Point | No |
| 5 | M_ST_NA_1 | Typed | Point | No |
| 6 | M_ST_TA_1 | Typed | Point | No |
| 7 | M_BO_NA_1 | Typed | Point | No |
| 8 | M_BO_TA_1 | Typed | Point | No |
| 9 | M_ME_NA_1 | Typed | Point | No |
| 10 | M_ME_TA_1 | Typed | Point | No |
| 11 | M_ME_NB_1 | Typed | Point | No |
| 12 | M_ME_TB_1 | Typed | Point | No |
| 13 | M_ME_NC_1 | Typed | Point | No |
| 14 | M_ME_TC_1 | Typed | Point | No |
| 15 | M_IT_NA_1 | Typed | Point | No |
| 16 | M_IT_TA_1 | Typed | Point | No |
| 17 | M_EP_TA_1 | Typed | Point | No |
| 18 | M_EP_TB_1 | Typed | Point | No |
| 19 | M_EP_TC_1 | Typed | Point | No |
| 20 | M_PS_NA_1 | Typed | Point | No |
| 21 | M_ME_ND_1 | Typed | Point | No |
| 30 | M_SP_TB_1 | Typed | Point | No |
| 31 | M_DP_TB_1 | Typed | Point | No |
| 32 | M_ST_TB_1 | Typed | Point | No |
| 33 | M_BO_TB_1 | Typed | Point | No |
| 34 | M_ME_TD_1 | Typed | Point | No |
| 35 | M_ME_TE_1 | Typed | Point | No |
| 36 | M_ME_TF_1 | Typed | Point | No |
| 37 | M_IT_TB_1 | Typed | Point | No |
| 38 | M_EP_TD_1 | Typed | Point | No |
| 39 | M_EP_TE_1 | Typed | Point | No |
| 40 | M_EP_TF_1 | Typed | Point | No |
| 41 | S_IT_TC_1 | Raw | ASDU | No |
| 45 | C_SC_NA_1 | Typed | ASDU | Yes |
| 46 | C_DC_NA_1 | Typed | ASDU | Yes |
| 47 | C_RC_NA_1 | Typed | ASDU | Yes |
| 48 | C_SE_NA_1 | Typed | ASDU | Yes |
| 49 | C_SE_NB_1 | Typed | ASDU | Yes |
| 50 | C_SE_NC_1 | Typed | ASDU | Yes |
| 51 | C_BO_NA_1 | Typed | ASDU | Yes |
| 58 | C_SC_TA_1 | Typed | ASDU | Yes |
| 59 | C_DC_TA_1 | Typed | ASDU | Yes |
| 60 | C_RC_TA_1 | Typed | ASDU | Yes |
| 61 | C_SE_TA_1 | Typed | ASDU | Yes |
| 62 | C_SE_TB_1 | Typed | ASDU | Yes |
| 63 | C_SE_TC_1 | Typed | ASDU | Yes |
| 64 | C_BO_TA_1 | Typed | ASDU | Yes |
| 70 | M_EI_NA_1 | Typed | Initialization | No |
| 81 | S_CH_NA_1 | Raw | ASDU | No |
| 82 | S_RP_NA_1 | Raw | ASDU | No |
| 83 | S_AR_NA_1 | Raw | ASDU | No |
| 84 | S_KR_NA_1 | Raw | ASDU | No |
| 85 | S_KS_NA_1 | Raw | ASDU | No |
| 86 | S_KC_NA_1 | Raw | ASDU | No |
| 87 | S_ER_NA_1 | Raw | ASDU | No |
| 90 | S_US_NA_1 | Raw | ASDU | No |
| 91 | S_UQ_NA_1 | Raw | ASDU | No |
| 92 | S_UR_NA_1 | Raw | ASDU | No |
| 93 | S_UK_NA_1 | Raw | ASDU | No |
| 94 | S_UA_NA_1 | Raw | ASDU | No |
| 95 | S_UC_NA_1 | Raw | ASDU | No |
| 100 | C_IC_NA_1 | Typed | ASDU | Yes |
| 101 | C_CI_NA_1 | Typed | ASDU | Yes |
| 102 | C_RD_NA_1 | Typed | ASDU | Yes |
| 103 | C_CS_NA_1 | Typed | ASDU | Yes |
| 104 | C_TS_NA_1 | Typed | ASDU | Yes |
| 105 | C_RP_NA_1 | Typed | ASDU | Yes |
| 106 | C_CD_NA_1 | Typed | ASDU | Yes |
| 107 | C_TS_TA_1 | Outside profile | ASDU | No |
| 110 | P_ME_NA_1 | Typed | ASDU | Yes |
| 111 | P_ME_NB_1 | Typed | ASDU | Yes |
| 112 | P_ME_NC_1 | Typed | ASDU | Yes |
| 113 | P_AC_NA_1 | Typed | ASDU | Yes |
| 120 | F_FR_NA_1 | Typed | ASDU | No |
| 121 | F_SR_NA_1 | Typed | ASDU | No |
| 122 | F_SC_NA_1 | Typed | ASDU | Yes |
| 123 | F_LS_NA_1 | Typed | ASDU | No |
| 124 | F_AF_NA_1 | Typed | ASDU | Yes |
| 125 | F_SG_NA_1 | Typed | ASDU | No |
| 126 | F_DR_TA_1 | Typed | ASDU | No |
| 127 | F_SC_NB_1 | Typed | ASDU | No |
Causes of transmission#
Named and group causes recognized by the codec
- periodic (1)
- background scan (2)
- spontaneous (3)
- initialized (4)
- request (5)
- activation (6)
- activation confirmation (7)
- deactivation (8)
- deactivation confirmation (9)
- activation termination (10)
- return after a remote command (11)
- return after a local command (12)
- file transfer (13)
- authentication (14)
- session key maintenance (15)
- user role and update key maintenance (16)
- interrogated by station (20)
- interrogated by group 1 (21)
- interrogated by group 2 (22)
- interrogated by group 3 (23)
- interrogated by group 4 (24)
- interrogated by group 5 (25)
- interrogated by group 6 (26)
- interrogated by group 7 (27)
- interrogated by group 8 (28)
- interrogated by group 9 (29)
- interrogated by group 10 (30)
- interrogated by group 11 (31)
- interrogated by group 12 (32)
- interrogated by group 13 (33)
- interrogated by group 14 (34)
- interrogated by group 15 (35)
- interrogated by group 16 (36)
- requested by general counter interrogation (37)
- requested by counter group 1 (38)
- requested by counter group 2 (39)
- requested by counter group 3 (40)
- requested by counter group 4 (41)
- unknown type identification (44)
- unknown cause of transmission (45)
- unknown common address (46)
- unknown information object address (47)
TLS parameters and deviations#
The PEM configurations require mutual authentication. Enabled protocol versions in preference order are TLSv1_3, TLSv1_2.
Offered cipher suites in preference order
TLS13_AES_256_GCM_SHA384TLS13_AES_128_GCM_SHA256TLS13_CHACHA20_POLY1305_SHA256TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
| Profile item | This crate | Instead |
|---|---|---|
| TLS 1.2 renegotiation for session-key refresh | not supported; a renegotiation request from the peer is refused with a no_renegotiation alert | a new connection with session resumption, or a TLS 1.3 key update (TlsStream::refresh_keys) |
TLS_RSA_WITH_AES_128_CBC_SHA256 (RSA key transport, CBC) | not offered | the ECDHE suites |
TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 (finite-field DHE) | not offered | TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 |
TLS 1.3 TLS_AES_128_CCM_SHA256, TLS_AES_128_CCM_8_SHA256 | not offered | TLS_AES_128_GCM_SHA256 |
| TLS 1.1 and older | refused | TLS 1.2 or 1.3 |
| Certificate revocation lists | not loaded by the PEM constructors | a rustls verifier with CRLs through from_rustls |