AT commands

Normand Roy Normand.Roy at cafection.com
Fri Sep 25 11:35:55 PDT 2015


I need to monitor modem temperature on modems running in a production environment. So running it in debug mode is not an option.

I will make a suggestion to the modem manufacturer to implement a plug-in for MM. I won't be able to do this by myself.

Thank you for your help.


-----Message d'origine-----
De : ModemManager-devel [mailto:modemmanager-devel-bounces at lists.freedesktop.org] De la part de Dan Williams
Envoyé : 25 septembre 2015 12:07
À : Highland, Glenn
Cc : modemmanager-devel at lists.freedesktop.org; Normand Roy
Objet : Re: AT commands

On Fri, 2015-09-25 at 11:05 -0500, Dan Williams wrote:
> On Fri, 2015-09-25 at 15:44 +0000, Highland, Glenn wrote:
> > You need to run ModemManager in debug mode.
> > 
> > From: ModemManager-devel 
> > [mailto:modemmanager-devel-bounces at lists.freedesktop.org] On Behalf 
> > Of Normand Roy
> > Sent: Friday, September 25, 2015 10:38 AM
> > To: modemmanager-devel at lists.freedesktop.org
> > Subject: AT commands
> > 
> > Why is it not possible to send AT command to the modem while using the modem manager?
> > 
> > I am using a Multi-Tech usb connected modem and I need to monitor 
> > the temperature using
> > 
> > AT#TEMPMON=1
> > 
> > I did not found any way to send this command and get the result.
> 
> To expand on this, ModemManager doesn't allow random AT commands in 
> normal mode because (a) they can interfere with the ones MM is 
> running, or cause unexpected replies that MM is not prepared for, and 
> (b) MM tries to abstract modems and provide a consistent interface for 
> many devices, and adding a path for custom commands just encourages 
> people to do random custom stuff instead of working to make MM better.
> 
> Many modems have temperature reporting capability, so my suggestion 
> here would be that we create a temperature reporting interface in MM 
> and start adding support for various devices to it via plugins.

That all said, obviously sometimes random AT commands are needed for reasons like this, and for debugging.  But they are allowed under the "debug" mode specifically because they aren't officially supported, and if something breaks now or in the future, you get to keep both pieces.

Dan

_______________________________________________
ModemManager-devel mailing list
ModemManager-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/modemmanager-devel


More information about the ModemManager-devel mailing list