Commit Graph

548 Commits

Author SHA1 Message Date
Aleksander Morgado
205313b783 option: start porting the Option plugin 2012-03-16 14:28:14 +01:00
Aleksander Morgado
725745399a generic: new Generic-specific source directory 2012-03-16 14:28:14 +01:00
Aleksander Morgado
ab3d537416 motorola: fully ported the moto-c plugin 2012-03-16 14:28:14 +01:00
Aleksander Morgado
d255902f9b gobi: remove old sources, plugin fully ported 2012-03-16 14:28:14 +01:00
Aleksander Morgado
ecc5b4f260 gobi: new Gobi-specific source directory 2012-03-16 14:28:14 +01:00
Aleksander Morgado
d09dfbb7d1 gobi: access technology loading implementation 2012-03-16 14:28:14 +01:00
Aleksander Morgado
39eaeb2c4e nokia: new Nokia-specific source directory 2012-03-16 14:28:14 +01:00
Aleksander Morgado
213706c503 cinterion: remove old sources, plugin fully ported 2012-03-16 14:28:13 +01:00
Aleksander Morgado
a9c406e3c0 cinterion: new Cinterion-specific source directory 2012-03-16 14:28:13 +01:00
Aleksander Morgado
fdddafd1ca iridium: new Iridium-specific source directory 2012-03-16 14:28:13 +01:00
Aleksander Morgado
bf7d0c712f cinterion: implement frequency band setting 2012-03-16 14:28:13 +01:00
Aleksander Morgado
91416a3e3d cinterion: implement current band list loading 2012-03-16 14:28:13 +01:00
Aleksander Morgado
76e52236a4 iridium: create a MMBearerIridium 2012-03-15 14:15:08 +01:00
Aleksander Morgado
6d8404a6ab iridium: implement custom SMS indication enabling 2012-03-15 14:15:08 +01:00
Aleksander Morgado
4e55b16f9a iridium: close and open the port during disconnection
The Iridium modem doesn't seem to like only the port flashing during the
disconnection, so we fully close and open again the port.
2012-03-15 14:15:08 +01:00
Aleksander Morgado
b14bf797f1 iridium: override generic initialization
We must send ATZ alone and once reply received, wait some time before sending
the next initialization commands. Otherwise, the next commands will receive
garbage as reply. The only way to handle this is to override the whole generic
initialization phase.
2012-03-15 14:15:08 +01:00
Aleksander Morgado
7e31470066 iridium: set bearer service type to 9600bps V.110 2012-03-15 14:15:07 +01:00
Aleksander Morgado
4492adae2e iridium: allow up to 200s to get a proper IP connection 2012-03-15 14:15:07 +01:00
Aleksander Morgado
447d8a230d iridium: new MMBearerIridium 2012-03-15 14:15:07 +01:00
Aleksander Morgado
022272f88c iridium: allow only up to 3 consecutive timeouts 2012-03-15 14:15:07 +01:00
Aleksander Morgado
060ca3ff49 iridium: set baudrate to 9600 bps
This will be set after flashing the port during modem enabling.
2012-03-15 14:15:07 +01:00
Aleksander Morgado
1357880686 iridium: only CS mode supported by the Iridium modems 2012-03-15 14:15:07 +01:00
Aleksander Morgado
b57d32acbe iridium: don't try to scan for networks
The Iridium network will be the only one reported in the scan results.
2012-03-15 14:15:07 +01:00
Aleksander Morgado
35f0b773ef iridium: implement specific operator name and code retrieval 2012-03-15 14:15:07 +01:00
Aleksander Morgado
1bcecc9e1d iridium: use +CSQF to get signal quality 2012-03-15 14:15:07 +01:00
Aleksander Morgado
50c5d69be6 iridium: use SM storage for mem1, mem2 and mem3 2012-03-15 14:15:07 +01:00
Aleksander Morgado
2a351a6910 iridium: don't try to load SIM identifier or operator info 2012-03-15 14:15:07 +01:00
Aleksander Morgado
789cf58ace iridium: setup RTS/CTS flow control 2012-03-15 14:15:07 +01:00
Aleksander Morgado
8456dae53d iridium: no need to power up/down the modem 2012-03-15 14:15:07 +01:00
Aleksander Morgado
64542961a3 iridium: start porting the Iridium plugin to the '06-api' codebase 2012-03-15 14:15:07 +01:00
Aleksander Morgado
5589df8946 cinterion: implement custom SMS indication enabling 2012-03-15 14:15:06 +01:00
Aleksander Morgado
8b7b614105 core: rework port grabbing and organization
Make port roles more flexible.  We have modems that do PPP
on interfaces other than the primary interface, and that
wasn't possible with the old code.  So clean up all that
logic and move the port organization code into the core
so we can reduce code in the plugins.

