summaryrefslogtreecommitdiffstats
path: root/src/cbs.c
AgeCommit message (Collapse)AuthorFilesLines
2015-12-21cbs: Resolve a use-after-freeJohn Ernberg1-1/+4
In situations where location changes rapidly, a use-after-free condition can occur. What happens is that the timeout leaks and then the cbs struct with the callback is cleaned up, resulting in a SIGSEGV when the callback occurs from the glib loop.
2012-05-20Do not set signature and reply in GDBus tablesLucas De Marchi1-7/+7
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-6/+12
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-01-18cbs: finding SIM atom seems to not necessary nowDenis Kenzior1-7/+2
2012-01-18cbs: Use __ofono_atom_find macroDenis Kenzior1-10/+3
2011-10-10core: Update copyright informationMarcel Holtmann1-1/+1
2011-03-30core: remove redundant codeMika Liljeberg1-7/+0
2011-02-17cbs: Set topics on EFcbmid change only if poweredDenis Kenzior1-5/+6
2011-02-17cbs: Watch for changes to relevant SIM filesAndrzej Zaborowski1-1/+31
2011-02-08core: free GError objects returned by glibDenis Kenzior1-0/+1
2011-02-03core: Minor style tweaksDenis Kenzior1-1/+0
2011-02-03simfs: implement ofono_sim_context apiAndrzej Zaborowski1-3/+11
2011-02-02cbs: Fix style issuesAki Niemi1-6/+6
2010-11-29core: explicitly compare pointers to NULLLucas De Marchi1-10/+9
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-22src: coding style fixes - rule M6Jeevaka Badrappan1-5/+5
2010-11-10cbs: Minor style fixesDenis Kenzior1-2/+3
2010-11-10cbs: CBS-PP download must be enabled in sst / estAndrzej Zaborowski1-0/+13
2010-09-21Fix multi-line comment style issuesJeevaka Badrappan1-5/+10
2010-06-09Rename CbsManger into CellBroadcastMarcel Holtmann1-14/+13
Other D-Bus interfaces use clear descriptions like SupplementaryServices or NetworkRegistration. So use CellBroadcast for cell broadcast support.
2010-06-09Fix: download CBS to SIM even when "Powered" is 0Andrzej Zaborowski1-5/+5
2010-06-09stk: Use envelope encoding utility from stkutil.cAndrzej Zaborowski1-1/+1
2010-06-07cbs: Send ETWS topics lastDenis Kenzior1-2/+2
2010-04-15Fix: Look for the STK atom, not SIM atomDenis Kenzior1-1/+1
2010-04-15Fix: Process CBS sim downloads if STK atom existsDenis Kenzior1-1/+2
2010-04-15Add Sim Toolkit atomAndrzej Zaborowski1-1/+9
- Add ofono_stk atom in stk.c - Move envelope command from sim driver to stk driver
2010-04-15Extend sim-ready watch with card insert/ejectAndrzej Zaborowski1-1/+1
2010-03-22Move cbs interface definition to dbus.hDenis Kenzior1-12/+10
2010-02-08Fix: Don't use ofono_debug directly in the coreDenis Kenzior1-5/+5
Use DBG macro which is integrated with the new debug framework.
2010-01-20Fix: Process CBS settings even if no EFcbmidDenis Kenzior1-3/+4
If EFcbmid is not present, corrupt or empty the code that bootstraps the CBS settings is never called.
2010-01-20Fix: Print errors for unlikely CBS failuresDenis Kenzior1-2/+5
These indicate driver / hardware issues rather than anything else.
2010-01-20Fix: NULL check both set_topics and clear_topicsDenis Kenzior1-1/+1
2010-01-20Fix: Make the powered setting actually workDenis Kenzior1-2/+2
2010-01-20Fix: Default to powered=true for CBSDenis Kenzior1-0/+7
2010-01-12Persist CBS Topics list, handle EF-CBMI, EF-CBMIR.Andrzej Zaborowski1-24/+75
The two SIM files are only used to bootstrap the topics list value if there's no previous value.
2010-01-12Style: Trailing whitespace & extra linesDenis Kenzior1-1/+1
2010-01-01Update copyright informationMarcel Holtmann1-1/+1
2009-12-17Style: Flip the if statementDenis Kenzior1-3/+3
The if case should have the multiple expressions
2009-12-17Style: Add empty lines where neededDenis Kenzior1-0/+2
2009-12-17Add Powered property to CbsManager.Andrzej Zaborowski1-12/+160
2009-12-17Handle EF-CBSMID contents.Andrzej Zaborowski1-9/+20
2009-10-29Fix: Don't pass ofono_network_operator structuresDenis Kenzior1-6/+6
2009-10-27Refactor: replace netreg get_operator with mcc/mncDenis Kenzior1-5/+7
The full operator information is useless as only mcc/mnc are really required. The internal structures will be changing soon
2009-10-26Fix: Reset netreg to 0 when unregisteredDenis Kenzior1-0/+1
2009-10-02Refactor: Move elementary file type checkingDenis Kenzior1-21/+9
Every single EF read callback checks the file type reported out of the SIM is what it expects. Instead this should be done in one place and the errors reported accordingly
2009-09-17Assume CBS is registered when SIM readyDenis Kenzior1-41/+8
2009-09-16Add reading of various CBS related EFsDenis Kenzior1-0/+182
- EFcbmi - Cell Broadcast Identifiers - EFcbmir - Cell Broadcast Identifier Ranges - EFcbmid - Cell Broadcast Identifiers for Data Download
2009-09-16Fix: do not leak memory, cleanup the topic listDenis Kenzior1-0/+12
2009-09-11Support base station name cell broadcastsDenis Kenzior1-2/+41
If we receive an immediate cell-specific cell broadcast, report it as the base station id up to netreg atom