Namespace Pamoja.Native.Interop
Classes
- FixedWidth
Checks a fixed-width argument before a native call reads it.
- NamedValue
Checks an enum argument before a native call reads it.
- NativeHandle
A SafeHandle over a native pointer whose release function is supplied at construction, so the handle is always released exactly once even across finalization races.
- NativeMethods
The P/Invoke declarations for the actuator drivers that run over an I2C bus and their simulated parts, mirroring
pamoja.hone-to-one.
- OwnedBuffer
Byte buffers a native call hands back for the caller to own.
- OwnedString
Reads and releases the owned strings the C ABI produces.
- Status
The thread-local error slot every native call reports through.
Structs
- NativeLease
A native pointer held open until the lease is disposed.
- PamojaAckermann
Car-like steering: axles a wheelbase apart.
- PamojaAds1115Config
An ADS1115 configuration register field by field, mirroring
PamojaAds1115Configinpamoja.h.
- PamojaAds1115Sample
One ADS1115 conversion. Mirrors
PamojaAds1115Sampleinpamoja.h.
- PamojaAds1115Settings
How an ADS1115 driver converts. Mirrors
PamojaAds1115Settingsinpamoja.h.
- PamojaAlertCode
The null-terminated code of a custom alert, as it crosses the boundary.
- PamojaBme280Config
A BME280 config register, field by field. Mirrors
PamojaBme280Configinpamoja.h.
- PamojaBme280CtrlMeas
A BME280 ctrl_meas register, field by field. Mirrors
PamojaBme280CtrlMeasinpamoja.h.
- PamojaBme280Measurement
A compensated BME280 reading, mirroring
PamojaBme280Measurementinpamoja.h.
- PamojaBme280Settings
How a BME280 driver measures. Mirrors
PamojaBme280Settingsinpamoja.h.
- PamojaBmp280Coefficients
A BMP280's per-chip trimming coefficients, as they sit in its registers. Mirrors <c>PamojaBmp280Coefficients</c> in <c>pamoja.h</c>.
- PamojaBmp280Config
A BMP280 config register, field by field. Mirrors <c>PamojaBmp280Config</c> in <c>pamoja.h</c>.
- PamojaBmp280CtrlMeas
A BMP280 ctrl_meas register, field by field. Mirrors <c>PamojaBmp280CtrlMeas</c> in <c>pamoja.h</c>.
- PamojaBmp280Measurement
The uncompensated codes a BMP280 burst read carries. Mirrors <c>PamojaBmp280Measurement</c> in <c>pamoja.h</c>.
- PamojaBmp280Reading
A compensated BMP280 reading. Mirrors <c>PamojaBmp280Reading</c> in <c>pamoja.h</c>.
- PamojaBmp280Settings
How a BMP280 driver measures. Mirrors
PamojaBmp280Settingsinpamoja.h.
- PamojaBodyMotion
A planar body motion: a forward speed and a yaw rate.
- PamojaBoot
The decision a device made at boot.
- PamojaCanFilter
A CAN receive filter, as the C ABI carries it.
- PamojaChirpstackReception
One gateway that heard an uplink, mirroring
PamojaChirpstackReception.
- PamojaChirpstackUplinkSummary
The scalar fields of an uplink event, mirroring
PamojaChirpstackUplinkSummary.
- PamojaCoapConfig
The settings a CoAP endpoint is built from.
- PamojaControlSpec
A control policy, flattened so every variant crosses as one value.
- PamojaCoordinate
A latitude and longitude in degrees, mirroring
PamojaCoordinateinpamoja.h.
- PamojaDelegation
A statement, signed by the anchor, that a second key may sign releases.
- PamojaDevice
Who a device is, and whose signature it trusts.
- PamojaDhParameters
One joint of a serial arm in the Denavit-Hartenberg convention.
- PamojaDiffDrive
A differential drive: two wheels a track apart.
- PamojaDigest
A 32-byte key or digest carried inline inside a blittable struct.
- PamojaDs18b20Reading
A decoded DS18B20 scratchpad, mirroring
PamojaDs18b20Readinginpamoja.h.
- PamojaDutyCycle
The split between the time a node works and the time it sleeps.
- PamojaEsc
An electronic speed controller's pulse widths.
- PamojaEui
An 8-byte device or gateway identifier carried inline inside a blittable struct.
- PamojaFourBytes
A 4-byte block descriptor or integrity code carried inline inside a blittable struct.
- PamojaGatewayNetworkEvent
What a forwarded packet turned out to be, mirroring
PamojaGatewayNetworkEventinpamoja.h.
- PamojaGatewayNetworkNotice
A device a relay heard and could not verify, mirroring
PamojaGatewayNetworkNotice.
- PamojaGatewayNetworkSlot
Where and when a downlink answers an uplink, mirroring
PamojaGatewayNetworkSlotinpamoja.h.
- PamojaGatewayNetworkWindows
When and where a network answers, mirroring
PamojaGatewayNetworkWindowsinpamoja.h.
- PamojaGatewayRxpk
A packet a gateway heard, without its payload, mirroring
PamojaGatewayRxpkinpamoja.h.
- PamojaGatewayStat
A gateway's own status report, mirroring
PamojaGatewayStatinpamoja.h.
- PamojaGatewayStationBroadcast
One frame of a schedule apart from its bytes, mirroring
PamojaGatewayStationBroadcastinpamoja.h.
- PamojaGatewayStationDataRate
One number of a configuration's data-rate table, mirroring
PamojaGatewayStationDataRateinpamoja.h.
- PamojaGatewayStationFields
Every fixed field a message carries, mirroring
PamojaGatewayStationFieldsinpamoja.h.
- PamojaGatewayStationJoinRange
A range of join identifiers, both ends included, mirroring
PamojaGatewayStationJoinRangeinpamoja.h.
- PamojaGatewayStationLevels
How a station heard a packet, mirroring
PamojaGatewayStationLevelsinpamoja.h.
- PamojaGatewayStationRouterIds
The identities a discovery answer names, mirroring
PamojaGatewayStationRouterIdsinpamoja.h.
- PamojaGatewayStationWindow
A receive window, or the ping slot of a class B downlink, mirroring
PamojaGatewayStationWindowinpamoja.h.
- PamojaGatewayStationXtime
A station clock value taken apart, mirroring
PamojaGatewayStationXtimeinpamoja.h.
- PamojaGatewayTxpk
A packet a server asks a gateway to transmit, without its payload, mirroring
PamojaGatewayTxpkinpamoja.h.
- PamojaGuidance
The command toward a waypoint, with the geometry behind it.
- PamojaHdc1080Config
An HDC1080 configuration register, field by field. Mirrors <c>PamojaHdc1080Config</c> in <c>pamoja.h</c>.
- PamojaHdc1080Measurement
A decoded HDC1080 temperature and humidity pair. Mirrors <c>PamojaHdc1080Measurement</c> in <c>pamoja.h</c>.
- PamojaHdc1080Settings
How an HDC1080 driver measures. Mirrors
PamojaHdc1080Settingsinpamoja.h.
- PamojaI2cAddress
A validated I2C device address, mirroring
PamojaI2cAddressinpamoja.h.
- PamojaId
A 16-byte identifier carried inline inside a blittable struct.
- PamojaIna219Config
An INA219 configuration register, field by field. Mirrors
PamojaIna219Configinpamoja.h.
- PamojaIna219Reading
One INA219 conversion. Mirrors
PamojaIna219Readinginpamoja.h.
- PamojaIna219Settings
How an INA219 driver measures. Mirrors
PamojaIna219Settingsinpamoja.h.
- PamojaIna226Config
An INA226 configuration register, field by field. Mirrors <c>PamojaIna226Config</c> in <c>pamoja.h</c>.
- PamojaIna226DieId
A decoded INA226 die-ID register. Mirrors <c>PamojaIna226DieId</c> in <c>pamoja.h</c>.
- PamojaIna226MaskEnable
An INA226 Mask/Enable register, field by field. Mirrors <c>PamojaIna226MaskEnable</c> in <c>pamoja.h</c>.
- PamojaIna226Reading
One INA226 conversion. Mirrors
PamojaIna226Readinginpamoja.h.
- PamojaIna226Settings
How an INA226 driver measures. Mirrors
PamojaIna226Settingsinpamoja.h.
- PamojaJ1939Id
The fields J1939 packs into an extended CAN identifier, mirroring
PamojaJ1939Idinpamoja.h.
- PamojaJ1939Signals
The eight data bytes of a J1939 frame, carried inline by value.
- PamojaJoints
A two-link arm's joint angles, in radians.
- PamojaLevelCounts
The five per-level counters a snapshot carries, inline.
- PamojaLoraBeacon
The Class B beacon settings of a plan, mirroring
PamojaLoraBeaconinpamoja.h.
- PamojaLoraChannelBlock
A run of evenly spaced channels, mirroring
PamojaLoraChannelBlockinpamoja.h.
- PamojaLoraDataRate
One data rate, mirroring
PamojaLoraDataRateinpamoja.h.
- PamojaLoraJoinPlan
A run of join channels that puts a device on a plan, mirroring
PamojaLoraJoinPlaninpamoja.h.
- PamojaLoraLink
The radio settings of a LoRa link, mirroring
PamojaLoraLinkinpamoja.h.
- PamojaLoraLinkBudget
The gains and losses of a LoRa link, mirroring
PamojaLoraLinkBudgetinpamoja.h.
- PamojaLoraMaskControl
What one
ChMaskCntlvalue does, mirroringPamojaLoraMaskControlinpamoja.h.
- PamojaLoraMaxPayload
What one data rate may carry in a single frame, mirroring
PamojaLoraMaxPayloadinpamoja.h.
- PamojaLoraPlanInfo
The scalar facts of a plan, mirroring
PamojaLoraPlanInfoinpamoja.h.
- PamojaLoraPlanRules
How a plan defines and uses its channels, mirroring
PamojaLoraPlanRulesinpamoja.h.
- PamojaLoraRadioConfig
What a radio of either family sends and listens with, mirroring
PamojaLoraRadioConfiginpamoja.h.
- PamojaLoraRadioReception
How a reception ended, mirroring
PamojaLoraRadioReceptioninpamoja.h.
- PamojaLoraRelayChannel
A default channel of a LoRaWAN relay, mirroring
PamojaLoraRelayChannel.
- PamojaLoraSubBand
A slice of a band with its own transmit limits, mirroring
PamojaLoraSubBandinpamoja.h.
- PamojaLoraTuning
What a simulated chip is tuned to, mirroring
PamojaLoraTuninginpamoja.h.
- PamojaLorawanBackoffStep
What a back-off says to do with one uplink, mirroring
PamojaLorawanBackoffStepinpamoja.h.
- PamojaLorawanCarrier
Where a frame goes and how fast, mirroring
PamojaLorawanCarrier.
- PamojaLorawanChannel
A channel a device may send on, mirroring
PamojaLorawanChannel.
- PamojaLorawanDeviceError
Why a device's last call failed, mirroring
PamojaLorawanDeviceError.
- PamojaLorawanDeviceSettings
What a device's radio can do, mirroring
PamojaLorawanDeviceSettings.
- PamojaLorawanEndDeviceStatus
Where a device stands, mirroring
PamojaLorawanEndDeviceStatus.
- PamojaLorawanFlags
The header flags a sender sets on a data frame, mirroring
PamojaLorawanFlagsinpamoja.h.
- PamojaLorawanGrant
What a network grants a device that joined, mirroring
PamojaLorawanGrantinpamoja.h.
- PamojaLorawanHeader
What a frame says about itself before any key is involved, mirroring
PamojaLorawanHeaderinpamoja.h.
- PamojaLorawanHeard
What a heard frame was, mirroring
PamojaLorawanHeard.
- PamojaLorawanMacCommand
One of the commands a network and a device configure each other with, mirroring
PamojaLorawanMacCommandinpamoja.h.
- PamojaLorawanNext
What to do next, mirroring
PamojaLorawanNext.
- PamojaLorawanPackageCommand
One command of a LoRaWAN application layer package, mirroring
PamojaLorawanPackageCommandinpamoja.h.
- PamojaLorawanRelayExchange
A wake-on-radio exchange, mirroring
PamojaLorawanRelayExchange.
- PamojaLorawanRelayStatus
What a relay said about itself, mirroring
PamojaLorawanRelayStatus.
- PamojaLorawanRxr
A downlink for an end device, mirroring
PamojaLorawanRxr.
- PamojaLorawanScan
A scan for wake-on-radio frames, mirroring
PamojaLorawanScan.
- PamojaLorawanStateSync
What a relay tells an end device, mirroring
PamojaLorawanStateSync.
- PamojaLorawanSynchronization
What a device knows of a relay's scans, mirroring
PamojaLorawanSynchronization.
- PamojaLorawanTransmission
A frame to put on the air, mirroring
PamojaLorawanTransmission.
- PamojaLorawanUplinkMetadata
What a relay heard of an uplink, mirroring
PamojaLorawanUplinkMetadata.
- PamojaLorawanWake
What a wake-on-radio frame led to, mirroring
PamojaLorawanWake.
- PamojaLorawanWindow
When and where to listen, mirroring
PamojaLorawanWindow.
- PamojaLorawanWor
A wake-on-radio frame as a relay reads it, mirroring
PamojaLorawanWor.
- PamojaLorawanWorKeys
An end device's wake-on-radio keys, mirroring
PamojaLorawanWorKeys.
- PamojaLorawanWorSlot
When a WOR frame goes out, mirroring
PamojaLorawanWorSlot.
- PamojaManifest
What a release says about itself, and what a device checks it against.
- PamojaMatrix16
Sixteen floats carried inline inside a blittable struct.
- PamojaMavlinkField
One field of a message definition, mirroring
PamojaMavlinkFieldinpamoja.h.
- PamojaMavlinkFieldInfo
One field of a message shape, mirroring
PamojaMavlinkFieldInfoinpamoja.h.
- PamojaMavlinkHeader
The addressing fields a sender stamps on every frame, mirroring
PamojaMavlinkHeaderinpamoja.h.
- PamojaMecanum
A mecanum base: four wheels a wheelbase and a track apart.
- PamojaModbusClientError
Why a Modbus client call failed, as the C ABI reports it.
- PamojaMqttConfig
Connection settings passed to pamoja_mqtt_client_new(ref PamojaMqttConfig), mirroring
PamojaMqttConfiginpamoja.h.
- PamojaMqttTls
TLS settings, mirroring
PamojaMqttTlsinpamoja.h.
- PamojaMqttWill
A last-will message, mirroring
PamojaMqttWillinpamoja.h.
- PamojaOpt3001Config
An OPT3001 configuration register, field by field. Mirrors <c>PamojaOpt3001Config</c> in <c>pamoja.h</c>.
- PamojaOpt3001Reading
An OPT3001 illuminance result. Mirrors
PamojaOpt3001Readinginpamoja.h.
- PamojaOpt3001Settings
How an OPT3001 driver measures. Mirrors
PamojaOpt3001Settingsinpamoja.h.
- PamojaPca9685Outputs
How a PCA9685's sixteen outputs are wired. Mirrors
PamojaPca9685Outputsinpamoja.h.
- PamojaPca9685Settings
How a PCA9685 driver programs the part. Mirrors
PamojaPca9685Settingsinpamoja.h.
- PamojaPoint
A point in a plane.
- PamojaPose
Where a robot is and which way it faces.
- PamojaPowerPlan
The work intervals a node uses in each mode, and where they change.
- PamojaPowerSchedule
How often a node samples as its battery drains, in whole seconds.
- PamojaPwm
A PCA9685 channel's four register bytes, mirroring
PamojaPwminpamoja.h.
- PamojaQuadratureScale
An encoder's resolution and its wheel's radius.
- PamojaReach
The closest and farthest a two-link arm's hand reaches.
- PamojaReaction
What a controller decided about one reading.
- PamojaRos2Twist
A body velocity command, matching
geometry_msgs/msg/Twist.
- PamojaRoute
A learned way to reach one node, mirroring
PamojaRouteinpamoja.h.
- PamojaScd4xMeasurement
A decoded SCD4x measurement frame. Mirrors <c>PamojaScd4xMeasurement</c> in <c>pamoja.h</c>.
- PamojaSealed
The header that travels beside a sealed message.
- PamojaSerialSettings
A serial port's speed and character format, as the C ABI carries it.
- PamojaServoMap
A hobby servo's pulse range and travel.
- PamojaSht3xMeasurement
A decoded SHT3x temperature and humidity pair. Mirrors <c>PamojaSht3xMeasurement</c> in <c>pamoja.h</c>.
- PamojaSht3xStatus
A decoded SHT3x status register. Mirrors <c>PamojaSht3xStatus</c> in <c>pamoja.h</c>.
- PamojaSideSpeeds
The speeds of a two-sided drive's left and right wheels or tracks.
- PamojaSkidSteer
A skid-steer drive: sides a track apart that slip to turn.
- PamojaSlotRecord
The record a device keeps about one slot.
- PamojaSx126xBoard
How a module wires its SX126x, mirroring
PamojaSx126xBoardinpamoja.h.
- PamojaSx126xBytes
The bytes of one SX126x command, carried inline inside a blittable struct.
- PamojaSx126xCommand
One SX126x command or command header, mirroring
PamojaSx126xCommandinpamoja.h.
- PamojaSx126xPacketStatus
The signal levels of a received LoRa frame, mirroring
PamojaSx126xPacketStatusinpamoja.h.
- PamojaSx126xQuery
An SX126x command that reads data back, mirroring
PamojaSx126xQueryinpamoja.h.
- PamojaSx126xRxBufferStatus
Where a received payload sits in the chip's buffer, mirroring
PamojaSx126xRxBufferStatusinpamoja.h.
- PamojaSx126xStatus
A decoded status byte, mirroring
PamojaSx126xStatusinpamoja.h.
- PamojaSx126xTxPower
An SX126x amplifier setting, mirroring
PamojaSx126xTxPowerinpamoja.h.
- PamojaSx127xHighBwOptimize
The writes of the SX127x 500 kHz sensitivity erratum, mirroring
PamojaSx127xHighBwOptimizeinpamoja.h.
- PamojaSx127xModem
The LoRa modem registers of an SX127x for a link, mirroring
PamojaSx127xModeminpamoja.h.
- PamojaSx127xModemStatus
The live state of an SX127x LoRa modem, mirroring
PamojaSx127xModemStatusinpamoja.h.
- PamojaSx127xPacketStatus
The signal levels of a packet an SX127x received, mirroring
PamojaSx127xPacketStatusinpamoja.h.
- PamojaSx127xSpuriousReception
The receive settings of the SX127x spurious reception erratum, mirroring
PamojaSx127xSpuriousReceptioninpamoja.h.
- PamojaSx127xTxPower
The amplifier settings of an SX127x, mirroring
PamojaSx127xTxPowerinpamoja.h.
- PamojaTag
A 16-byte authentication tag carried inline inside a blittable struct.
- PamojaTelemetrySnapshot
A count of everything a reporter has seen.
- PamojaTilt
Roll and pitch, in degrees.
- PamojaTmp117Alerts
The TMP117's alert flags. Mirrors
PamojaTmp117Alertsinpamoja.h.
- PamojaTmp117Config
A TMP117 configuration register, field by field. Mirrors <c>PamojaTmp117Config</c> in <c>pamoja.h</c>.
- PamojaTmp117Reading
A TMP117 temperature result. Mirrors
PamojaTmp117Readinginpamoja.h.
- PamojaTransform
A 4x4 homogeneous transform, sixteen floats in row-major order.
- PamojaTransportCallbacks
The functions a host supplies to stand as a transport, mirroring
PamojaTransportCallbacksinpamoja.h.
- PamojaTwist
How fast a robot is asked to move.
- PamojaTwoLinkArm
A planar two-link arm.
- PamojaTypeHash
A RIHS01 type hash as it crosses the boundary.
- PamojaTypeHashDigest
A RIHS01 type hash: the digest that identifies a message definition.
- PamojaVector3
A three-dimensional vector, matching
geometry_msgs/msg/Vector3.
- PamojaWaypointFollower
A carrot-following guide's speeds and gains.
- PamojaWheelSpeeds
The four wheel speeds of a mecanum base.
- PamojaWorAck
A wake-on-radio acknowledgment carried inline, seven bytes.
- PamojaWorFrame
A wake-on-radio frame carried inline, at most fifteen bytes.
Enums
- PamojaAlertKind
Which threshold a reading crossed, if any.
- PamojaBootAction
What a bootloader should do with what it found.
- PamojaBoundary
Where a fix sits relative to a geofence, mirroring
PamojaBoundaryinpamoja.h.
- PamojaCoapReliability
Whether a CoAP request is acknowledged and retried.
- PamojaControlKind
Which control policy a profile applies to each reading.
- PamojaDelivery
What became of a message handed to a ladder.
- PamojaEdge
What a trigger reports when a reading changes its state, if anything.
- PamojaElbow
Which way a two-link arm's elbow bends.
- PamojaEntityKind
The ROS 2 subsystem a name belongs to, which fixes its DDS prefix.
- PamojaForward
What to do with a packet bound for a given node, mirroring
PamojaForwardinpamoja.h.
- PamojaI2cDirection
Which direction an I2C transfer runs, mirroring
PamojaI2cDirectioninpamoja.h.
- PamojaIna226AlertFunction
The limit comparison an INA226 alert pin responds to. Mirrors <c>PamojaIna226AlertFunction</c> in <c>pamoja.h</c>.
- PamojaLinkCost
What the link back to the network currently costs.
- PamojaLorawanDirection
The direction a frame traveled, mirroring
PamojaLorawanDirectioninpamoja.h.
- PamojaLorawanMessageType
What kind of message a frame is, mirroring
PamojaLorawanMessageTypeinpamoja.h.
- PamojaPinEdge
The signal transition that triggers a pin interrupt, mirroring
PamojaPinEdgeinpamoja.h.
- PamojaPinLevel
The physical voltage level on a pin, mirroring
PamojaPinLevelinpamoja.h.
- PamojaPinPolarity
Whether a signal is asserted by a high or a low physical level, mirroring
PamojaPinPolarityinpamoja.h.
- PamojaPowerMode
What a node should be doing at the current state of charge.
- PamojaQos
MQTT delivery guarantee at the C ABI, mirroring
PamojaQosinpamoja.h. The values match the facadeQosin Pamoja.Mqtt.
- PamojaSessionRole
Which side of a session a device is on.
- PamojaSlotState
What a device believes about one slot.
- PamojaStatus
The result of a fallible native call, mirroring
PamojaStatusinpamoja.h.
- PamojaStepDirection
Which way to step a motor, mirroring
PamojaStepDirectioninpamoja.h.
- PamojaStepDrive
A stepper drive pattern, mirroring
PamojaStepDriveinpamoja.h.
- PamojaSx126xChipMode
The operating mode a status byte reports, mirroring
PamojaSx126xChipModeinpamoja.h.
- PamojaSx126xCommandStatus
The outcome a status byte reports, mirroring
PamojaSx126xCommandStatusinpamoja.h.
- PamojaTelemetryLevel
How urgent a telemetry event is.
Delegates
- NativeTry<TValue>
A native call that reports whether it produced a value, and writes it.