Interfaces / Open Ports
Abstract:
This document contains a description of the interfaces and accesses to the system
1 Interfaces - access options
1.1 Introduction
The interfaces that can be used to access the system are listed below.
The interfaces are generally used to manage and configure the devices.
Each interface offers a different service that enables you to work with the device. This includes "Finding" the devices in the network, setup, configuration or querying measured values.
optiMEAS does not use a "standard Linux" distribution for its devices, but a "Yocto-Linux" tailored to the requirements. customized "Yocto-Linux". The aim is that
-
the operating system only contains packages that are required for the application. There are there are no packages from a standard distribution that could represent an additional security risk. could pose an additional security risk.
-
the size of the operating system can be kept so small that a complete update-over- the-air is possible
2 Ethernet
The following subsections describe the services that can be accessed via the Ethernet interface. are available.
2.1 Device search / LANCONFIG
This interface makes it easier to search for the device in a local network. Background: If the IP address IP address of the device is not in the same subnet as the PC used for configuration, then no TCP/IP connection is possible, then no TCP/IP connection is possible. The prerequisite is therefore that the device and PC are in the same subnet.
The device search enables optiMEAS devices to be found in the local network, even if they are not in the same subnet. are not in the same subnet. For this purpose, the PC sends a UDP broadcast message to which all opti MEAS devices in the network respond to.
- UDP port 5025 with proprietary optiMEAS protocol
- Device search
- IP configuration of the Ethernet port eth
2.2 SSH
This interface provides access to the operating system via an SSH console.
Authentication takes place via password login or PublicKey
- TCP port 22
- Protocol: https://de.wikipedia.org/wiki/Secure_Shell
- Range of functions
- Login shell
- File transfer from/to device
- Authentication
- via root password
- via public key
2.3 SCPI
SCPI is a management interface for controlling the device management and the application.
Two TPC ports are used for this purpose. The protocol is text-based and was developed to control measuring devices. devices. However, the ports can be closed to the outside for safety-critical applications applications, but with limited functionality (e.g. limited configuration options with the PC). with the PC).
- TCP port 5025 (DeviceManager) + 5024 (smartCORE)
- Protocol: https://de.wikipedia.org/wiki/Standard_Commands_for_Programmable_Instruments
- Range of functions
- Firmware update, reboot etc.
- Configuration of the device (network interfaces, etc.)
- Querying various status information
- Ports can be closed to the outside
- Parameter "scpi_localhost_only" in /sdi/config/omScpi.ini
3 Serial interface (internal)
There is a serial console on the board. This is only accessible if the device is removed, opened open the device and access the main board.
- Serial interface ; 3V3 TTL UART
- Only accessible after opening the housing
- USB adapter required
- Login shell
- Authentication via root password
4 Internal USB Device Interface
Interface for production
- Housing must be opened for smartRAIL
- Internal jumper must be plugged in
- Access only with special software (FlashTool)