Denis Kenzior
27cfc00eba
Add netreg getter functions
...
- Get Location, CellID
- Current Operator
- Registration Status
- Technology
2009-09-10 18:19:48 -05:00
Denis Kenzior
422df0edfb
change int vendor to unsigned int vendor
2009-09-01 21:39:02 -05:00
Denis Kenzior
271b042488
Add vendor flag capability to netreg
2009-09-01 18:14:58 -05:00
Aki Niemi
4148f82e4e
Fix typo in technology name
2009-08-25 10:47:19 +03:00
Denis Kenzior
5b1f5ba084
Evolve the netreg driver
2009-08-19 18:35:07 -05:00
Denis Kenzior
3f17e3eb79
Update network registration to the new SIM API
2009-08-19 18:35:07 -05:00
Denis Kenzior
f59aab7f15
Fix whitespace and style issues
2009-08-19 18:35:06 -05:00
Denis Kenzior
95573a4d8d
Move network-operator status enum out of common.h
2009-08-17 15:32:34 -05:00
Denis Kenzior
07cca7ab13
Quiet an error if a modem is removed quickly
2009-08-07 20:11:34 -05:00
Denis Kenzior
6db2762d75
Fix segfault upon modem removal due to g_source
...
Network registration was not removing operator list scan g_source,
which was causing a crash in one of two potential places.
2009-08-07 20:06:05 -05:00
Denis Kenzior
f12af3728c
Re-enable reading of SPN & PNN on phonesim
2009-08-07 19:51:29 -05:00
Denis Kenzior
a7cfcae752
Fix trailing whitespace
2009-08-06 17:24:46 -05:00
Denis Kenzior
ba8ef5c3e4
Fix segfault when pnn record doesn't exist
2009-08-04 15:08:08 -05:00
Marcel Holtmann
bbc2a56986
Fix over-complicated code flow that results in uninitialized variables
2009-08-03 11:20:46 -07:00
Andrzej Zaborowski
fbec2de660
Make sure SIM read callbacks die cleanly.
2009-08-03 12:43:32 -05:00
Denis Kenzior
3e6d4237cb
Remove all uses of modem.h
2009-07-29 16:53:19 -05:00
Denis Kenzior
19eeb7f1ba
Rename modem_add_interface / modem_remove_interface
...
Move to ofono_modem_add_interface, ofono_modem_remove_interface
and put in ofono/modem.h
2009-07-29 16:44:16 -05:00
Denis Kenzior
54816de04d
Get rid of dbus-gsm.h
2009-07-29 12:26:06 -05:00
Denis Kenzior
9cd9338ba1
Rename dbus_gsm_dict_append_array
2009-07-29 12:26:05 -05:00
Denis Kenzior
6728542a01
Rename dbus_gsm_dict_append
2009-07-29 12:26:05 -05:00
Denis Kenzior
d9025e13e1
Move & Rename PROPERTIES_ARRAY_SIGNATURE
2009-07-29 12:26:05 -05:00
Denis Kenzior
55787fe876
Rename dbus_gsm_signal_array_property_changed
2009-07-29 12:26:05 -05:00
Denis Kenzior
684b5be1fc
Rename dbus_gsm_signal_property_changed
2009-07-29 12:26:05 -05:00
Denis Kenzior
00fb6cce62
Rename dbus_gsm error functions to __ofono_error
2009-07-29 12:26:05 -05:00
Denis Kenzior
1426d84ad7
Get rid of dbus_gsm_free_string_array
...
Use g_strfreev instead.
2009-07-29 12:26:04 -05:00
Denis Kenzior
99c1c92708
Move & Rename dbus_gsm_connection
...
Move to ofono/dbus.h ofono_dbus_get_connection
2009-07-29 12:26:04 -05:00
Andrzej Zaborowski
35c48071f8
Use registration status constants consistently.
2009-07-17 23:48:29 -05:00
Andrzej Zaborowski
a5bcab7564
Don't dereference before the null check.
2009-07-17 23:48:29 -05:00
Andrzej Zaborowski
da0bdb1cbf
Clean-up in sim.c.
2009-07-17 23:48:29 -05:00
Andrzej Zaborowski
983d16ca37
Make PNN / OPL work.
2009-07-17 23:48:28 -05:00
Denis Kenzior
f574b5a075
Fix uninitialized warning
2009-07-15 12:10:02 -05:00
Denis Kenzior
c0862b7553
Refactor how EONS is used
2009-07-14 15:45:06 -05:00
Denis Kenzior
d938e7f300
This function now uses on network_operator_data
2009-07-14 15:45:06 -05:00
Denis Kenzior
8129119d61
Refactor Network Registration for EONS capability
2009-07-14 15:45:06 -05:00
Denis Kenzior
864e09481c
Get rid of some div by zero errors
2009-07-14 15:45:06 -05:00
Denis Kenzior
0fa6897213
Refactor OPL code
2009-07-14 15:45:05 -05:00
Denis Kenzior
f5e9b2147a
Fix CellId data type to be uint32 as intended
2009-07-14 15:45:05 -05:00
Denis Kenzior
5ea1326b00
Move SPDI to network.c
2009-07-14 15:45:05 -05:00
Denis Kenzior
f2440ebd82
Preserve PNN order
2009-07-14 15:45:05 -05:00
Denis Kenzior
382e39ec53
Move SPN reading to network.c
2009-07-14 15:45:05 -05:00
Denis Kenzior
82ede4d647
Move PNN reading to network.c
2009-07-14 15:45:05 -05:00
Andrzej Zaborowski
98a4308b30
Read EF-PNN, EF-OPL and override network names accordingly.
2009-07-14 15:45:03 -05:00
Denis Kenzior
35f7c4b068
Fix status of operator unknown case
...
When the current operator is reported, it's status is listed as
unknown if no other operators are in the operator list
2009-07-07 14:33:59 -05:00
Yang Gu
8f737d8699
Add E-UTRAN as access technology of network op
2009-06-25 11:45:29 -05:00
Denis Kenzior
8199937bb5
Fix when the same operator reported multiple times
2009-06-23 10:25:32 -05:00
Andrzej Zaborowski
6ee516ac09
Read EF-SPDI and use it for SPN display.
...
When the operator is one of those listed in EF-SPDI then we need to
treat it like a HPLMN in deciding whether the SPN or PLMN name should
be displayed.
2009-06-22 13:22:14 -05:00
Denis Kenzior
3c27dae5e8
Fixup style issues with previous MCC/MNC patch
...
- Breakup MCC/MNC LENGTH constant
- Don't hardcode numbers
- Fix >80 column length
- Fix test case to expect strings instead of shorts
2009-06-12 19:33:55 -05:00
Aki Niemi
ba8828c095
Change MNC and MCC variable types to string
...
This is to make sure both 2 and 3-digit MNC values are correctly
handled. Both the modem plugin API as well as the D-Bus API are
affected.
2009-06-12 11:01:19 -05:00
Denis Kenzior
99456167ab
Don't emit the Operator changed if not registered
...
SPN Update emits the Operator property changed signal. However,
this should not happen if there is no current operator
2009-05-28 20:37:24 -05:00
Denis Kenzior
7bd558c788
Fix a few style issues
2009-05-28 18:29:05 -05:00