wiki:Internal/cm2cmcCommunication

CM ↔ CMC Communication

  1. All communication from the CM to the CMC uses the UDP_SOCK_DGRAM.
  2. Issue a NMI system reset to the Radio Node: Upon receiving a “Radio Node Reset” command from the CMC, a local C drives a signal appropriately to reset the Radio Node.
  3. Control the system power state of the Radio node: Upon receiving a “Power On/Off” command from the CMC, a local CM drives a signal appropriately to power up or down the Radio Node. Since the same control line is used for both power on and off, the CM must verify the assumed state of the node before issuing the command.
  4. Obtain Chassis Status: The CM periodically reports node status to the CMC. This status message includes voltages, temperature and other tbd parameters. The CM reports status every 20 seconds.
  5. Provide CM diagnostics: There are several diagnostic commands designed for integration and test. These include:
    1. Remotely identify a CM from the CMC: An “Identify” command issued from the CMC causes the CM to blink a local highly-visible “Identify LED” twice per second for approximately a 20 second period.
    2. Identify a node at the CMC from the CM: A momentary contact button on the Grid Node Chassis generates an IDENTIFY message to the CMC. The CMC then blinks the Identify LED at a high rate for approximately two seconds. This insists in physical verification of node placement and a quick test of end-to-end connectivity with the CMC.
  6. Start Up: Immediately after the CM fully boots up, the CM repeatedly attempts to register with the CMC at the hardcoded IP address of 10.1.200.1, port 9030. (No polling is done by the CMC during the registration process). Upon receiving the registration ACK, the CM sets its local clock to the CMC time, and begins to report status to the CMC once every 20 seconds. If the CM does not receive an ACK for the status message for three consecutive status reports, the CM restarts its registration phase.
  7. The transport protocol between the CMC and CM is shown in Table 4.
  8. CM Software upgrade: Each CM periodically checks with the CMC Web Server to see if a newer version of CM software is available. If a newer version of CM software is available, the CM downloads it through the Web Server and reboots into the new version.
  9. Initiate Request Detailed Status from any CM: UDP protocol exchange

CM / CMC Packet Syntax

Syntax No of bytes Identifier
seqId 4 ulmsbf
timetag 4 ulmsbf
pktFormat 2 usmsbf
cmd 2 usmsbf
myIp 4 ulmsbf
version 2 usmsbf
nodeType 2 usmsbf
cmStatus 4 ucmsbf
mac0 6 ucmsbf
mac1 6 ucmsbf
mac2 6 ucmsbf
mac3 6 ucmsbf

Identifiers:

  • ulmsbf unsigned long, most significant bit first
  • usmsbf unsigned short most significant bit first
  • ucmsbf unsigned char, most significant bit first
Last modified 15 years ago Last modified on Sep 30, 2005, 4:23:45 PM
Note: See TracWiki for help on using the wiki.