Page 1 of 1

esp-modem, notofication recive SMS

Posted: Fri Sep 08, 2023 7:23 am
by wilkxt
Hi
I use esp-modem commponents and pppos_client example.
I set esp_modem_set_mode(dce, ESP_MODEM_MODE_CMUX) to set mix data and command mode its works ok. I my send data and sned AT command, esp_modem_send_sms(..) work OK.
But I don't now how get notification of receiving an SMS?

Re: esp-modem, notofication recive SMS

Posted: Thu Sep 14, 2023 4:51 am
by wilkxt
Nobody uses (CMTI) SMS notifications? Checking in the loop whether a new SMS has arrived is a solution, but it is unnecessarily CPU-consuming.

Re: esp-modem, notofication recive SMS

Posted: Wed Sep 20, 2023 6:39 am
by wilkxt
This is the solution at the moment, I send a command to read an SMS every second, and when a new one appears, I can read it.