(07-11-2022, 04:26 PM)treebeard Wrote:(07-11-2022, 03:58 PM)jyoung Wrote: I'm not sure how to install the AT command. Does anyone know which package it belongs to?
After reading the other thread, I was able to run
mmcli -m 0 --messaging-list-sms
But that returned "No sms messages were found".
If the modem is clogged, mmcli doesn't seem to know about it.
AT commands are text strings sent to the modem. mmcli has a way to do this but it doesn't work on newer versions unless ModemManager is in debug mode so that adds some complexity. Other documented techniques involve using atinout or minicom. I've used picocom successfully.
That thread I referenced has the appropriate AT commands but writing up the sort of instructions that should be in the wiki is a bit beyond me right now.
(07-12-2022, 11:40 PM)jyoung Wrote:(07-11-2022, 04:26 PM)treebeard Wrote:(07-11-2022, 03:58 PM)jyoung Wrote: I'm not sure how to install the AT command. Does anyone know which package it belongs to?
After reading the other thread, I was able to run
mmcli -m 0 --messaging-list-sms
But that returned "No sms messages were found".
If the modem is clogged, mmcli doesn't seem to know about it.
AT commands are text strings sent to the modem. mmcli has a way to do this but it doesn't work on newer versions unless ModemManager is in debug mode so that adds some complexity. Other documented techniques involve using atinout or minicom. I've used picocom successfully.
That thread I referenced has the appropriate AT commands but writing up the sort of instructions that should be in the wiki is a bit beyond me right now.
I see the documentation about how to use mmcli to send AT commands
www.mankier.com/1/mmcli#Simple_Options
I installed ModemManager, and I tried the AT commands anyway without putting ModemManager in debug mode. It was able to detect a large number of queued messages, and purge them using the instructions on that thread. I have since received some texts. Maybe the issue with this method only working in debug mode has been solved?
However, there's a button in ModemManager to 'activate' the modem which I seem to need to click/press every time I restart the phone, otherwise texts don't come through. That seems weird, and certainly inconvenient.
Do I actually need ModemManger to use the AT commands with mmcli?