Skip to content

Add file transfer Type IDs#70

Open
f0rw4rd wants to merge 3 commits intoFraunhofer-FIT-DIEN:mainfrom
f0rw4rd:feature/file-transfer-types
Open

Add file transfer Type IDs#70
f0rw4rd wants to merge 3 commits intoFraunhofer-FIT-DIEN:mainfrom
f0rw4rd:feature/file-transfer-types

Conversation

@f0rw4rd
Copy link

@f0rw4rd f0rw4rd commented Dec 14, 2025

Exposes the file transfer Type IDs (120-127) from lib60870-C that were previously not bound:

  • F_FR_NA_1 (120) - File ready
  • F_SR_NA_1 (121) - Section ready
  • F_SC_NA_1 (122) - Call directory/select file
  • F_LS_NA_1 (123) - Last section/segment
  • F_AF_NA_1 (124) - ACK file/section
  • F_SG_NA_1 (125) - Segment
  • F_DR_TA_1 (126) - Directory
  • F_SC_NB_1 (127) - QueryLog

Tested against a mock server but I don't have access to real IEC 104 hardware to verify full compatibility.

Addresses #30 (partial - types only, not full file service API).

@f0rw4rd f0rw4rd force-pushed the feature/file-transfer-types branch from b320fc1 to ee0c0e6 Compare December 15, 2025 18:30
- Add FileClient class for IEC 104 file transfer operations
- Implement browse_directory() and file_select() methods
- Add Python bindings for file transfer functions
- Update type stubs with file transfer API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant