You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* added base version of serial bus
* freertos 1000 hz
* added ram debugging
* add receive answers
* updated logic of serial bus coordinator and peers and documentation
* add ota
* update ota
* update to work with bus connected to expander
* update lower chunk size default
* update docs
* update remove unnecessary information
* removed debug
* update minimal fixes
* remove debug
* code review
* refactor
* refactor & error handling
* Agent Review fix
* default handling & relay simplification
* refactoring
* refactoring serial_bus_ota
* update and refactor code
* documentation
* AI Review
* simplify verification and just use esp_ota_end() to verify
* add line breaks in Markdown files
* cleanup whitespace, reduce diff
* simplify CSV parsing
* adressing review
* remove obsolete OTA server
* remove outdated "OTA" references
* tiny formatting improvement
* remove `parse_ota_partition` and use default range
* simplify OTB protocol and otb_update.py
* update otb & readd sliding window (4x speed)
* changes based on review
* match const pattern of other files
* fix docs
* minor Markdown improvements
* improve some comments
* refactor OTB responses from polled buffer to send callback
* auto-format otb.cpp
* remove bus_reset_session from header file
* avoid re-implementing base64 decoder
* resove the `abort_flash` parameter
* remove redundant check
* respond with an error instead of silently logging an unknown message type
* handle session mismatch consistently
* call millis() inside the function
* make more variables const
* use human-readable error messages
* added handling for error and ack msgs
---------
Co-authored-by: Falko Schindler <falko@zauberzeug.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
The output `format` is a string with multiple space-separated elements of the pattern `<module>.<property>[:<precision>]` or `<variable>[:<precision>]`.
41
42
The `precision` is an optional integer specifying the number of decimal places for a floating point number.
42
43
For example, the format `"core.millis input.level motor.position:3"` might yield an output like `"92456 1 12.789"`.
43
44
44
-
The OTA update will try to connect to the specified WiFi network with the provided SSID and password.
45
-
After initializing the WiFi connection, it will attempt an OTA update from the given URL.
46
-
Upon successful updating, the ESP will restart and attempt to verify the OTA update.
47
-
It will reconnect to the WiFi and try to access URL + `/verify` to receive a message with the current version of Lizard.
48
-
The test is considered successful if an HTTP request is received, even if the version does not match or is empty.
49
-
If the newly updated Lizard cannot connect to URL + `/verify`, the OTA update will be rolled back.
50
-
51
45
`core.get_pin_status(pin)` reads the pin's voltage, not the output state directly.
52
46
53
47
## Bluetooth
@@ -90,6 +84,11 @@ The serial bus module lets multiple ESP32s share a UART link with a coordinator
90
84
|`bus.send(receiver, payload)`| Send a single line of text to a peer `receiver` (0-255) |`int`, `str`|
91
85
|`bus.make_coordinator(peer_ids...)`| Set the list of peer IDs, making this node the coordinator |`int`s |
92
86
87
+
**Firmware Updates:**
88
+
Peers on the serial bus can be updated remotely via the coordinator.
89
+
Use the `otb_update.py` tool to push new firmware to any peer node.
90
+
See [OTB Update](tools.md#otb-update) for details.
91
+
93
92
## Input
94
93
95
94
The input module is associated with a digital input pin that is be connected to a pushbutton, sensor or other input signal.
0 commit comments