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).

Development of aiocoap, my Python CoAP library, is approaching its next breaking release.

If there's anything about its usability as a library that has been bugging you, especially if it would require breaking changes: Let me know soon, either here or on the issue tracker at https://github.com/chrysn/aiocoap/issues

#aiocoap #Python #CoAP

chrysn/aiocoap

The Python CoAP library. Contribute to chrysn/aiocoap development by creating an account on GitHub.

GitHub

Thanks to @pyodide and @ProjectJupyter, using #CoAP is becoming more accessible: The latest version of the #aiocoap documentation has examples that can be run directly from the documentation, and access CoAP peers through a WebSocket-to-UDP cross proxy:

<https://aiocoap.codeberg.page/aiocoap/doc/pyodide.html#contrib-pyodide>

#Python

pyodide and Jupyter — aiocoap 0.4.14.post0 documentation

I'm fixing #aiocoap's memory leak tests to finally run as async functions: the original tests employed mechanisms from the age of tulip (back when asyncio was developed out-of-tree), and Python 3.14 dropping some obsolete mechanisms.

Good riddance, but also tough work fixing subtle possible leaks that are suddenly easier to discover.

#Python #CoAP

@mechko One final pass over the text, and my application for maintenance of #aiocoap will go out 🤞
Just released version 0.4.10 of #aioCoAP, the asynchronous #Python library for #CoAP. The latest feature is support for #EDHOC (RFC9528), a highly efficient key establishment protocol. Documentation is at <https://aiocoap.readthedocs.io/>; the demo server described at <https://coap.amsuess.com/> also offers EDHOC now.
aiocoap – The Python CoAP library — aiocoap 0.4.10.post0 documentation

Okay, that screenshot was really not pretty. Fortunately, the #aioCoAP #kivy widget demo is now prettier, and also includes instructions to build own Android APKs from it (the Kivy Launcher is still an option). You can even configure which #CoAP Resource Directory to publish your server to.
It's good to see ecosystems arrive where one hoped to see them.
Five years ago I've added a small demo based on #kivy to #aioCoAP, in hopes that it would be usable as a simple GUI demo on Android. Filed or commented on issues here and there but largely left it sitting. Came back today, tweaked a few lines to match how kivy now supports asyncio, tried it on the new kivy launcher that supports Python 3, and lo and behold, easy #CoAP on Android :-)
A new release of #aioCoAP is now published on the #Python package index. This network library for #CoAP ("HTTP for the #IoT") now supports the latest draft of #OSCORE group communication, which can secure multicast communication. Also, it is now possible to use it in #JupyterLite notebooks.
The #aioCoAP library is gaining support for running in web browsers, it can even run a #CoAP server there. Thanks #pyodide and #jupyter folks for making this quite an easy exercise.
Stay tuned for the release!