summaryrefslogtreecommitdiff
path: root/src/modem.c
Commit message (Collapse)AuthorAgeFilesLines
* treewide: Introduce support for missing g_memdup2Marcel Holtmann2021-05-051-1/+1
|
* treewide: Replace g_memdup with g_memdup2Marcel Holtmann2021-04-281-2/+2
|
* modem: add support to clear cached pins.Nandini Rebello2019-01-231-0/+3
| | | | | If the modem is powered off via D-Bus, clear any cached PINs to make sure that automatic PIN entry behavior is not activated.
* modem: global data is pre-zeroedJonas Bonn2018-10-291-7/+7
| | | | | Module-local and global data are BSS symbols and don't require zero-initialization.
* modem: Implement ofono_modem_set_timeout_hintGiacinto Cifelli2018-10-241-2/+13
| | | | | | | | | | | | | | this patch provides the handling for the modem-depending powered timeout It provides the trivial implementation for ofono_modem_set_powered_timeout_hint, introducing the ofono_modem variable timeout_hint, used together with the existing ofono_modem variable timeout. The default value, previously hardcoded as a magic number, is provided by the DEFAULT_POWERED_TIMEOUT define and set as soon as the ofono_modem struct is created, and then can be overwritten by the aforementioned ofono_modem_set_powered_timeout_hint.
* modem: Implement ofono_modem_get_voicecallSlava Monich2018-07-021-0/+5
|
* modem: Implement ofono_modem_get_gprsSlava Monich2018-04-271-0/+5
|
* modem: Add SystemPath dbus propertyChristophe Ronco2018-02-201-0/+6
|
* dbus: Use dbus_validate_pathSlava Monich2018-01-181-1/+1
| | | | Instead of __ofono_dbus_valid_object_path
* modem: Implement ofono_modem_get_simSlava Monich2017-10-051-0/+5
|
* devinfo: Implement ofono_devinfo_get_modemDenis Kenzior2017-10-051-0/+5
|
* modem: set_online is valid for AlwaysOnline modemsJonas Bonn2017-04-031-2/+6
| | | | | | Calling set_online(TRUE) for an AlwaysOnline modem should succeed; the modem is, after all, in the requested state when the call returns. Returning not_implemented is not necessarily wrong, but it's a bit ugly.
* modem: Use g_slist_free_fullJohn Ernberg2016-04-221-4/+2
|
* modem: Fix styleDenis Kenzior2016-03-311-4/+2
|
* devinfo: Add support of IMEISVSamrat Guha Niyogi2016-03-311-1/+38
|
* modem: Don't move to pre-sim state in case of failureDenis Kenzior2015-12-151-0/+3
| | | | | In ofono_modem_reset, if the enable() callback fails, do not proceed to the pre-sim state
* modem: Support modem property "AlwaysOnline"Forest Bond2013-04-011-6/+14
| | | | | | This can be set by the modem driver to indicate that the device is always in the online state when it is enabled. This is useful for modem drivers that handle both CDMA and GSM devices.
* modem: Allow setting boolean propertiesForest Bond2013-03-281-1/+2
|
* modem: Implement ofono_modem_findDenis Kenzior2013-02-141-0/+16
|
* modem: Handle RESETTING sim stateDenis Kenzior2012-11-221-0/+1
|
* modem: Add support for modem type TESTDenis Kenzior2012-11-021-0/+2
|
* modem: Add function for setting new driver typeMarcel Holtmann2012-06-171-0/+14
|
* Do not set signature and reply in GDBus tablesLucas De Marchi2012-05-201-5/+5
| | | | | Use GDBUS_* macros, so signature and reply fields are not set in each method/signal.
* Convert GDBus methods to use macro helpersLucas De Marchi2012-05-201-4/+8
| | | | | With these macro helpers we can separate in/out arguments and use their own vector.
* Constify GDBus signal tablesHenrique Dante de Almeida2012-05-201-1/+1
| | | | | | | Constify signal tables with the following command: find . -name '*.[ch]' -exec \ sed -i 's/\(GDBusSignalTable .* =\)/const \1/g' {} \;
* Constify GDBus method tablesHenrique Dante de Almeida2012-05-201-1/+1
| | | | | | | Constify method tables with the following command: find . -name '*.[ch]' -exec \ sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;
* modem: Add missing empty lineMarcel Holtmann2012-04-121-0/+1
|
* modem: Use __ofono_atom_findDenis Kenzior2012-01-181-9/+3
| | | | Also remove defunct comment about registered status
* modem: Tweak produced pathDenis Kenzior2012-01-071-1/+1
| | | | | For drivers that contain digits at the end the currently produced path can be somewhat confusing.
* modem: Add Type property to GetProperties resultDaniel Wagner2011-11-221-0/+18
|
* devinfo: avoid crash if query_model not supportedMikel Astiz2011-10-211-0/+1
|
* core: Update copyright informationMarcel Holtmann2011-10-101-1/+1
|
* modem: Add some more debug outputsMarcel Holtmann2011-07-291-3/+11
|
* sim: Support SIM_STATE_LOCKED_OUTDenis Kenzior2011-07-191-0/+3
|
* modem: Don't allow setting online unless poweredDenis Kenzior2011-04-281-0/+3
|
* modem: Fix entering offline mode prematurelyDenis Kenzior2011-04-141-4/+16
| | | | | | | | A contextual change to __ofono_modem_find_atom has caused us to enter into offline mode prematurely. find_atom was changed to return only the atoms that were registered, however the modem really has to know whether the sim atom is created (not registered) in order to know whether to wait for the SIM to be initialized or not.
* modem: Tweak online logic if set_online is missingDenis Kenzior2011-04-041-1/+4
| | | | | | In case set_online is missing, we should set online mode directly. If we're already online then set our state to Online, otherwise check if we should get Online.
* modem: No need to set get_online on sim resetDenis Kenzior2011-04-041-3/+0
| | | | | When STK sends us a SIM Refresh resulting in a SIM reset, we should not set the online state as the modem should still keep us online anyway.
* modem: Fix minor style violationsDenis Kenzior2011-04-041-3/+4
|
* modem: modem state decoupled from rf stateJeevaka Badrappan2011-04-041-25/+55
|
* modem: restrict operations allowed in emergencyJeevaka Badrappan2011-04-041-0/+9
|
* modem: add increment/decrement emergency mode apiJeevaka Badrappan2011-04-041-0/+36
|
* modem: add Emergency propertyJeevaka Badrappan2011-04-041-0/+4
|
* modem: add ofono_modem_get_emergency_mode apiJeevaka Badrappan2011-04-041-0/+6
|
* modem: Only find registered atomsDenis Kenzior2011-03-301-1/+1
| | | | | Change the semantics of __ofono_modem_find_atom to only return registered atoms.
* devinfo: Register the devinfo atomDenis Kenzior2011-03-301-5/+19
|
* modem: Add __ofono_modem_foreach_registered_atomDenis Kenzior2011-03-301-0/+24
|
* modem: Remove more un-needed codeDenis Kenzior2011-03-301-7/+0
|
* core: notify watches of already registered atomsMika Liljeberg2011-03-301-1/+15
|
* emulator: add support for +GCAPOlivier Guiter2011-03-231-0/+7
|