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
// ✅ Use this format for firmware + filesystem updates
85
+
{
86
+
"type": "esp32-fota-http",
87
+
"version": "1.0.0",
88
+
"host": "example.com",
89
+
"port": 443,
90
+
"bin": "/firmware.bin",
91
+
"littlefs": "/filesystem.bin"
92
+
}
93
+
94
+
// ✅ Or this format for firmware-only updates
95
+
{
96
+
"type": "esp32-fota-http",
97
+
"version": "1.0.0",
98
+
"url": "https://example.com/firmware.bin"
99
+
}
100
+
```
101
+
102
+
**Manifest Format Options:**
103
+
104
+
1.**Complete URL (firmware only)**: Use `url` field - filesystem updates not supported
105
+
2.**Component-based URLs (firmware + filesystem)**: Use `host`, `port`, `bin`, and optional `spiffs`/`littlefs`/`fatfs` fields
106
+
107
+
You cannot mix these approaches in a single manifest.
108
+
69
109
A single JSON file can provide information on multiple firmware types by combining them together into an array. When this is loaded, the firmware manifest with a type matching the one passed to the esp32FOTA constructor will be selected:
0 commit comments