Integration Requirements

11.1. Integration Requirements

To use the diagnosis tool EC-Inspector with a customer application, some modifications have to be made during integration of the EC-Monitor. The task is to integrate and start the Remote API Server system within the custom application, which provides a socket based uplink, which later on is connected by the EC-Inspector.

skinparam monochrome true
skinparam SequenceMessageAlign direction

node "EC-Inspector" {
    [RAS-Client]
}
node "EC-Monitor application" {
    [RAS-Server]
    [EC-Monitor core]
}

[RAS-Client] - [RAS-Server]
[RAS-Server] - [EC-Monitor core]

An example on how to integrate the Remote API Server within the application is given with the example application, which in this case is pre-configured to listen for EC-Inspector on TCP Port 6000 when command line parameter “-sp” is given.

To clarify the steps which are needed within a custom application, the following pseudo-code segment may be used as a point of start. The Remote API Server library “EcMonitorRasServer.lib” (or respectively “EcMonitorRasServer.a”) must be linked.