From 09ba9a1fb27186a20bdb59ddab40614c5f7f0702 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Fri, 26 Jul 2024 17:07:49 -0300 Subject: [PATCH] Modem: Respond to % escaped commands, fixes Windows autodetection taking a long time --- src/network/net_modem.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/network/net_modem.c b/src/network/net_modem.c index 992270212..241e46502 100644 --- a/src/network/net_modem.c +++ b/src/network/net_modem.c @@ -1091,6 +1091,10 @@ modem_do_command(modem_t *modem, int repeat) } break; } + case '%': // % escaped commands + // Windows 98 modem prober sends unknown command AT%V + modem_send_res(modem, ResERROR); + return; case '\0': modem_send_res(modem, ResOK); return;