pulzr-net-zephyr
pulzr-net-zephyr
A Zephyr module that connects an application to Pulzr Net and knows nothing about what the device is. Enrollment, the MQTT 5 session, readings with store and forward, commands, settings and firmware updates.
Enrollment
A P-256 key in PSA secure storage, a CSR and one HTTPS call, or adoption by a PulzrOS gateway on the LAN.
Store and forward
Every reading and event goes through a flash partition, so nothing is lost while the network is away.
Commands and settings
Declared in the device type's package; the SDK refuses what the package forbids before the handler runs.
Firmware updates
Range downloads into MCUboot's secondary slot, checked by size and SHA-256, rolled back unless confirmed.
Modbus bridge
RS-485 and Modbus TCP units reported alongside the device, and bus scans.
Tested on native_sim
ztest against independent CBOR bytes, mutual TLS on loopback and Zephyr's own Modbus server.