Pamoja.FieldIo
0.2.0
dotnet add package Pamoja.FieldIo --version 0.2.0
NuGet\Install-Package Pamoja.FieldIo -Version 0.2.0
<PackageReference Include="Pamoja.FieldIo" Version="0.2.0" />
<PackageVersion Include="Pamoja.FieldIo" Version="0.2.0" />
<PackageReference Include="Pamoja.FieldIo" />
paket add Pamoja.FieldIo --version 0.2.0
#r "nuget: Pamoja.FieldIo, 0.2.0"
#:package Pamoja.FieldIo@0.2.0
#addin nuget:?package=Pamoja.FieldIo&version=0.2.0
#tool nuget:?package=Pamoja.FieldIo&version=0.2.0
Pamoja.FieldIo
The wires a gateway actually has: framed serial packets, an RS485 request and the reply it draws, a CAN frame, the address a chip answers on, and the bus that carries a driver to the part.
One reference for the 5 capabilities of this domain. Each is also its own package,
and Pamoja is the whole framework in one.
dotnet add package Pamoja.FieldIo
This package ships no assembly: it brings in the packages below, and each keeps its own namespace, so a type is named the way it is when the package is referenced directly.
| Capability | Package | What it covers |
|---|---|---|
| Serial framing | Pamoja.Serial |
SLIP and COBS byte stuffing with streaming decoders, so a UART byte stream carries discrete packets |
| Modbus RTU | Pamoja.Modbus |
Modbus RTU for RS485 field devices: a client that polls them over a serial port with the line's timing, simulated devices that answer as real ones do, and the frames with their CRC-16/MODBUS |
| CAN and J1939 | Pamoja.Can |
CAN 2.0 and CAN FD frames with 11- and 29-bit identifiers, J1939 decode and compose, and a node on a bus, simulated or a Linux interface through SocketCAN |
| I2C, SPI, and GPIO | Pamoja.Gpio |
I2C address frames with reserved-range checks, the four SPI clock modes, active-high or active-low switches and contacts, and GPIO lines opened on a Linux board |
| Buses | Pamoja.Hal |
The embedded-hal traits every driver takes, a bit-banged 1-Wire bus, simulated parts and scripted buses that stand in for hardware, the Linux backends over i2c-dev, spidev, and the GPIO character device, one I2C bus and one serial port a program and its drivers share, and delays that sleep or only count |
The guides, with a worked C# example for each, are at https://pamoja.molex.cloud/docs.
License
MIT
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Pamoja.Can (>= 0.2.0)
- Pamoja.Gpio (>= 0.2.0)
- Pamoja.Hal (>= 0.2.0)
- Pamoja.Modbus (>= 0.2.0)
- Pamoja.Serial (>= 0.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.