Skip to content

transport: serial: add SPI transport adapter - #256

Open
trond-snekvik wants to merge 1 commit into
mainfrom
transport/spi
Open

transport: serial: add SPI transport adapter#256
trond-snekvik wants to merge 1 commit into
mainfrom
transport/spi

Conversation

@trond-snekvik

Copy link
Copy Markdown
Collaborator

Add SPI master (broker) and slave (device) adapters for the pouch serial transport, including devicetree bindings, Kconfig options, and example applications for both sides.

Rework the serial channel state machine to support explicit open/close transitions, channel suspension, and per-channel active tracking in the broker. The broker now restarts the exchange loop on completion or error instead of relying on the caller.

Also includes:

  • Gateway cert logging and NULL-checks.
  • dts_root entry in module.yml so bindings are picked up.

Targets the transport/serial branch, so staying in draft for now

Add SPI master (broker) and slave (device) adapters for the pouch
serial transport, including devicetree bindings, Kconfig options, and
example applications for both sides.

Rework the serial channel state machine to support explicit open/close
transitions, channel suspension, and per-channel active tracking in the
broker. The broker now restarts the exchange loop on completion or
error instead of relying on the caller.

Also includes:
- Gateway cert logging and NULL-checks.
- dts_root entry in module.yml so bindings are picked up.

Signed-off-by: Trond Snekvik <trond.snekvik@canonical.com>
@trond-snekvik
trond-snekvik marked this pull request as ready for review September 4, 2026 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant