IEC60870.IO.File (ExIEC60870 v0.1.0)

Copy Markdown View Source

File Transfer Information Objects (TypeIDs 120..127 and extended TypeID 210). Matches cs101_information_objects.c in lib60870-C.

Summary

Functions

Constructs a file transfer acknowledgement (F_AF_NA_1, TypeID 124).

Constructs a call directory, select/call file or section object (F_SC_NA_1, TypeID 122).

Constructs a directory entry response object (F_DR_TA_1, TypeID 126).

Constructs a last segment/section confirmation (F_LS_NA_1, TypeID 123).

Constructs a file ready object (F_FR_NA_1, TypeID 120 / 210).

Constructs a file segment data object (F_SG_NA_1, TypeID 125).

Constructs a log query object (F_SC_NB_1, TypeID 127).

Constructs a section ready object (F_SR_NA_1, TypeID 121).

Functions

decode_payload(arg1, ioa, payload)

encode_payload(arg1)

file_ack(ioa, nof, nos, afq)

Constructs a file transfer acknowledgement (F_AF_NA_1, TypeID 124).

file_call_or_select(ioa, nof, nos, scq)

Constructs a call directory, select/call file or section object (F_SC_NA_1, TypeID 122).

file_directory(ioa, nof, length_of_file, sof, creation_time)

Constructs a directory entry response object (F_DR_TA_1, TypeID 126).

file_last_segment_or_section(ioa, nof, nos, lsq, chs)

Constructs a last segment/section confirmation (F_LS_NA_1, TypeID 123).

file_ready(ioa, nof, length_of_file, positive \\ true, frq_qualifier \\ 0)

Constructs a file ready object (F_FR_NA_1, TypeID 120 / 210).

file_segment(ioa, nof, nos, data)

Constructs a file segment data object (F_SG_NA_1, TypeID 125).

private_file_transfer(ioa, payload)

query_log(ioa, nof, start_time, stop_time)

Constructs a log query object (F_SC_NB_1, TypeID 127).

section_ready(ioa, nof, nos, length_of_section, not_ready \\ false, srq_qualifier \\ 0)

Constructs a section ready object (F_SR_NA_1, TypeID 121).