summaryrefslogtreecommitdiffstats
path: root/src/stkutil.c
AgeCommit message (Collapse)AuthorFilesLines
2012-02-02stkutil: Make valgrind happyDenis Kenzior1-3/+3
==29809== Conditional jump or move depends on uninitialised value(s) ==29809== at 0x4E826C: stk_file_iter_next (stkutil.c:212) ==29809== by 0x4E8CF8: parse_dataobj_file_list (stkutil.c:635) ==29809== by 0x4EBA29: parse_dataobj (stkutil.c:2410) ==29809== by 0x4ECFB5: parse_refresh (stkutil.c:2971) ==29809== by 0x4EECA3: parse_command_body (stkutil.c:3826) ==29809== by 0x4EF0DF: stk_command_new_from_pdu (stkutil.c:3948) ==29809== by 0x4D50DA: ofono_stk_proactive_command_handled_notify (stk.c:2885)
2011-10-10core: Update copyright informationMarcel Holtmann1-1/+1
2011-06-30stkutil: Fix alignment issue with building event listMarcel Holtmann1-1/+1
2011-06-30stkutil: Add missing call to va_end()Marcel Holtmann1-0/+2
2011-05-08stkutil: Send at least the data currently availablePhilippe Nunes1-1/+2
2011-03-31stkutil: add one more sanity checkDenis Kenzior1-1/+1
2011-03-31stkutil: Minor style fixesDenis Kenzior1-3/+4
2011-03-31stkutil: decoding & encoding for class e commandsPhilippe Nunes1-16/+262
Complete the TLV parsing/builder to support BIP commands
2011-03-30stkutil: Add typo/cleaning modificationsPhilippe Nunes1-2/+2
2011-03-11stk: fix issue with null data objectAndrzej Zaborowski1-1/+1
This will let the caller correctly detect NULL alpha id.
2011-01-20stkutil: add check for qualifier and browser idJeevaka Badrappan1-1/+8
Checks the valid qualifier and browser id values applicable for launch browser proactive command
2011-01-05stkutil: Minor style fixDenis Kenzior1-1/+2
2011-01-05stkutil: add missing text and icon checkJeevaka Badrappan1-15/+105
As per the ETSI TS 102 223 section 6.5.4, If the terminal receives an icon, and either an empty or no alpha identifier/text string is given by the UICC, than the terminal shall reject the command with general result "Command data not understood by terminal".
2011-01-05stkutil: Allocate for empty string in text dataobjJeevaka Badrappan1-1/+1
2010-12-30stkutil: Add missing call to va_end in parserDenis Kenzior1-0/+2
2010-12-10stkutil: Allow empty strings in for Text dataobjDenis Kenzior1-4/+0
Explicitly allow length = 1 (DCS) followed by zero characters. This seems to be explicitly allowed by the test specification (namely Get Input 1.9.1A)
2010-12-10stkutil: fix crash cause by null text stringGuillaume Lucas1-2/+4
According to 3GPP TS 31.124 a zero length for the text string should be allowed. An empty string must be returned to the user in this case.
2010-12-08smsutil: Make timezone an optional fieldYang Gu1-11/+2
2010-11-29stkutil: explicitly compare pointers to NULLLucas De Marchi1-2/+2
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-25stkutil: Minor style fixesDenis Kenzior1-2/+2
2010-11-25stkutil: Use sms_dcs_decode in decode_textGuillaume Lucas1-4/+8
This is a much more pedantic version that can be used to retrieve the text character set.
2010-11-22stkutil: coding style fixes - rule M6Jeevaka Badrappan1-10/+10
2010-10-20stk: Support send ss responseYang Gu1-0/+2
2010-09-21Fix multi-line comment style issuesJeevaka Badrappan1-6/+12
2010-09-15stkutil: Don't include USSD text unless neededDenis Kenzior1-3/+11
2010-09-10stkutil: Add build_dataobj_ussd_textJeevaka Badrappan1-0/+24
for ussd specific 'Text' Data object handling
2010-09-09stkutil: Trivial style issueDenis Kenzior1-4/+2
2010-07-26stkutil: convert img to xpmKristen Carlson Accardi1-0/+147
2010-07-13stkutil: Set black fore/back ground colorDenis Kenzior1-4/+2
2010-07-13stkutil: display text attributes as htmlKristen Carlson Accardi1-0/+225
2010-07-09Interpret "" Alpha Id as empty data objectYang Gu1-1/+3
There needs to be a way to distinguish between no alphaid and "empty data object" because on some occasions they have different meanings. In the Call Control envelope, no Alpha Identifier means the terminal can inform the user about the call being modified by SIM while empty data object means no hint should be given.
2010-07-08stkutil: Timer Value is conditional, not optional.Andrzej Zaborowski1-1/+5
Make the parser check that the value is present when necessary, so that stk.c doesn't have to check this.
2010-07-08sktutil: Use the Mandatory flag in parse_dataobj.Andrzej Zaborowski1-3/+3
We need to look at the Mandatory flag and not at the Minimum flag when parsing CTLVs. The Minimum flag is important when encoding CTLVs because CR bit is set according to it.
2010-07-02stkutil: Move scaddr field to gsm_smsAndrzej Zaborowski1-15/+43
2010-06-23stkutil: Alpha Id is optional for Select Item.Andrzej Zaborowski1-2/+1
2010-06-23stkutil: Refactor command parser error handlingAndrzej Zaborowski1-555/+400
When parsing the full command fails but Command Details has been parsed, return a struct stk_command containing this information and the type of parsing problem found. We need the command details to be able to even respond to the command. This patch also makes the parser skip over unknown data objects found in the BER-TLV, if they don't have Comprehension Required set.
2010-06-21stkutil: Remove obsolete comment.Andrzej Zaborowski1-3/+0
2010-06-18stkutil: Add More Time terminal response builderAndrzej Zaborowski1-0/+1
2010-06-18stkutil: USSD max len is 160Denis Kenzior1-1/+1
2010-06-18stk: Add parser for timing advance objectsYang Gu1-0/+22
2010-06-18stk: Add parser for send ussd commandsYang Gu1-0/+61
2010-06-16stkutil: Make sure bc_repeat is used properlyDenis Kenzior1-2/+7
The wrong structure was being used in the function & the has_bc_repeat variable was not being set properly.
2010-06-16stkutil: Merge two versions of bcch_channel_listDenis Kenzior1-6/+8
2010-06-16stk: Add parser for UTRAN meas qualifier objectsYang Gu1-0/+10
2010-06-16stk: Add parser for PDP activation param objectsYang Gu1-0/+23
2010-06-16stk: Add parser for bcch channel list objectsYang Gu1-0/+29
2010-06-16stk: Add parser for cell broadcast page objectsYang Gu1-0/+24
2010-06-16Add several proactive command parsersYang Gu1-0/+473
2010-06-16stk: Add parser for send ss commandsYang Gu1-0/+70
2010-06-15stkutil: Minor style cleanups in stkutilDenis Kenzior1-0/+3