ID Allocator service assigns ID to Subsystem Managers. When receiving globally broadcast ID Request messages, ID Allocator assigns the ID and sends ID Granted messages to the requester.
ID Allocator also provides Query/Report Allocated ID that allows clients to query the allocated ID based on the subsystem types or MAC addresses. Clients should periodically query the allocated subsystem ID to be sure its ID is on the replied list. If the ID is not on the list, the Subsystem Manager stops subsystem-broadcast Subsystem Manager Ready messages.
Inherit from: none
5.1 Service Behavior
5.1.1 State Diagram
Figure 6 ID Allocator State Diagram
5.1.2 State Actions
5.1.3 Internal Events
|Send Report Allocated ID
5.2.1 Incoming Message Set
|Query Allocated ID
5.2.2 Outgoing Message Set
|Report Allocated ID
- CYCLEINTERVAL double, time interval in seconds of each cycle, default=0.1.
- STARTID uint32, the first subsystem id to allocate, default=1.
- ENDINGID uint32, the last subsystem id to allocate, default=0.