AT commands

Jean-Christian de Rivaz jc at eclis.ch
Fri Sep 25 16:11:22 PDT 2015


Le 25. 09. 15 20:35, Normand Roy a écrit :
> 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.
>>

Hi Normand,

As a user I don't want to make arguments about the politic of the 
ModemManager project regarding your question, even if I strongly support 
your request. But...

Pragmatically, many USB modems expose multiple serial ports. If it's the 
case for your modem, there some chance that ModemManager don't use all 
of them, leaving the possibility to use on unused USB serial port for 
your own application, for example to query the temperature.

Best Regards,
Jean-Christian



More information about the ModemManager-devel mailing list