forked from xiaozhi/xiaozhi-esp32
Add binary protocol v2 & v3 to websocket
This commit is contained in:
@@ -154,6 +154,8 @@ bool Ota::CheckVersion() {
|
||||
cJSON_ArrayForEach(item, websocket) {
|
||||
if (item->type == cJSON_String) {
|
||||
settings.SetString(item->string, item->valuestring);
|
||||
} else if (item->type == cJSON_Number) {
|
||||
settings.SetInt(item->string, item->valueint);
|
||||
}
|
||||
}
|
||||
has_websocket_config_ = true;
|
||||
|
||||
Reference in New Issue
Block a user