summaryrefslogtreecommitdiffstats
path: root/src/modem.c
AgeCommit message (Collapse)AuthorFilesLines
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
2010-12-22modem: Fix a typoDenis Kenzior1-1/+2
The modem should be offline not online
2010-12-22modem: Implement some race-condition avoidanceDenis Kenzior1-4/+39
2010-12-22modem: add Lockdown property to Modem interfaceGustavo F. Padovan1-0/+135
Setting Lockdown to TRUE means power down the modem and hold a lock that only permits the lock's owner power up the modem back. When released it restores the last state of the modem before holding the lock.
2010-12-17modem: restore state when resetting the modemGustavo F. Padovan1-24/+36
2010-12-07Add ofono_modem_reset()Gustavo F. Padovan1-0/+20
Some modems can screw up everything and then we will need to do a silent reset of the modem. This patch take the modem back to the OFFLINE state.
2010-12-07modem: only unref pending if it is a powered pendingGustavo F. Padovan1-1/+2
2010-11-29core: explicitly compare pointers to NULLLucas De Marchi1-7/+7
This patch was generated by the following semantic patch (http://coccinelle.lip6.fr/) // <smpl> @fix disable is_null,isnt_null1@ expression *E; @@ - !E + E == NULL // </smpl>
2010-11-24text-telephony: add new interface to feature mapLucas De Marchi1-0/+1
2010-11-22modem: Don't notify online watches the first timeDenis Kenzior1-2/+2
We should not notify the online watches when we enter the OFFLINE state for the first time. We should only do so when we go from ONLINE state into the OFFLINE state.
2010-11-22modem: Miscellaneous style fixesDenis Kenzior1-4/+7
2010-11-22modem: add modem online-offline watchAndras Domokos1-0/+46
2010-11-22src: coding style fixes - rule M6Jeevaka Badrappan1-4/+4
2010-11-19modem: Fix small coding style issueMarcel Holtmann1-1/+1
2010-11-17modem: Fix up doc typoDenis Kenzior1-2/+1
2010-11-15Simplify ofono_modem_set_powered() logicGustavo F. Padovan1-22/+25
2010-10-25modem: Add ofono_modem_is_registeredDenis Kenzior1-0/+11
2010-10-21modem: add debugs to monitor modem state changesPetteri Tikander1-0/+4
2010-09-28modem: Add modemwatch watchlist functionsDenis Kenzior1-0/+50
Used for registering to modem added & removed notifications
2010-09-28modem: Minor style fixDenis Kenzior1-6/+8
2010-09-09modem: Add __ofono_modem_foreachDenis Kenzior1-0/+11
2010-09-09manager: Add ModemRemoved signalDenis Kenzior1-0/+12
2010-09-09manager: Add ModemAdded signalDenis Kenzior1-0/+29
2010-09-09modem: Remove unneeded functionsDenis Kenzior1-47/+0
2010-09-09modem: Break out append_modem_propertiesDenis Kenzior1-26/+30
2010-08-30modem: Skip waiting for sim_ready if no sim atomDenis Kenzior1-28/+38
For modems that do not have a SIM atom (e.g. HFP, DUN) we should skip waiting for the sim_ready notification that will never arrive.
2010-08-30sim: Turn around the order of argumentsDenis Kenzior1-3/+3
The void *user argument was first. It should be last instead to be consistent with the other watch functions.
2010-08-30modem: Reset unregister when atom is unregisteredDenis Kenzior1-0/+1
2010-08-30modem: Fix turning off modem in immediate caseDenis Kenzior1-0/+2
If the driver does not return EINPROGRESS we don't set the modem to the off state properly
2010-08-30modem: minor style fixDenis Kenzior1-2/+2
2010-08-19gprs: Update GPRS related DBus interface namesDenis Kenzior1-1/+1
2010-08-19sms: Update SmsManager to MessageManagerDenis Kenzior1-1/+1
2010-07-21Fix: Free modem name in ofono_modem_removeZhenhua Zhang1-0/+1
Avoid the memory leak of modem name.
2010-07-17Add feature identifier for SIM ToolkitMarcel Holtmann1-0/+1
2010-06-12Just call the feature "net" instead of "netreg"Marcel Holtmann1-1/+1