The GPIO layer provides General Purpose Input/Output functionality. This layer can be placed on top of any layer.
Parameter | Type | Description |
---|---|---|
Alias | String | |
Debug Log Level | Number | Debug Level |
Dependencies | String | Other dependencies to this element |
Destination Peer | Number | |
Event Filter | String | Filter of Event |
Exact Match | Boolean | |
Input Port List | Number | |
Max Event Queue Size | Number | Maximum Queue Size |
Name | String | Component Name |
No Events | Boolean | |
Output Port List | Number | |
PWM Period | Number | |
Passthrough | Boolean | High-to-Low Layer Passthrough |
Raw Data To Inject | String | Data Packet to Inject |
Raw Dst L2 To Inject | String | Destination L2 Address |
Raw Dst L3 To Inject | String | Destination L3 Address |
Raw Dst L4 To Inject | String | Destination L4 Address |
Request Timeout | Number | |
Save Dynamic Config | Boolean | |
Show Commands | Boolean | Show Commands |
Show Events | Boolean | Show Events |
Watch | Boolean | Watch Layer |
Parameter | Type | Description |
---|---|---|
Allow Blocking Event | Boolean | Blocking Events |
Blocked | Boolean | Disable Component |
Debug Log Level | Number | Debug Level |
Passthrough | Boolean | High-to-Low Layer Passthrough |
Watch | Boolean | Watch Layer |
Function | Type | Description |
---|---|---|
getGpioAllowBlockingEvent(layer) | getter | Get “Allow Blocking Event” Parameter |
getGpioBlocked(layer) | getter | Get “Blocked” Parameter |
getGpioDebugLogLevel(layer) | getter | Get “Debug Log Level” Parameter |
getGpioDestinationPeer(layer) | getter | Get “Destination Peer” Parameter |
getGpioNoEvents(layer) | getter | Get “No Events” Parameter |
getGpioPWMPeriod(layer) | getter | Get “PWM Period” Parameter |
getGpioPassthrough(layer) | getter | Get “Passthrough” Parameter |
getGpioWatch(layer) | getter | Get “Watch” Parameter |
getStatsGpioAvailableInstances(layer) | getter | Get “Available Instances” Parameter |
getStatsGpioDownstreamLastPacket(layer) | getter | Get “Downstream Last Packet” Parameter |
getStatsGpioDownstreamPacketCount(layer) | getter | Get “Downstream Packet Count” Parameter |
getStatsGpioMaxDownstreamDelay(layer) | getter | Get “Max Downstream Delay” Parameter |
getStatsGpioMaxUpstreamDelay(layer) | getter | Get “Max Upstream Delay” Parameter |
getStatsGpioMeanDownstreamDelay(layer) | getter | Get “Mean Downstream Delay” Parameter |
getStatsGpioMeanUpstreamDelay(layer) | getter | Get “Mean Upstream Delay” Parameter |
getStatsGpioMinDownstreamDelay(layer) | getter | Get “Min Downstream Delay” Parameter |
getStatsGpioMinUpstreamDelay(layer) | getter | Get “Min Upstream Delay” Parameter |
getStatsGpioName(layer) | getter | Get “Name” Parameter |
getStatsGpioRateBpsDownstream(layer) | getter | Get “Rate Bps Downstream” Parameter |
getStatsGpioRateBpsUpstream(layer) | getter | Get “Rate Bps Upstream” Parameter |
getStatsGpioTimestampIn(layer) | getter | Get “Timestamp In” Parameter |
getStatsGpioTimestampOut(layer) | getter | Get “Timestamp Out” Parameter |
getStatsGpioType(layer) | getter | Get “Type” Parameter |
getStatsGpioUpstreamLastPacket(layer) | getter | Get “Upstream Last Packet” Parameter |
getStatsGpioUpstreamPacketCount(layer) | getter | Get “Upstream Packet Count” Parameter |
getStatsGpioVarianceDownstreamDelay(layer) | getter | Get “Variance Downstream Delay” Parameter |
getStatsGpioVarianceUpstreamDelay(layer) | getter | Get “Variance Upstream Delay” Parameter |
gpioDisable(layer,port) | function | Disable I/O Port |
gpioEnable(layer,port) | function | Enable I/O Port |
gpioInputDirection(layer,port,direction) | function | Configure I/O Port as Input |
gpioOutputDirection(layer,port,direction) | function | Configure I/O Port as Output |
gpioPwmStart(layer,port) | function | Start PWM |
gpioPwmStop(layer,port) | function | Stop PWM |
gpioWriteHigh(layer,port) | function | Write I/O Port High Level |
gpioWriteLow(layer,port) | function | Write I/O Port Low Level |
setGpioAllowBlockingEvent(layer,value) | setter | Set “Allow Blocking Event” Parameter |
setGpioBlocked(layer,value) | setter | Set “Blocked” Parameter |
setGpioDebugLogLevel(layer,value) | setter | Set “Debug Log Level” Parameter |
setGpioNoEvents(layer,value) | setter | Set “No Events” Parameter |
setGpioPWMPeriod(layer,value) | setter | Set “PWM Period” Parameter |
setGpioPassthrough(layer,value) | setter | Set “Passthrough” Parameter |
setGpioWatch(layer,value) | setter | Set “Watch” Parameter |