feat: add Bluetooth-controlled LoRa OTA
Add the framed BLE mOTA transport and companion control path, complete the full-profile build and runtime fixes, and document and test the OTA workflow.
This commit is contained in:
1 parent
bd3a94bddb
commit
69ded9d6c7
79 files changed
+3178
-304
No files matched your search
@@ -15,6 +15,7 @@ class DisplayDriver {
|
||||
int _w, _h;
|
||||
protected:
|
||||
DisplayDriver(int w, int h) { _w = w; _h = h; }
|
||||
void setDimensions(int w, int h) { _w = w; _h = h; }
|
||||
|
||||
static size_t trimLastUTF8Codepoint(char* str, size_t length) {
|
||||
if (length == 0) return 0;
|
||||
@@ -30,6 +31,11 @@ public:
|
||||
int height() const { return _h; }
|
||||
|
||||
virtual bool isOn() = 0;
|
||||
virtual bool supportsRotation() const { return false; }
|
||||
virtual bool setRotationDegrees(uint16_t degrees) {
|
||||
(void)degrees;
|
||||
return false;
|
||||
}
|
||||
virtual bool isEink() { return false; } // default to non-eink, override in eink drivers
|
||||
virtual void forceFullRefresh() {} // next refresh will be full for eink
|
||||
virtual void turnOn() = 0;
|
||||
|
||||
Reference in new issue
Block a user