summaryrefslogtreecommitdiffstats
path: root/src/modem.c
AgeCommit message (Collapse)AuthorFilesLines
2009-11-26Fix: Reset call_ids when modem is powered offZhenhua Zhang1-0/+3
2009-11-11Fix: Emit Manufacturer, not SerialDenis Kenzior1-1/+1
2009-09-28Fix: Report registered modems properlyDenis Kenzior1-2/+2
2009-09-22Fix: Comparison should be against negative errnoDenis Kenzior1-1/+1
2009-09-17Split populate modem driver methodDenis Kenzior1-12/+45
Introduce two new methods - pre_sim - SIM is not inserted or locked. This should populate the modem with atoms that can be used without the SIM. Generally this is the devinfo atom, the sim atom and the voice call atom (emergency calls only) - post_sim - SIM is ready. This method should populate the modem with the remaining atoms
2009-09-11Create watchlists during registerDenis Kenzior1-1/+2
2009-09-11Refactor various watch functionsDenis Kenzior1-80/+33
Use a common core kernel for all the watcher registrations / notifications. This is now done in watch.c
2009-09-10Keep modem->powered_pending up to date after set_powered.Andrzej Zaborowski1-3/+6
Without this once a request to power up the modem fails, modem.c won't retry even when asked.
2009-09-08Add modem properties for booleansMarcel Holtmann1-0/+25
2009-09-03Get rid of stupid debug messageDenis Kenzior1-2/+0
2009-09-02Fix emitting Modems Property in the wrong placeDenis Kenzior1-2/+4
2009-09-02Squash compiler warningDenis Kenzior1-0/+2
2009-09-02Get rid of node argument in ofono_modem_createDenis Kenzior1-4/+12
2009-09-02Add modem property capabilityDenis Kenzior1-0/+123
Add ofono_modem_set_string & ofono_modem_get_string Add ofono_modem_set_integer & ofono_modem_get_integer
2009-09-01change int vendor to unsigned int vendorDenis Kenzior1-1/+1
2009-09-01Add ofono_modem_get_poweredDenis Kenzior1-0/+8
2009-09-01Add vendor flag capability to devinfoDenis Kenzior1-2/+2
2009-08-31Fix being able to set powered after failureDenis Kenzior1-1/+4
If enable failed, subsequent attempts will also fail.
2009-08-30Add debug to modem_createDenis Kenzior1-0/+2
2009-08-29Make history drivers work againDenis Kenzior1-3/+7
2009-08-21Introduce the Modem driver APIDenis Kenzior1-89/+309
2009-08-20Fix unused variable lDenis Kenzior1-1/+0
2009-08-20Rename ofono_modem_*_userdataDenis Kenzior1-3/+3
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-20Hide the ofono_modem datastructureDenis Kenzior1-57/+48
2009-08-20Port history to the new atom APIDenis Kenzior1-1/+0
Use __atom_foreach
2009-08-20Add __ofono_modem_foreach_atom functionDenis Kenzior1-0/+20
2009-08-20Break out device info into a separate driverDenis Kenzior1-107/+205
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-19Remove traces of sim_manager from modem.cDenis Kenzior1-5/+0
2009-08-19Fix whitespace and style issuesDenis Kenzior1-2/+2
2009-08-17Fix invalid watch id being returned the first timeDenis Kenzior1-1/+1
Should use pre-increment instead of post increment
2009-08-14Refactor cssn into ofono_ssnDenis Kenzior1-3/+0
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-14Add atom get_registered functionDenis Kenzior1-0/+5
2009-08-14Follow the more common glib convention for destroyDenis Kenzior1-1/+1
2009-08-14Fix whitespace issueDenis Kenzior1-1/+0
2009-08-14Utilize call_watchesDenis Kenzior1-1/+5
2009-08-14Add call_watches utilityDenis Kenzior1-0/+17
2009-08-14Add atom_watch functionsDenis Kenzior1-0/+86
2009-08-14Rework ofono_modem_remove_atomDenis Kenzior1-4/+2
Change to ofono_atom_free since the atom now carries all necessary information about the modem it is attached to
2009-08-14Add getter functions for atomsDenis Kenzior1-0/+12
2009-08-14Sanity check the atom register/unregister funcsDenis Kenzior1-2/+7
2009-08-13Add ofono atom routinesDenis Kenzior1-0/+106
2009-08-07No need to use g_timeout_add hereDenis Kenzior1-27/+13
2009-07-29Remove all uses of modem.hDenis Kenzior1-1/+0
2009-07-29Get rid of modem.hDenis Kenzior1-2/+3
2009-07-29Move ofono_modem functions to modem.cDenis Kenzior1-0/+80
2009-07-29Move MODEM_INTERFACE to dbus.hDenis Kenzior1-5/+3
2009-07-29Rename ofono_modem_userdataDenis Kenzior1-1/+1
2009-07-29Make plugins use ofono_modem_get_pathDenis Kenzior1-0/+8
2009-07-29Rename modem_add_interface / modem_remove_interfaceDenis Kenzior1-2/+4
Move to ofono_modem_add_interface, ofono_modem_remove_interface and put in ofono/modem.h
2009-07-29Rename modem_alloc_callid, modem_release_callidDenis Kenzior1-2/+2