MicroPython CoAP Lib?
I'm wondering if there is a PyCom (MicroPython) suitable CoAP Library to use?
We've gotten LTE-NB1 (NB-IOT) up and working with urequest.py lib ... but would like to experiment with CoAP in trying to optimize and get the data payloads down to as small as possible.
We have found CoAP Lib's out there.... for Python 2.7 and 3+ ... but they are ment to run on a normal computer, not a ESP32 with MicroPython :-)
Does by any chance PyCom themselves written /ported a CoAP Lib for us to use?
You can take a look at this very recent implementation: https://github.com/insighio/microCoAPy
No need for special firmware.
Hope it would be helpful for you!
Well, that has to be compiled into your own firmware build ... and no, I have not rolled my own firmware ... as of yet ... but it looks like one has to go that route ... it seems like .. since Pycom don't look interested into adding official coap support into their firmware 😞
@Paul-Thornton wink wink nudge nudge 😉
@combaindeft is this what you're looking for? I'm a CoAP fan as well and just saw this on a search.
Have you tried this or any other implementations yet?