Table of Contents

I2C Layer

The I2C layer provides Inter-Integrated Circuit functionality. This layer can be placed on top of any layer.

I2C Layer Configuration Parameters

Parameter Type Description
Address Number Ethernet/IPv4/IPv6 Address
Alias String
Debug Log Level Number Debug Level
Dependencies String Other dependencies to this element
Destination Peer Number
Device String
Event Filter String Filter of Event
Exact Match Boolean
Max Event Queue Size Number Maximum Queue Size
Name String Component Name
No Events Boolean
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
Topic String
Watch Boolean Watch Layer

I2C Layer Real-Time Parameters

Parameter Type Description
Address String Ethernet/IPv4/IPv6 Address
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

I2C Layer Functions

Function Type Description
getI2cAddress(layer) getter Get “Address” Parameter
getI2cAllowBlockingEvent(layer) getter Get “Allow Blocking Event” Parameter
getI2cBlocked(layer) getter Get “Blocked” Parameter
getI2cDebugLogLevel(layer) getter Get “Debug Log Level” Parameter
getI2cDestinationPeer(layer) getter Get “Destination Peer” Parameter
getI2cDevice(layer) getter Get “Device” Parameter
getI2cNoEvents(layer) getter Get “No Events” Parameter
getI2cPassthrough(layer) getter Get “Passthrough” Parameter
getI2cReadout(layer) getter Get “Readout” Parameter
getI2cTopic(layer) getter Get “Topic” Parameter
getI2cWatch(layer) getter Get “Watch” Parameter
getStatsI2cAvailableInstances(layer) getter Get “Available Instances” Parameter
getStatsI2cDownstreamLastPacket(layer) getter Get “Downstream Last Packet” Parameter
getStatsI2cDownstreamPacketCount(layer) getter Get “Downstream Packet Count” Parameter
getStatsI2cMaxDownstreamDelay(layer) getter Get “Max Downstream Delay” Parameter
getStatsI2cMaxUpstreamDelay(layer) getter Get “Max Upstream Delay” Parameter
getStatsI2cMeanDownstreamDelay(layer) getter Get “Mean Downstream Delay” Parameter
getStatsI2cMeanUpstreamDelay(layer) getter Get “Mean Upstream Delay” Parameter
getStatsI2cMinDownstreamDelay(layer) getter Get “Min Downstream Delay” Parameter
getStatsI2cMinUpstreamDelay(layer) getter Get “Min Upstream Delay” Parameter
getStatsI2cName(layer) getter Get “Name” Parameter
getStatsI2cRateBpsDownstream(layer) getter Get “Rate Bps Downstream” Parameter
getStatsI2cRateBpsUpstream(layer) getter Get “Rate Bps Upstream” Parameter
getStatsI2cTimestampIn(layer) getter Get “Timestamp In” Parameter
getStatsI2cTimestampOut(layer) getter Get “Timestamp Out” Parameter
getStatsI2cType(layer) getter Get “Type” Parameter
getStatsI2cUpstreamLastPacket(layer) getter Get “Upstream Last Packet” Parameter
getStatsI2cUpstreamPacketCount(layer) getter Get “Upstream Packet Count” Parameter
getStatsI2cVarianceDownstreamDelay(layer) getter Get “Variance Downstream Delay” Parameter
getStatsI2cVarianceUpstreamDelay(layer) getter Get “Variance Upstream Delay” Parameter
i2cRead(layer,length) function Read I2C data
i2cWrite(layer,data) function Write I2C data
setI2cAddress(layer,value) setter Set “Address” Parameter
setI2cAllowBlockingEvent(layer,value) setter Set “Allow Blocking Event” Parameter
setI2cBlocked(layer,value) setter Set “Blocked” Parameter
setI2cDebugLogLevel(layer,value) setter Set “Debug Log Level” Parameter
setI2cDevice(layer,value) setter Set “Device” Parameter
setI2cNoEvents(layer,value) setter Set “No Events” Parameter
setI2cPassthrough(layer,value) setter Set “Passthrough” Parameter
setI2cReadout(layer,value) setter Set “Readout” Parameter
setI2cTopic(layer,value) setter Set “Topic” Parameter
setI2cWatch(layer,value) setter Set “Watch” Parameter