Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C_TS_NA1, P_ME_NA_1 and F_ iots #30

Open
Vaipishnick opened this issue Oct 7, 2024 · 2 comments
Open

C_TS_NA1, P_ME_NA_1 and F_ iots #30

Vaipishnick opened this issue Oct 7, 2024 · 2 comments
Labels
question Further information is requested

Comments

@Vaipishnick
Copy link

Hello!
I am new in c104.
I'am trying to emulate all iot's for testing our industial prtocols firewall and I already emulated most of them.
But when I try to make point with type C_TS_NA_1, I get an error:

point2 = station.add_point(io_address=254, type=c104.Type.C_TS_NA_1)
Traceback (most recent call last):
File "", line 1, in
ValueError: Unsupported type C_TS_NA_1

And the second question about P_ME_NA1 and other iot's for parameters sendig, and about file transfer iot's: how can I use them, I can't see such types in class classc104.Type.

c104 version is 2.0.1

@m-unkel
Copy link
Collaborator

m-unkel commented Oct 9, 2024

Hey thanks for your report!
The C_TS_NA_1 is not supported by IEC 60870-5-104 standard, therefore it is not implemented. You can use C_TS_TA_1 instead.

The parameter commands P_* and file transfer commands F_* are not implemented by c104, because they weren't required for our use cases and the underlying lib60870-C did not support them at that time. But I can add the implementation of parameter and file transfer messages as feature request. Of course it will take a while to implement them.

Best regards
Martin

@Vaipishnick
Copy link
Author

I see. Thank you for answer.

@m-unkel m-unkel added the question Further information is requested label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants