the full AT command sets are available somewhere here:

http://www.google.com/search?q=at.commands+site:3gpp.org


Note that a large number of the 'modems' these days, expose two serial
interfaces, and only one will listen for AT commands, until correct
initialisation is done...


/Pete



On 16. juni 2010, at 07.25, Dunceor wrote:

> On Wed, Jun 16, 2010 at 5:56 AM, J.C. Roberts <[email protected]>
> wrote:
>> On Mon, 14 Jun 2010 20:17:44 -0500 Marco Peereboom <[email protected]>
>> wrote:
>>>
>>> Anyone got:
>>> umsm0 at uhub7 port 2 configuration 1 interface 0 "Sierra Wireless
>>> Sierra Wireless MC5720 Modem" rev 1.10/0.01 addr 2 ucom0 at umsm0
>>> To work on OpenBSD?
>>>
>>> I get basically no output from the modem using this in /etc/remote:
>>> mobile:\
>>> B  B  B  B  :at=hayes:dv=/dev/cuaU0:dv=/dev/ttya:tc=direct:tc=unixhost:
>>>
>>> # sudo tip remote
>>> connected
>>>
>>> And then I can type AT all day long and get no response. B The modem
>>> isn't activated but I don't want to go spend money on activating it
>>> unless I know if that is what is causing it to not respond.
>>>
>>> Something else weird is that if I fart enough with tip and stuff to
>>> get to the modem and reboot with it on it hangs the IO subsytem. B Not
>>> sure why a serial port is sitting on IPL_BIO but that is a different
>>> story.
>>>
>>
>> As mentioned off list, a vast number of the early "data card" designs
>> actually have *multiple* serial ports, but only one of them is usable as
>> a typical AT-Command modem. The other serial ports on the device(s) can
>> only speak proprietary protocols and are used for BS "Management" and
>> "Monitoring" functions (e.g. constantly checking/reporting signal
>> strength). The umsm man page clearly mentions these other unusable
>> ports since there's no definitive way to tell which port is usable as a
>> modem.
>>
>> If a serial port on the device does not respond to AT commands, you have
>> the wrong port. If it's the only available port on the device, then you
>> need to tweak the umsm sources to make it look for multiple ports on
>> your device. If after finding all the available ports on a device, you
>> cannot find a port that talks AT commands, then either the device is
>> broken or you need some secret sauce to make the device go back to
>> speaking normal AT commands (rather being in "proprietary mode").
>>
>> Additionally, many modems support "profiles" which is a fancy way to say
>> the firmware in the device remembers the settings you previously gave
>> it. Clearing the various types of profiles/settings is often
>> vendor/device specific. Some of the more common AT commands for
>> resetting a device are:
>>
>> B  B  B  B ATZ
>> B  B  B  B AT&F
>> B  B  B  B AT+CFUN=1
>>
>> Since you will need access to a MS-windows system to do the required
>> "activation" nonsense before the device will work with a given providers
>> network, you should look at the device to see what *.inf file is being
>> used to define how the device is controlled.
>>
>> For example, the Pantech (ZTC) UMW190 I have here uses the
>> C:\windows\inf\oem33.inf file as its definition (seeable through device
>> properties or Modem/PPP logging if enabled). Look in said file for the
>> "Reset" entry to figure out the proper AT command..
>>
>> By comparison, Sierra Wireless is one of the most open source friendly
>> of all the "data card" vendors so digging around for their docs or
>> looking how the specific device shows up (number/type of ports) in linux
>> might be real helpful. Dan Williams has done a lot of work on the
>> various "data card" devices in linux, including some degree of reverse
>> engineering of the proprietary protocols which the "unusable" ports
>> typically speak.
>>
>> http://blogs.gnome.org/dcbw/
>>
>>
>> Ya, ya, I know... (insert linux rant), but they do have some good info
>> and it may be helpful.
>>
>> B  B  B  B jcr
>>
>> --
>> The OpenBSD Journal - http://www.undeadly.org
>>
>>
>
> All Ericsson based modems can be reseted with AT+CFUN=1 (or if you
> want you can AT+CFUN=0 to turn it off and then AT+CFUN=4 to turn it on
> in UMTS mode).
> A lot of other cards support this also.
>
> BR
> Dunceor

Reply via email to