Commit Graph

411 Commits

Author SHA1 Message Date
Marcel Holtmann 7d3d52009d Use script to generate list of builtin plugin symbols 2009-08-24 19:05:41 -07:00
Marcel Holtmann d9a2bb1337 Use proper variables for various commands 2009-08-24 18:51:39 -07:00
Andrzej Zaborowski 64ade1c7c8 Fix getting the offset into sms fragment bitmap.
Otherwise only 64 fragments fit.
2009-08-21 19:46:39 -05:00
Denis Kenzior 038251eac5 Introduce the Modem driver API 2009-08-21 19:25:51 -05:00
Denis Kenzior 28b9d5d747 Fix unused variable l 2009-08-20 18:20:14 -05:00
Denis Kenzior e0ff90e6da Rename ofono_modem_*_userdata
Rename ofono_modem_get_userdata to ofono_modem_get_data
Rename ofono_modem_set_userdata to ofono_modem_set_data

For consistency with other drivers
2009-08-20 18:19:21 -05:00
Denis Kenzior 4fac5d1c73 Hide the ofono_modem datastructure 2009-08-20 16:58:01 -05:00
Denis Kenzior ca95c87dae Port history to the new atom API
Use __atom_foreach
2009-08-20 16:29:18 -05:00
Denis Kenzior 2fea7be017 Add __ofono_modem_foreach_atom function 2009-08-20 15:59:50 -05:00
Denis Kenzior b8589c7cdf Fix unused variable modem 2009-08-20 15:39:13 -05:00
Denis Kenzior 919aae6cd9 Fix unused function remove_all_watches 2009-08-20 15:39:13 -05:00
Denis Kenzior 6261b83dbf Fix unused variable modem 2009-08-20 15:39:13 -05:00
Denis Kenzior a81852b761 Remove unused function 2009-08-20 15:39:12 -05:00
Denis Kenzior aa9a0f6072 Remove unused function 2009-08-20 15:39:12 -05:00
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