Commit Graph

15 Commits

Author SHA1 Message Date
Aleksander Morgado
50e9d6fc54 cinterion, wavecom: update copyright info 2011-07-06 09:37:47 +02:00
Aleksander Morgado
34b5635f84 wavecom: enable power-off command to go to sleep/standby mode
AT+CFUN=4 will be used to go to standby mode.
2011-06-22 13:11:38 +02:00
Aleksander Morgado
ab485bd66a wavecom: try to power-up without rebooting
Using AT+CFUN=1,0 so that we request to avoid resetting (<rst>=0). Works
properly when powering up after having put the modem in standby mode with
AT+CFUN=4.

Note that the power-up command will only be sent if the check to see if power-up
is needed requests it.
2011-06-22 13:11:38 +02:00
Aleksander Morgado
255525a5a2 wavecom: do not send power-up command if not needed 2011-06-22 13:11:38 +02:00
Aleksander Morgado
9323daec01 core, plugins: if modem removed don't process response
We try to avoid a memory leak when info->error is reset, as well as a second
re-schedule of the info.
2011-06-05 17:51:00 +02:00
Aleksander Morgado
863dbca631 wavecom: enable usage of MM_MODEM_GSM_BAND_ANY in SetBand() 2011-04-29 12:31:14 +02:00
Aleksander Morgado
765da63ad2 wavecom: set and get bands
Use AT+WMBS for devices in 2G mode, and AT+WUBS for devices in 3G mode.
2011-04-11 10:04:28 +02:00
Aleksander Morgado
d1453b0e19 wavecom: ensure full functionality status
Check the current functionality status with AT+CFUN? and make sure its '1',
otherwise, RF may be switched off.
2011-04-11 10:04:27 +02:00
Aleksander Morgado
e93f01f201 wavecom: set and get allowed mode
For 3G devices in Class A, AT+WWSM can be used to get or set the allowed mode:
 *   +WWSM: 0    (2G only)
 *   +WWSM: 1    (3G only)
 *   +WWSM: 2,0  (Any)
 *   +WWSM: 2,1  (2G preferred)
 *   +WWSM: 2,2  (3G preferred)

For 2G devices, there is no such command, so we will default to Any and allow
2G-only and 2G-preferred setups.
2011-04-11 10:04:27 +02:00
Aleksander Morgado
c7119f0341 wavecom: ensure the modem uses the highest possible mobile class
These modems can be configured to use different mobile classes. For each kind of
modem, the best mobile class is the highest one in the following order:
 - Class A  (3G only mode)
 - Class B  (PS or CS, GPRS/EDGE or GSM)
 - Class CG (PS only, GPRS/EDGE)
 - Class CC (CS only, GSM)
2011-04-11 10:04:27 +02:00
Aleksander Morgado
acf65de3b8 wavecom: query network technology capabilities 2011-04-11 10:04:27 +02:00
Aleksander Morgado
23649549bb wavecom: enable RTS/CTS flow control instead of XOFF/XON 2011-04-11 10:04:27 +02:00
Aleksander Morgado
1fb0b9d79b wavecom: disable default power up command 2011-04-11 10:04:27 +02:00
Aleksander Morgado
262edb96d5 wavecom: handle READY without OK in CPIN? reply 2011-04-11 10:04:27 +02:00
Aleksander Morgado
f91ee7af7d wavecom: add initial dummy plugin 2011-04-11 10:04:27 +02:00