Page 1 of 1

[ESP-IDF v5.2.2] ESP32-S3 esp_modem v1.1.0 URC handler

Posted: Wed Jul 24, 2024 8:26 am
by lebies
Hi all,

I have a Quectel EG915EU modem connected up to a custom board and running as expected (on 2 interfaces, 1 on at-command and 1 on PPPoS).

I can send and get responses to modem AT commands no issues and that api works very well.
But, as is well known, modems are posting unsolicited result codes (URCs) asynchronously for various things happening (state changes, etc).

How do I setup a catch-all callback (maybe?) to process these messages please, and not have it interfere with my at-commend handlers?
Or better yet - is there a piece of simple-ish example code to refer to?

Thanks in advance, appreciate any help.