goals for 28/12/23 #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Page Content
morgans random stream of hack.
On this installment, 28/12/23, I will be working on #CoAP over #ESPNow.
Goals
esp-netif-now
ESP-Now is a broadcast over WiFi management frames protocol.
By default in the ESP-IDF it does not get an LwIP interface. For the first
part of this stream I will rework my proof of concept code to write a
proper ESP-NETIF driver to bind ESP-Now to LwIP. The proof-of-concept already
works and writing a proper driver should be fairly straight forward.
CoAP
With the LwIP interface brought up automatic CoAP service and resource discovery
can be run. This will reach out to unknown devices and see if they have services
compatible with theirs, ie; a button looking for a switch.
This data should be persisted to assist with further configuration and future bringups.
Serverless MQTT
My vision for this draws heavily from Tasmota and it's use of MQTT endpoints for control
and status. CoAPs Observe functionality will be used a lot like MQTT server push.
Configuration
Unlike Tasmota I will forgo the web interface and all configuration should be accomplished
over CoAP. Resources being provided will start unconfigured and provide an
output
enpointthat points to another devices
input
resource endpoint.Donate