esp-modem, notofication recive SMS

wilkxt
Posts: 15
Joined: Sun Mar 06, 2016 7:46 pm

esp-modem, notofication recive SMS

Postby wilkxt » Fri Sep 08, 2023 7:23 am

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?
best regards, Tom

wilkxt
Posts: 15
Joined: Sun Mar 06, 2016 7:46 pm

Re: esp-modem, notofication recive SMS

Postby wilkxt » Thu Sep 14, 2023 4:51 am

Nobody uses (CMTI) SMS notifications? Checking in the loop whether a new SMS has arrived is a solution, but it is unnecessarily CPU-consuming.
best regards, Tom

wilkxt
Posts: 15
Joined: Sun Mar 06, 2016 7:46 pm

Re: esp-modem, notofication recive SMS

Postby wilkxt » Wed Sep 20, 2023 6:39 am

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.
best regards, Tom

Who is online

Users browsing this forum: No registered users and 134 guests