summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-12-04Update voicecall atom to use new callid apiDenis Kenzior1-9/+7
2009-12-04Add utility to get the next free call idDenis Kenzior1-0/+11
2009-12-04Refactor: call id allocation / releaseDenis Kenzior2-5/+10
2009-12-03Fix: Exit right awayDenis Kenzior1-0/+3
If no plugin needs to run the eventloop to shutdown cleanly, exit right away.
2009-12-02Fix: Be a bit more signal-handler safeDenis Kenzior1-5/+12
2009-12-02Fix: Paste errorDenis Kenzior1-2/+0
2009-12-02When SIGTERM is received, run the event loopDenis Kenzior3-13/+71
This feature will continue running the event loop for another 10 seconds or so or until all the modems have been shut down. This will allow the modem drivers to properly shutdown their respective devices.
2009-12-02Refactor: Set powered to false if disable timedoutDenis Kenzior1-1/+12
2009-12-02Fix: unregister modem when unregistering driverDenis Kenzior1-0/+12
2009-12-02Refactor: modem de-registrationDenis Kenzior1-9/+3
2009-12-02Fix: Remove all atoms when attempting to power offDenis Kenzior1-9/+9
The current behavior is to remove atoms when the modem has powered off successfully. The modem driver must now take special precautions to cancel all pending actions of the atom drivers, since they would have been destroyed.
2009-12-02Fix: Store refs as 16 bits, not 8Denis Kenzior1-1/+1
Refs are handled as 16 bits properly everywhere, yet are stored as 8 bits in the assembly.
2009-12-01Fix: Don't forget to cleanup the atom watchDenis Kenzior1-0/+7
2009-12-01Fix: Simplify logic to use g_memdupDenis Kenzior1-5/+3
2009-12-01Fix: Be more signed/unsigned correctDenis Kenzior1-3/+3
2009-12-01Style: Use unsigned int instead of unsignedDenis Kenzior1-1/+2
2009-11-26Fix: Reset call_ids when modem is powered offZhenhua Zhang1-0/+3
2009-11-24Fix: Add check for register_auto methodZhenhua Zhang1-2/+5
Add check for register_auto method to avoid crash. HFP backend does not provide implementation for register_auto.
2009-11-24Fix: Send all SMS segmentsZhigang Li1-1/+1
2009-11-24Get rid of the pointless checks before g_free in GPRS engineMarcel Holtmann1-30/+11
2009-11-24Add support bringing GPRS interfaces up and down as neededMarcel Holtmann1-0/+50
2009-11-23Emit settings signal before active signalMartin Xu1-6/+7
2009-11-18Report AttachInProgress ErrorDenis Kenzior3-1/+9
If one tries to activate a context and we're currently attaching or detaching from GPRS, report the AttachInProgress error
2009-11-18Refactor: Send NotAttached errorDenis Kenzior3-3/+10
If one tries to activate the context and we're currently not attached to GPRS, report a NotAttached error instead of a failure
2009-11-18Add ProposeScan methodDenis Kenzior1-12/+65
This is the replacement for automatic operator scanning
2009-11-18Fix: Use a different function for initial registerDenis Kenzior1-1/+10
Just in case pending variable gets set to something
2009-11-18Refactor: Reshuffle bit flagsDenis Kenzior1-2/+2
2009-11-18Refactor: Remove period operator scanDenis Kenzior1-50/+0
2009-11-18Refactor: Get rid of PENDING flag in netregDenis Kenzior1-9/+3
2009-11-18Implement CGREG queryDenis Kenzior1-1/+21
Some modems do not properly send CGREG notifications when the context is attached / detached. We manually query the registration state of GPRS to make sure that if the modem is indeed attached, the state is reflected properly
2009-11-18Refactor: Move functions up to avoid declarationDenis Kenzior1-72/+75
2009-11-18Fix: Again, uncross the wiresDenis Kenzior1-1/+1
2009-11-18Fix: Uncross the wiresDenis Kenzior1-2/+2
2009-11-17Support Settings property of PrimaryContextDenis Kenzior1-9/+206
2009-11-17Add ofono_gprs_context_get_modemMartin Xu1-0/+5
2009-11-13Fix: Make sure we don't dial with an incoming callDenis Kenzior1-0/+3
2009-11-13Refactor: Simplify code and add have_incomingDenis Kenzior1-12/+12
2009-11-13Revert: Go back to the old dial behaviorDenis Kenzior1-64/+4
The driver has a better idea of how to handle ATD being invoked when a waiting/held/active call(s) is/are already present. Generally most modems will swap the call automatically preserving the state of the waiting call. We do block dialing another call while a dial is still in progress.
2009-11-13Style: add new lineDenis Kenzior1-0/+1
2009-11-12Use release_all_held to release a single held callDenis Kenzior1-0/+8
2009-11-12Remove Voicecall.Busy methodDenis Kenzior1-27/+14
According to 22.030, UDUB or CHLD=0 can only be invoked on waiting calls. Most AT command based modems do not support using CHLD=0 on an incoming call. So we remove the Busy method and invoke set_udub on a call that is in the waiting state.
2009-11-11Fix: Emit Manufacturer, not SerialDenis Kenzior1-1/+1
2009-11-11Fix: Invoke microphone_volume, not speakerZhenhua Zhang1-1/+1
2009-11-05Add basic state saving for SMS atomDenis Kenzior1-0/+39
Message ID and Reference number for concatenated messages should be persisted.
2009-11-05Add hooks to call into sms history for SMS atomDenis Kenzior1-1/+21
2009-11-05Add SMS history capabilityDenis Kenzior2-5/+122
2009-11-05Refactor: Make SendMessage asyncDenis Kenzior1-27/+79
This commit does two things. First it makes SendMessage an async method, which returns only when the SMS message has been successfully sent or failed. This also adds a set number of tries that oFono will resubmit the PDU to the SMSC. If any fragment fails to be submitted, the entire send message attempt is deemed a failure and an error is returned to the caller.
2009-11-05Rename sms assembly path to sms_assembly from smsDenis Kenzior1-1/+1
Not to interfere with sms settings storage
2009-11-05Use localtime_r instead of localtimeDenis Kenzior1-1/+2
2009-11-05Refactor: Move SMS SendMessage to 1 recipient onlyDenis Kenzior1-28/+12