⚠️ This project is considered experimental and is not recommended for production use. Functionality may break at any time.
Adding support for building IoT devices using Golioth and Micropython.
- Samples
We forked MicroPython to add support for DTLS.
It's available on this fork/branch - https://github.com/goliothlabs/micropython/tree/add-dtls-psk-support
Follow the instructions to build for an esp32.
$ pip3 install adafruit-ampy
$ pip3 install esptool
$ ls /dev/tty.*
# In my case was /dev/tty.SLAB_USBtoUART
$ esptool.py --port /dev/tty.SLAB_USBtoUART erase_flash
$ esptool.py --chip esp32 --port /dev/tty.SLAB_USBtoUART --baud 460800 write_flash -z 0x1000 esp32.bin
$ ampy --port /dev/tty.SLAB_USBtoUART put lib/microCoAPy/microcoapy
$ ampy --port /dev/tty.SLAB_USBtoUART put samples/main.py main.py
- Micro CoAP Implementation - https://github.com/insighio/microCoAPy
- We vendored it temporarely to add more features like observation, ping and asyncio.
- MicroCoAPy