Marcel Holtmann
8da7e98ce4
atmodem: Enable time zone reporting for Option modems
2010-10-25 02:03:00 +02:00
Marcel Holtmann
033c772e7b
atmodem: Enable time update reporting for MBM modems
2010-10-24 21:48:56 +02:00
Marcel Holtmann
cf2ba64872
atmodem: Parse optional PLMN parameter of AT+COPS=? result
...
The Infineon modem adds an optional <plmn_list> parameter after the
access technology parameter <AcT>. It is not always present, but when
present it makes the operator listing fail.
+COPS: (2,"T-Mobile D","TMO D","26201",0,0),(3,"E-Plus","E-Plus","26203",0,),(3,"Vodafone.de","Vodafone.de","26202",0,),(3,"o2 - de","o2 - de","26207",0,)
Not all networks have this parameter and maybe only the home network
has it anyway. And so far this feature seems to be Infineon specific,
but just in case, parse the parameter if present to make sure the
operator listing is available.
2010-10-22 01:00:58 +02:00
Marcel Holtmann
040a34cad2
atmodem: Decode and report time information from network
2010-10-20 13:55:20 +02:00
Marcel Holtmann
98eed08d29
atmodem: Add skeleton for time update reporting
2010-10-20 13:27:04 +02:00
Marcel Holtmann
2be1c13dbb
atmodem: Add special handling of Infineon signal strength reporting
...
The custom signal strength reporting could be done inside the modem
plugin actually, but Calypso, Huawei etc. add quirks to the generic
network registration driver. So for now do it the same way until
this gets cleaned up for all modem plugins.
2010-09-24 18:23:31 +09:00
Marcel Holtmann
1313a2fe01
atmodem: Fix copy and paste typo
2010-08-20 16:53:07 +02:00
Marcel Holtmann
cda0fd9eff
atmodem: Enable MBM specific notification for registration and bearer
2010-08-20 16:50:42 +02:00
Marcel Holtmann
3aa7e1b18e
atmodem: Add really nasty hack for Nokia AT+COPS bug
...
The Nokia modem returns an invalid response when trying to read the
numeric value for MCC/MNC of the current network.
Control:> AT+COPS?\r
Control:< \r\n+COPS: 0,2,"26207,0\r\n\r\nOK\r\n
The closing " is just missing and this confuses the AT parser. In case
of a Nokia modem skip reading the numerical values for the network.
2010-08-20 03:00:49 +02:00
Marcel Holtmann
667c4eea84
atmodem: No CIND for Nokia data cards
2010-08-20 02:24:53 +02:00
Marcel Holtmann
a8d3e7433a
atmodem: Remove useless NULL checks before g_free
2010-08-16 22:02:01 +02:00
Marcel Holtmann
83a04505bf
netreg: Add quirk for ZTE modem without CIND support
2010-08-16 15:14:17 +02:00
Denis Kenzior
ac524be99f
atmodem: Use g_at_chat_clone
2010-08-12 16:40:40 -05:00
Denis Kenzior
7f1a923ebf
hso: Don't query tech if not registered or roaming
...
{NetworkRegistration} [/hso0] LocationAreaCode = 34591
{NetworkRegistration} [/hso0] CellId = 5903759
{NetworkRegistration} [/hso0] Strength = 32
{NetworkRegistration} [/hso0] Strength = 22
{PrimaryDataContext} [/hso0/primarycontext1] Settings =
dbus.Dictionary({}, signature=dbus.Signature('sv'), variant_level=1)
{PrimaryDataContext} [/hso0/primarycontext1] Active = 0
{DataConnectionManager} [/hso0] Attached = 0
{NetworkRegistration} [/hso0] Status = searching
{NetworkRegistration} [/hso0] Technology = umts <--- Oops
{NetworkOperator} [/hso0/operator/26201] Status = available
{NetworkRegistration} [/hso0] Name =
{NetworkRegistration} [/hso0] Status = registered
{NetworkRegistration} [/hso0] LocationAreaCode = 35342
{NetworkRegistration} [/hso0] CellId = 5903759
{NetworkRegistration} [/hso0] Technology = edge
2010-06-24 20:54:36 -05:00
Denis Kenzior
5a1c7eef08
atmodem: Couple tiny style fixes
2010-06-14 12:46:11 -05:00
Daniel Wagner
b7401489b5
Report cell technology capability for Option HSO modems
...
Option modem use OCTI and OUWCTI commands
for reporting the cell capability.
2010-06-14 12:46:11 -05:00
Denis Kenzior
588b689d2b
netreg: whitespace style
2010-06-07 19:06:57 -05:00
Denis Kenzior
6a480bb861
netreg: Add Huawei RSSI unsolicited callback
2010-06-07 19:06:36 -05:00
Denis Kenzior
11c8156543
atmodem: Optimize cops queries
...
This patch is meant to do two things:
- Some modems, like the Novatel, report bogus operator information when
not registered, as opposed to simply returning empty strings. In this
case we're a little bit more explicit about checking the returned
mcc/mnc string
- If we determine that the mcc/mnc string is bogus, we don't schedule
the alphanumeric cops query and return early.
2010-06-07 12:57:50 -05:00
Marcel Holtmann
f1c209d973
Move AT_ODO quirk into HSO driver instead of network registration
2010-06-06 15:27:34 -07:00
Marcel Holtmann
45bf4cf396
Add support for handling CNTI=0 request with Novatel devices
2010-06-06 13:12:37 -07:00
Denis Kenzior
2b1c433daa
hso: Enable OUWCTI notifications
2010-06-04 14:21:58 -05:00
Marcel Holtmann
50a7d3d741
Send OWCTI query when bringing up Option based devices
2010-06-04 12:17:35 -07:00
Marcel Holtmann
1f5432abd6
Use AT_OUWCTI instead of AT_OWCTI as expected
...
The Option firmware is so funny. It has a typo in the AT command :)
2010-06-04 12:13:27 -07:00
Marcel Holtmann
a4fda8a378
Enable Option specific OWCTI unsolicited notifications
2010-06-04 12:08:21 -07:00
Marcel Holtmann
22d0cc7df2
Add special quirk for Novatel based devices
2010-06-03 01:20:47 -07:00
Denis Kenzior
96480e44b2
netreg: Fix crash when CREG is reported too early
...
If we register for CREG notifications before the netreg atom is
registered (e.g. in MBM due to CIND queries) we crash if the CREG
notification arrives before the CIND is queried.
2010-05-19 23:33:17 -05:00
Kalle Valo
36e9803cdc
huawei: add gprs context
...
Tested with Huawei E1552 HSDPA USB stick using a finnish Saunalahti prepaid
SIM.
2010-05-19 23:09:21 -05:00
Kalle Valo
bf5b31e8a8
Move report_signal_strength to atutil
...
The function is needed in two different places, better to move it
to atutil.h.
2010-05-19 23:08:36 -05:00
Denis Kenzior
022359ba72
Style: braces are not needed
2010-03-29 00:18:04 -05:00
Denis Kenzior
1fb6801672
Fix: Use tech reported by MBM erinfo
2010-03-29 00:09:10 -05:00
Denis Kenzior
5780fdb51f
Fix: Handle 2 and 3 argument versions of ERINFO
2010-03-28 23:58:37 -05:00
Denis Kenzior
21dd4f040a
Move erinfo notify to atmodem netreg driver
2010-03-28 23:49:57 -05:00
Denis Kenzior
8b33129bac
Add phonesim vendor quirk
2010-03-26 23:00:28 -05:00
Denis Kenzior
14f296075e
Refactor: Use CIND as default strength reporting
...
Many vendors seem to use CIND instead of CSQ / proprietary extensions.
2010-03-26 23:00:28 -05:00
Denis Kenzior
c98b951fe6
Refactor: Remove atutil dump_response
...
No longer needed now that we have nice AT command tracing using
OFONO_AT_DEBUG=1
2010-02-08 12:28:23 -06:00
Denis Kenzior
7f9a9b0cdc
Fix: Don't use ofono_debug directly in plugins
2010-02-08 12:09:01 -06:00
Denis Kenzior
1721f81fe9
Fix: Use snprintf instead of sprintf in atmodem
2010-02-05 11:59:24 -06:00
Sjur Brændeland
040e799665
Add STE modem support for GPRS and network registration
2010-01-25 20:55:10 +01:00
Jussi Kukkonen
ebe8904f39
Add quirk for cid and lac handling for Huawei
2010-01-20 10:09:54 -06:00
Marcel Holtmann
144080e749
Update copyright information
2010-01-01 17:00:10 -08:00
Marcel Holtmann
b939d5e8d7
Activate Speech Service for Option devices
2009-12-10 02:56:16 +01:00
Marcel Holtmann
7546557469
Query current state of Option specific settings
2009-12-10 02:55:53 +01:00
Denis Kenzior
62ba3b30d2
Use at_util_parse_reg in netreg driver
2009-12-09 12:50:52 -06:00
Denis Kenzior
7c7f265ebc
Add experimental Option tech parsing
...
Option seems to implement their own commands for network technology
reporting. This is a first attempt to implement this for data gathering
purposes.
2009-12-07 17:14:57 -06:00
Denis Kenzior
5b12b25ce6
Add support for HSO signal quality reporting
2009-12-07 17:14:41 -06:00
Denis Kenzior
ddad4d8067
Refactor: Calypso unsolicited signal strength
2009-12-07 17:14:40 -06:00
Denis Kenzior
cbebad0cc7
Fix: Report the current operator as current
2009-11-18 13:02:02 -06:00
Denis Kenzior
95aafed445
Fix: Set data to NULL in drivers
2009-11-11 15:59:01 -06:00
Andrzej Zaborowski
49c2f7b2e7
Fix: Don't bail if CREG/CGREG mode=2 is unsupported
2009-11-10 12:40:21 -06:00