summaryrefslogtreecommitdiffstats
path: root/src/modem.c
AgeCommit message (Collapse)AuthorFilesLines
2015-12-15modem: Don't move to pre-sim state in case of failureDenis Kenzior1-0/+3
In ofono_modem_reset, if the enable() callback fails, do not proceed to the pre-sim state
2013-04-01modem: Support modem property "AlwaysOnline"Forest Bond1-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.
2013-03-28modem: Allow setting boolean propertiesForest Bond1-1/+2
2013-02-14modem: Implement ofono_modem_findDenis Kenzior1-0/+16
2012-11-22modem: Handle RESETTING sim stateDenis Kenzior1-0/+1
2012-11-02modem: Add support for modem type TESTDenis Kenzior1-0/+2
2012-06-17modem: Add function for setting new driver typeMarcel Holtmann1-0/+14
2012-05-20Do not set signature and reply in GDBus tablesLucas De Marchi1-5/+5
Use GDBUS_* macros, so signature and reply fields are not set in each method/signal.
2012-05-20Convert GDBus methods to use macro helpersLucas De Marchi1-4/+8
With these macro helpers we can separate in/out arguments and use their own vector.
2012-05-20Constify GDBus signal tablesHenrique Dante de Almeida1-1/+1
Constify signal tables with the following command: find . -name '*.[ch]' -exec \ sed -i 's/\(GDBusSignalTable .* =\)/const \1/g' {} \;
2012-05-20Constify GDBus method tablesHenrique Dante de Almeida1-1/+1
Constify method tables with the following command: find . -name '*.[ch]' -exec \ sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;
2012-04-12modem: Add missing empty lineMarcel Holtmann1-0/+1
2012-01-18modem: Use __ofono_atom_findDenis Kenzior1-9/+3
Also remove defunct comment about registered status
2012-01-07modem: Tweak produced pathDenis Kenzior1-1/+1
For drivers that contain digits at the end the currently produced path can be somewhat confusing.
2011-11-22modem: Add Type property to GetProperties resultDaniel Wagner1-0/+18
2011-10-21devinfo: avoid crash if query_model not supportedMikel Astiz1-0/+1
2011-10-10core: Update copyright informationMarcel Holtmann1-1/+1
2011-07-29modem: Add some more debug outputsMarcel Holtmann1-3/+11
2011-07-19sim: Support SIM_STATE_LOCKED_OUTDenis Kenzior1-0/+3
2011-04-28modem: Don't allow setting online unless poweredDenis Kenzior1-0/+3
2011-04-14modem: Fix entering offline mode prematurelyDenis Kenzior1-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.
2011-04-04modem: Tweak online logic if set_online is missingDenis Kenzior1-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.
2011-04-04modem: No need to set get_online on sim resetDenis Kenzior1-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.
2011-04-04modem: Fix minor style violationsDenis Kenzior1-3/+4
2011-04-04modem: modem state decoupled from rf stateJeevaka Badrappan1-25/+55
2011-04-04modem: restrict operations allowed in emergencyJeevaka Badrappan1-0/+9
2011-04-04modem: add increment/decrement emergency mode apiJeevaka Badrappan1-0/+36
2011-04-04modem: add Emergency propertyJeevaka Badrappan1-0/+4
2011-04-04modem: add ofono_modem_get_emergency_mode apiJeevaka Badrappan1-0/+6
2011-03-30modem: Only find registered atomsDenis Kenzior1-1/+1
Change the semantics of __ofono_modem_find_atom to only return registered atoms.
2011-03-30devinfo: Register the devinfo atomDenis Kenzior1-5/+19
2011-03-30modem: Add __ofono_modem_foreach_registered_atomDenis Kenzior1-0/+24
2011-03-30modem: Remove more un-needed codeDenis Kenzior1-7/+0
2011-03-30core: notify watches of already registered atomsMika Liljeberg1-1/+15
2011-03-23emulator: add support for +GCAPOlivier Guiter1-0/+7
2011-02-17sim: Tweak the behavior of sim_refresh slightlyDenis Kenzior1-6/+11
Instead of notifying everyone of sim_inserted condition, we should simply notify the modem directly. It is the only one interested in this particular change. This partly reverts an earlier commit: 9498ad6b5633e350eb529f8efbe08270d95c8003
2011-02-17modem.c: Handle SIM ResetsAndrzej Zaborowski1-4/+8
The assumption so far was that SIM state would only go from NOT_PRESENT -> INSERTED -> READY -> NOT_PRESENT because there's no method to unauthenticate from SIM without removing. We need to be able to switch to INSERTED when SIM is being reset, reinitialised, etc. because going to NOT_PRESENT and then immediately INSERTED would be logically wrong.
2011-02-17emulator: always create emulators in offline stateFrédéric Danis1-0/+14
this allows to fix problem when atom created in online state are destroyed when modem goes to offline state
2011-02-16devinfo: Handle BT DUN +GMI/+GMM/+GMR commandsDenis Kenzior1-0/+78
2011-02-10modem: Tweak online & powered watch APIsDenis Kenzior1-2/+2
2011-02-10modem: Fix up previous commitDenis Kenzior1-4/+6
2011-02-10modem Add powered watch APIGuillaume Zajac1-0/+47
2011-02-05modem: M16 coding style fixJeevaka Badrappan1-3/+3
2011-01-26modem: Simplify the modem lockdown modificationMarcel Holtmann1-26/+27
2011-01-26modem: Be a bit more paranoid with lock_owner resetMarcel Holtmann1-0/+4
2011-01-26modem: do not allow more than one client to lock downRémi Denis-Courmont1-7/+6
2011-01-23modem: Add feature entry for supplementary servicesMarcel Holtmann1-0/+1
2011-01-20core: Always return success to a no-opAki Niemi1-3/+3
A SetProperty that doesn't actually change the Online property's state when no change to that state is pending, should not fail. It should always succeed regardless of the current modem state.
2011-01-13gps: add new interface to feature mapRafael Ignacio Zurita1-0/+1
2011-01-12core: M15 coding style fixJeevaka Badrappan1-3/+3