From 9234ff00de39d66cfae18fb122180b3eaadeed0a Mon Sep 17 00:00:00 2001 From: user Date: Thu, 5 Feb 2026 13:57:08 +0100 Subject: [PATCH] feat: Support HTTPS URLs for OTA updates --- get-started/csi_recv_router/main/app_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/get-started/csi_recv_router/main/app_main.c b/get-started/csi_recv_router/main/app_main.c index 81ca500..bb25661 100644 --- a/get-started/csi_recv_router/main/app_main.c +++ b/get-started/csi_recv_router/main/app_main.c @@ -1750,8 +1750,8 @@ static int cmd_handle(const char *cmd, char *reply, size_t reply_size) /* OTA */ if (strncmp(cmd, "OTA ", 4) == 0) { const char *url = cmd + 4; - if (strncmp(url, "http://", 7) != 0) { - snprintf(reply, reply_size, "ERR OTA url must start with http://"); + if (strncmp(url, "http://", 7) != 0 && strncmp(url, "https://", 8) != 0) { + snprintf(reply, reply_size, "ERR OTA url must start with http:// or https://"); return strlen(reply); } if (s_ota_in_progress) {