Denis Kenzior
ec3e0f5ce5
Fix implicit declaration of extract_bcd_number
2009-08-20 15:39:12 -05:00
Denis Kenzior
552351e252
Fix unused variable path
2009-08-20 15:39:12 -05:00
Denis Kenzior
191c521f9d
Fix unused variable l
2009-08-20 15:39:12 -05:00
Denis Kenzior
e711b0e62a
Break out device info into a separate driver
...
The modem info ops (Serial, Manufacturer, etc) are broken into a
separate oFono atom. This is mainly to support a proper modem device
driver infrastructure. As a result the data structures have been
tweaked a little.
driver.h is now empty and has been removed.
2009-08-20 12:48:29 -05:00
Denis Kenzior
7abeb8e4a0
Use types.h instead of driver.h here
2009-08-20 12:48:28 -05:00
Denis Kenzior
8bbd68b2fd
Remove unused variables
2009-08-20 12:48:28 -05:00
Denis Kenzior
3f76bbf782
Emit the DisconnectReason signal
2009-08-19 18:35:08 -05:00
Denis Kenzior
d704ba7fc2
Make sure call history handles waiting calls
...
Missed waiting calls were not being handled properly
2009-08-19 18:35:08 -05:00
Denis Kenzior
04c12038ba
Evolve the voicecall driver
2009-08-19 18:35:08 -05:00
Denis Kenzior
5b1f5ba084
Evolve the netreg driver
2009-08-19 18:35:07 -05:00
Denis Kenzior
a5617250a1
Move mcc & mnc defines to types.h
2009-08-19 18:35:07 -05:00
Denis Kenzior
99cf14efcf
Refine errors returned by message-waiting
...
If we have not initialized fully yet, return sim_not_ready error.
If we couldn't read EFmbi or not able to stat EFmbdn size properly, then
set mbdn_not_present to TRUE and always return not_supported error
2009-08-19 18:35:07 -05:00
Denis Kenzior
5999b418e8
Evolve message waiting low level API
2009-08-19 18:35:07 -05:00
Denis Kenzior
a45007f91d
Add a new SIM not ready error
2009-08-19 18:35:07 -05:00
Denis Kenzior
2b7cd7dede
Update voicecalls to the new SIM API
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
2bf3e20d48
Update message waiting to the new SIM API
2009-08-19 18:35:06 -05:00
Denis Kenzior
f19d0cba4e
Remove traces of sim_manager from modem.c
2009-08-19 18:35:06 -05:00
Denis Kenzior
5e72405120
Evolve SIM driver
2009-08-19 18:35:06 -05:00
Denis Kenzior
3b043e9b1a
Move ofono_destroy_fun to types.h
2009-08-19 18:35:06 -05:00
Denis Kenzior
1cd48d1abe
Remove unneeded variable
2009-08-19 18:35:06 -05:00
Denis Kenzior
232e34bca9
Fix cut and paste error
2009-08-19 18:35:06 -05:00
Denis Kenzior
f59aab7f15
Fix whitespace and style issues
2009-08-19 18:35:06 -05:00
Denis Kenzior
56e97cb406
Refactor ECC: Free the new_en_list
...
Avoid a potential memory leak in case the interface is removed during
the SIM read operation.
2009-08-19 18:35:06 -05:00
Denis Kenzior
c4a349fdf9
Evolve SMS driver API
2009-08-19 18:35:06 -05:00
Denis Kenzior
21588cc5f8
Remove the use of driver.h
2009-08-17 17:14:01 -05:00
Denis Kenzior
60988bed9d
Remove unused header
2009-08-17 17:12:12 -05:00
Denis Kenzior
56f1e412a0
Make distcheck happy
2009-08-17 17:08:03 -05:00
Denis Kenzior
a3d9123ca0
Refactor ECC Support: Update when EFecc is read
...
We should start with a default set of ECC numbers which are always
available according to 22.101, even if no SIM present. Then when
EFecc is read, we update the EmergencyNumbers property. According to
22.101 the 112 and 911 numbers must always be available. Since these
numbers can also be stored on the SIM itself, we must avoid duplication.
2009-08-17 17:06:38 -05:00
Denis Kenzior
2ebef58855
Refactor ECC Support: Don't bother with g_source
...
Don't bother playing the g_source tricks for EmergencyNumbers property
changed signal emission. The list is not bound to change more than
once.
2009-08-17 16:03:01 -05:00
Denis Kenzior
2e432b6ca0
Refactor ECC Support: Free in right spot
...
The freeing of the emergency list should be in voicecalls_destroy
function, where the rest of the datastructure is being freed
2009-08-17 16:02:53 -05:00
Yang Gu
5a0d8709af
Support emergency numbers
2009-08-17 15:51:40 -05:00
Denis Kenzior
72182c2e8f
Get rid of unused enum
2009-08-17 15:33:50 -05:00
Denis Kenzior
95573a4d8d
Move network-operator status enum out of common.h
2009-08-17 15:32:34 -05:00
Denis Kenzior
00f606b3e8
Move colr-status enum out of common.h
2009-08-17 15:31:46 -05:00
Denis Kenzior
29c122a9a9
Move colp-status enum out of common.h
2009-08-17 15:31:17 -05:00
Denis Kenzior
f989e7844d
Move clip-status enum out of common.h
2009-08-17 15:30:34 -05:00
Denis Kenzior
1e6bdb36ec
Move clir-status enum out of common.h
2009-08-17 15:29:01 -05:00
Denis Kenzior
fe2dc0292c
Move ussd-status enum out of common.h
2009-08-17 15:27:04 -05:00
Denis Kenzior
75510e7cd5
Move call-forwarding-type enum out of common.h
2009-08-17 15:26:24 -05:00
Denis Kenzior
21b032d3f1
Fix invalid watch id being returned the first time
...
Should use pre-increment instead of post increment
2009-08-17 15:23:39 -05:00
Denis Kenzior
255c6ba0d9
Cleanup atom watches properly
2009-08-17 15:14:05 -05:00
Denis Kenzior
6d5090eafa
Cleanup SSC entries if USSD exits first
2009-08-17 15:08:48 -05:00
Denis Kenzior
5abd3c14d8
Port call-settings to the new USSD API
2009-08-17 15:08:48 -05:00
Denis Kenzior
91789b2680
Port call-forwarding to new USSD API
2009-08-17 15:08:48 -05:00
Denis Kenzior
c4d9393fa3
Get rid of unneeded variable
2009-08-17 15:08:48 -05:00
Denis Kenzior
65eb5e2089
Refactor call barring to the new USSD API
2009-08-17 15:08:48 -05:00
Denis Kenzior
d5339edc44
Refactor supplementary service control strings
...
The registration was done by using the storage in the modem. Refactored
to use the new atom watch APIs and storing the control entries in the
ussd atom itself
2009-08-17 15:08:43 -05:00
Denis Kenzior
229bb3a4ed
Evolve the USSD API
2009-08-17 13:45:55 -05:00
Denis Kenzior
5fdc6fd395
Get rid of unused functions
2009-08-17 11:38:36 -05:00
Marcel Holtmann
6d73540f22
Use $(AM_V_GEN) for symbol export generation
2009-08-16 14:51:40 -07:00
Denis Kenzior
314c0facc3
Refactor cssn into ofono_ssn
...
Make this into a fully fledged entity, with a driver instead of the
current kludge. This means modem drivers can actually choose whether
to instantiate a CSSN atom or not
Move the notification functions from voicecall.c into ssn.c.
Move the cssn.h header into include/ssn.h and refactor
Update call barring to utilize ofono_ssn and use the new atom_watch
functionality to detect when ssn has been added or removed
2009-08-14 18:49:01 -05:00
Denis Kenzior
6482d98e56
Add atom get_registered function
2009-08-14 18:47:12 -05:00
Denis Kenzior
e36c8b1d5d
Follow the more common glib convention for destroy
2009-08-14 17:06:59 -05:00
Yang Gu
3c6b6b908f
Remove trailing whitespace
2009-08-14 16:35:34 -05:00
Denis Kenzior
c48e739669
Fix whitespace issue
2009-08-14 16:35:02 -05:00
Denis Kenzior
9ca3c0e321
Utilize call_watches
2009-08-14 16:33:48 -05:00
Denis Kenzior
99e3fe8285
Move CALL_SETTINGS_INTERFACE define to dbus.h
2009-08-14 16:33:48 -05:00
Denis Kenzior
ed1720ea36
Move PHONEBOOK_INTERFACE define to dbus.h
2009-08-14 16:33:48 -05:00
Denis Kenzior
b82042c5e9
Move CALL_METER_INTERFACE define to dbus.h
2009-08-14 16:33:48 -05:00
Denis Kenzior
f82b9a32fd
Move CALL_FORWARDING_INTERFACE define to dbus.h
2009-08-14 16:33:48 -05:00
Denis Kenzior
ae4ea4cd5e
Move CALL_BARRING_INTERFACE definition to dbus.h
2009-08-14 16:33:48 -05:00
Denis Kenzior
2da0fc6070
Add call_watches utility
2009-08-14 16:33:48 -05:00
Denis Kenzior
c1c04e8c8d
Add atom_watch functions
2009-08-14 16:33:43 -05:00
Denis Kenzior
c5f3388c36
Use atom's modem in phonebook
2009-08-14 16:31:48 -05:00
Denis Kenzior
fff46fd758
Use atom's modem storage in call settings
2009-08-14 16:31:48 -05:00
Denis Kenzior
3e50c22f57
Use atom's modem in call meter
2009-08-14 16:31:48 -05:00
Denis Kenzior
8a64f93f30
Use atom's modem in call-forwarding
2009-08-14 16:31:48 -05:00
Denis Kenzior
31a940825b
Use atom's modem storage in call barring
2009-08-14 16:31:48 -05:00
Denis Kenzior
9ad3ad6664
Update to use the new atom_free API
2009-08-14 16:31:46 -05:00
Denis Kenzior
6119c08c28
Rework ofono_modem_remove_atom
...
Change to ofono_atom_free since the atom now carries all necessary
information about the modem it is attached to
2009-08-14 16:31:34 -05:00
Denis Kenzior
9020b1dc7e
Add getter functions for atoms
2009-08-14 16:24:46 -05:00
Denis Kenzior
a6ef7f8711
Sanity check the atom register/unregister funcs
2009-08-14 15:15:06 -05:00
Denis Kenzior
622221e90f
Fix passing in modem where call_barring expected
2009-08-14 15:15:06 -05:00
Denis Kenzior
ecdfbebc51
Evolve the phonebook driver
2009-08-14 11:19:10 -05:00
Denis Kenzior
0e3cc07966
Remove defunct pointer to call waiting data
...
Doesn't exist anymore
2009-08-14 11:19:10 -05:00
Denis Kenzior
04926379e5
Evolve call settings driver
2009-08-14 11:19:10 -05:00
Denis Kenzior
6342e1b2dc
Move clir and cug option enums to types.h
2009-08-14 11:19:10 -05:00
Denis Kenzior
521039596a
Evolve the call meter driver API
2009-08-14 11:19:09 -05:00
Denis Kenzior
872a24690d
Evolve the call-forwarding driver
2009-08-14 11:19:09 -05:00
Denis Kenzior
67e19dc14c
Evolve the call-barring driver
...
- Move call barring related functionality out of driver.h into a
dedicated file, call-barring.h
- Update to use the new atom framework
- Remove over-reliance on the modem structure, call-barring structure
should now be used instead whenever possible
2009-08-14 11:19:09 -05:00
Denis Kenzior
01b4c49447
Move certain parts of driver.h to types.h
2009-08-13 10:08:32 -05:00
Denis Kenzior
03e90fff16
Add ofono atom routines
2009-08-13 10:08:32 -05:00
Denis Kenzior
00482e341e
Make ss_passwd_register slightly more efficient
2009-08-13 10:08:32 -05:00
Denis Kenzior
6f8acce8ec
Make ss_control_register slightly more efficient
2009-08-13 10:08:32 -05:00
Denis Kenzior
b1d0bda4b3
Always output useable FN in VCard
...
If text is NULL or empty, use the number field for the FN VCard entry
instead.
2009-08-12 19:49:23 -05:00
Denis Kenzior
715067d38d
Fix a segfault in need_merge
2009-08-12 19:49:23 -05:00
Denis Kenzior
70b758f8be
Bail out early if text & number are empty
2009-08-12 19:49:23 -05:00
Marcel Holtmann
5641f1974a
Fix comment
2009-08-12 17:40:41 -07:00
Marcel Holtmann
08f6629d60
Add function for printing warnings
2009-08-12 17:33:44 -07:00
Denis Kenzior
19858da361
Fix compile warning
2009-08-08 22:39:50 -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
b951aa9a32
Refactor SIM file cache
2009-08-07 19:51:30 -05:00
Denis Kenzior
f12af3728c
Re-enable reading of SPN & PNN on phonesim
2009-08-07 19:51:29 -05:00
Denis Kenzior
2cfd8a9894
Make the sim op queue have a removable gsource
2009-08-07 19:51:29 -05:00
Denis Kenzior
32e4232b7c
Don't use g_timeout_add to retrieve imsi
2009-08-07 19:51:29 -05:00
Denis Kenzior
055c5c7450
No need to use g_timeout_add here
2009-08-07 19:51:23 -05:00
Denis Kenzior
fef502bab2
No need to use g_timeout_add here
2009-08-07 17:40:54 -05:00
Denis Kenzior
f8d5b16e4e
No need to use g_timeout_add here
2009-08-07 17:36:26 -05:00