It allows a client to register its services to the Discovery Server. It also allows CCU to find services from the Discovery Server. Discovery service is implemented in Subsystem Manager component.

Require: none

Inherit from: none

6.1 Service Behavior

6.1.1 State Diagram

Figure 5 Discovery State Diagram

6.1.2 State Actions

State Actions
  • Store registered services
  • Report services and service list

6.1.3 Internal Events

Event Parameters Parameters
ieReceiveMessage Indicate a message is received

6.1.4 Transitions

Transition Trigger Condition Action
A ieReceiveMessage Process received message

6.2 Protocol

6.2.1 Incoming Message Set

# ID Message
1 H:0x00000001
Query Identification
2 H:0x00000001
Register Comp Services
3 H:0x00000001
Query Comp Services
4 H:0x00000001
Query Comp Services List

6.2.2 Outgoing Message Set

# ID Message
1 H:0x00000001
L: 0x00000111
Report Identification
2 H:0x00000001
L: 0x00000112
Report Comp Services
3 H:0x00000001
L: 0x00000113
Report Comp Services List

6.3 Parameters

  1. CYCLEINTERVAL double, time interval in seconds of each cycle, default=0.1.
  2. SUBSYSTEMTYPE string, type of the subsystem. The value can be “UNKNOWN”, “NEURO_NETWORK”, WAREHOUSE”, “MANUFACTURING”, “UMAN_VEHICLE”, “SENSOR_NETWORK”, or “CONTROLLER”, default=”UNKNOWN”.
  3. SUBSYSTEMNAME string, name of this subsystem. Note: Report Identification message reports the name.
  4. DATATIMEOUT double, timeout in seconds not receiving updates of the registered services, default=10.0.
  5. DATACHECKINTERVAL double, time in seconds the registered services is check for timeout, default=2.0.