In the new world order, the plugins say whether the port
is a QCDM port, an AT port, or ignored.  If it's an AT
port the plugins get to tag it as primary, secondary, or
PPP, or any combination of the 3.  This allows for modems
where PPP should really be done on the secondary port
(Huawei E220, Sierra devices) so that the primary port
stays open for command and status.

After all ports are grabbed by the generic classes, they get
"organized", which assigns various ports to the roles of
PRIMARY, SECONDARY, DATA, and QCDM based on specific rules
and hints that the plugin provided (which are expressed as
MMAtPortFlags).

The plugin code is responsible for determining the port
hints (ie MMAtPortFlags) at probe time, instead of having
a combination of the plugin and the modem class do the
job.  This simplifies things greatly for the plugins at
the expense of more complicated logic in the core.

This is the port of commit 96505d42ed62327101dcee7c2bf31177b0bb1c9f
to the 06-api branch.
2012-03-15 14:15:05 +01:00
Aleksander Morgado
8c8e5efa14 cinterion: SMS storage mem3 doesn't support 'ME' 2012-03-15 14:15:03 +01:00
Aleksander Morgado
a826e7c8ae cinterion: fix power down sequence
Need to complete the operation result at some point!
2012-03-15 14:15:02 +01:00
Aleksander Morgado
a8ca3df9be plugins: always set a proper error domain in GErrors 2012-03-15 14:15:00 +01:00
Aleksander Morgado
18531e5a2d cinterion: implement supported bands loading logic 2012-03-15 14:14:56 +01:00
Aleksander Morgado
45ca92ee2e cinterion: implement allowed modes setting logic 2012-03-15 14:14:56 +01:00
Aleksander Morgado
a6301ee0c4 cinterion: implement access technology loading logic 2012-03-15 14:14:56 +01:00
Aleksander Morgado
6d5c98b30c cinterion: implement custom unsolicited events enabling command 2012-03-15 14:14:56 +01:00
Aleksander Morgado
15f2c56f89 cinterion: avoid after-power-up step
Split the after power up step into:
 * querying supported functionality status during the first power-down request.
 * querying supported networks during supported modes loading.
2012-03-15 14:14:51 +01:00
Aleksander Morgado
771e3c4ff7 nokia: plugin fully ported to the new codebase 2012-03-15 14:14:50 +01:00
Aleksander Morgado
983f081f30 nokia: include port type hints
Ported commit 44194ac to the new codebase.
2012-03-15 14:14:50 +01:00
Aleksander Morgado
c0e0649a82 core,plugins: handle missing `last_command' flags
These didn't get compilation errors when `MMBaseModemAtResponseProcessor'
was changed, as we're doing an explicit casting.
2012-03-15 14:14:50 +01:00
Dan Williams
ded020efeb gobi: ensure QCDM ports are correctly grabbed
Need to suggest that it's QCDM since the MMPortProbe stuff
doesn't get passed through to mm_base_modem_grab_port() so
we can't detect QCDM ports automatically there.
2012-03-15 14:14:48 +01:00
Dan Williams
0ccfcbd986 gobi: port to 06-api 2012-03-15 14:14:48 +01:00
Aleksander Morgado
41bf841334 generic: allow QCDM ports 2012-03-15 14:14:42 +01:00
Aleksander Morgado
7b506bc8a6 iface-modem: renamed modem_flow_control' to setup_flow_control'
Changed broadband modem and Cinterion plugin accordingly.
2012-03-15 14:14:40 +01:00
Aleksander Morgado
0384483121 nokia: start porting the Nokia plugin to the new codebase 2012-03-15 14:14:33 +01:00
Aleksander Morgado
88cc35b850 cinterion: ignore non-AT ports 2012-03-15 14:14:33 +01:00
Aleksander Morgado
71bf6b0048 cinterion: start porting features from the old implementation
Currently ported:
 * Power Down
 * Flow control
 * After power up setup:
   ** Available functionality status
   ** Supported networks
2012-03-15 14:14:31 +01:00