Post #1166303
2025-12-12 00:58 UTC
We're gathering momentum for slipmux, a transport of #CoAP over serial ports. That specification allows #embedded developers on simple boards that just have a UART to use the same tools with it as for talking to devices across the Internet. This includes security: I guess I just sent the first encrypted request over slipmux ever, and its security setup was unmodified from #ArielOS's CoAP example.
Implementation is available in #RiotOS (#C), and WIP for Ariel (#RustLang) and #aiocoap (#Python).
Replies (2)
-
@osterwood@chaos.social 2025-12-12 02:40
@chrysn Would this work over a half-duplex link (e.g. RS485)? with multiple MCUs? In that case, MCU to host diagnostic messages would have to be omitted (high chance of collision), but I suspect CoAP messages work. You'd need to add in some kind of addressing though, as normally the transport framing (e.g. UDP) handles addressing, right?
-
@jkjkjkjk@mastodon.social 2025-12-12 04:04
@chrysn cool idea. I like how you’re reusing protocol layers. No need to reinvent the wheel.