Classes
SpwRouter
The SpwRouter class provides a simple SpaceWire Router that lets the user configure the mapping between the packet-address and the port that will be used to forward the packet. More advanced features like Group Adaptive Routing or Packet Distribution are not implemented.
@SpwRouter Reference
SpwRouter Reference
Properties
Name | Type | Description |
---|---|---|
Class |
*void |
Class object |
Component |
*void |
Pointer to component object if part of component |
LoggingFlags |
uint64_t |
Flags for logging info |
Name |
*char |
Object name |
TimeSource |
*void |
Time source object |
internal.linkState |
[int32_t; 32] |
Holds the link state of the ports |
ports |
[temu_IfaceRef; 32]/ <unknown> |
Connected SpaceWire devices. |
routingTable |
[uint8_t; 256] |
Configure packet-address/forwarding-port mapping |
@SpwCssdsAdapter Reference
SpwCssdsAdapter Reference
Properties
Name | Type | Description |
---|---|---|
Class |
*void |
Class object |
Component |
*void |
Pointer to component object if part of component |
LoggingFlags |
uint64_t |
Flags for logging info |
Name |
*char |
Object name |
TimeSource |
*void |
Time source object |
count.Rx |
uint32_t |
Counter for received messages. |
count.Tx |
uint32_t |
Counter for received messages. |
enabled |
uint8_t |
Enable/Disable UDP. Required to change properties. |
internal.linkState |
int32_t |
Holds the link state of the port |
port |
temu_IfaceRef/ <unknown> |
Connected SpaceWire device. |
protocolId |
uint8_t |
Protocol ID to be used. |
rxUdpPort |
uint16_t |
Udp port used to receive. |
targetAddr |
[uint8_t; 16] |
Addresses to use to forard a packet received via UDP. |
targetAddrLength |
uint8_t |
Number of valid addresses in targetAddr array. |
txHost |
*char |
File name to write TTY log to. |
txUdpPort |
uint16_t |
Udp port used to send. |