Usage of iedkcli - Manual - Industrial Edge - Industrial Edge - Industrial Edge - Documentation of the Industrial Edge Platform - IEM - Hub - Industrial - Device - IED - Edge - IEH

Industrial Edge Platform Operation - Build a Device

Portfolio
Industrial Edge
Product
Industrial Edge
Software version
v25.06
Edition
06/2025
Language
English

This script calls the methods of the IEDK services in the Edge Device via a command line interface and can set these methods with several parameters.

The following command can be used to access detailed logs and more options:

iedkcli --help

iedkcli --help Output

First, IEDK services and their methods can be accessed with the following command:

iedkcli list

An output is taken as in the figure below:

iedkcli list Output

Service names and methods of those services are obtained with this command. Then, the services are called with the following commands:

NOTICE

The way to provide parameters can be determined by examining the proto files. It is stated in the proto files that it should be sent as a proto message. In the iedkcli script, these values must be passed as JSON string.

NOTICE

--param is optional. With Getter methods of the services, its usage is redundant.

iedkcli call --service "ntp" --method "GetNtpServer" --param ""

# or it can be used as follows.

iedkcli call --service "ntp" --method "GetNtpServer"

iedkcli GetNtpServer Output

iedkcli call --service "ntp" --method "SetNtpServer" --param '{"ntpServer":["0.tr.pool.ntp.org", "1.tr.pool.ntp.org"]}'

iedkcli SetNtpServer Output

iedkcli call --service "network" --method "GetAllInterfaces" --param ""

# or it can be used as follows.

iedkcli call --service "network" --method "GetAllInterfaces"

iedkcli GetAllInterfaces Output

NOTICE

The same format is used for the methods of other services.