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

lebies
Posts: 7
Joined: Wed Nov 24, 2021 5:45 am

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

Postby lebies » Wed Jul 24, 2024 8:26 am

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.

Who is online

Users browsing this forum: cdollar and 64 guests