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

server61850/basic_io - closed socket connection #3109

Open
ivm2008 opened this issue Dec 12, 2023 · 4 comments
Open

server61850/basic_io - closed socket connection #3109

ivm2008 opened this issue Dec 12, 2023 · 4 comments

Comments

@ivm2008
Copy link

ivm2008 commented Dec 12, 2023

To run the sample IEC 61850 server, you need to build embox with the command:

make confload-project/server61850/x86_qemu
 make

run

./scripts/qemu/auto_qemu

start the server by typing

basic_io

If you now connect to the server with any 61850 client (for example, to read the data model), then the 61850 server crashes.

image

@ivm2008
Copy link
Author

ivm2008 commented Dec 12, 2023

it is possible that the problem with connecting the client to the server is related to the undefined constant SIOCGIFHWADDR (in the file hal/ethernet/linux/ethernet_linux.c). We should find it

@anton-bondarev
Copy link
Collaborator

If you now connect to the server with any 61850 client (for example, to read the data model), then the 61850 server crashes.

@ivm2008 Could you describe how we can connetc wtih the 61850 client?
Should I build it from libiec61850? And what args I have to use?

@ivm2008
Copy link
Author

ivm2008 commented Dec 12, 2023

After download libiec61850 to the path

cd <path>
make
make install

move to the example folder <path/examples/xxx> and run make. Client should be run under root permissions with argument ip of the server iec61850

@anton-bondarev
Copy link
Collaborator

git clone [email protected]:mz-automation/libiec61850.git
cd libiec61850
make
make examples

run example
./examples/iec61850_client_example1/client_example1 10.0.2.16

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

No branches or pull requests

2 participants