summaryrefslogtreecommitdiffstats
path: root/src/stkutil.c
AgeCommit message (Collapse)AuthorFilesLines
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
2010-06-15stkutil: Add Terminal Applications envelope builderAndrzej Zaborowski1-0/+57
This is not a terribly useful function as the user still needs to split the list in separate envelopes. The .type field could be an enum.
2010-06-15stkutil: Add MMS Notification DL envelope builderAndrzej Zaborowski1-0/+38
2010-06-15stkutil: Add MMS Transfer Status envelope builderAndrzej Zaborowski1-0/+84
2010-06-15stkutil: Add the USSD Download envelope builderAndrzej Zaborowski1-0/+10
2010-06-15stkutil: Add the Timer Expiration envelope builderAndrzej Zaborowski1-0/+13
2010-06-15stkutil: Add the Event Download envelope builderAndrzej Zaborowski1-0/+541
2010-06-15stkutil: Refactor struct stk_frames_infoAndrzej Zaborowski1-2/+9
2010-06-15stkutil: Refactor struct stk_other_addressAndrzej Zaborowski1-1/+4
2010-06-15stkutil: Add the Call Control envelope builderAndrzej Zaborowski1-0/+195
2010-06-09stkutil: Refactor stk_location_infoAndrzej Zaborowski1-10/+23
In some cases an empty stk_location_info means that no object should be emitted (e.g. it is optional) and in other cases an empty object should be emitted. This is context specific to the terminal response / envelope and thus we break this up into two separate functions.
2010-06-09stkutil: Add MO SMS Control envelope builderAndrzej Zaborowski1-0/+16
2010-06-09stkutil: Add the Menu Selection envelope builderAndrzej Zaborowski1-0/+25
2010-06-09stkutil: Add CBS-PP Data Download envelope builderAndrzej Zaborowski1-0/+26
2010-06-09stkutil: Add SMS-PP Data Download envelope builderAndrzej Zaborowski1-0/+110
2010-06-09stkutil: Use static buf in stk_pdu_from_responseAndrzej Zaborowski1-16/+20
2010-06-01stk: Constraint the appearance of empty itemYang Gu1-12/+28
If empty item turns out, it must be the only item in the list. So the following situations are deemed as invalid: 1. Two empty items 2. Valid item + empty item 3. empty + valid item
2010-05-28stkutil: Add Launch Browser response builderAndrzej Zaborowski1-0/+1
2010-05-28stkutil: Add Language Notification response builderAndrzej Zaborowski1-0/+1
2010-05-28stkutil: Add Send DTMF response builder supportAndrzej Zaborowski1-0/+2
2010-05-28stkutil: Fix comment styleDenis Kenzior1-2/+4
2010-05-28stkutil: Add the Run AT Command response builderAndrzej Zaborowski1-0/+29
2010-05-28stkutil: Add Set Up Idle Mode Text response builderAndrzej Zaborowski1-0/+2
2010-05-28stkutil: Fix style in build_dataobj_timer_valueDenis Kenzior1-6/+8
2010-05-28stkutil: Fix styleDenis Kenzior1-4/+6
2010-05-28stkutil: Add the Timer Management response builderAndrzej Zaborowski1-0/+41
2010-05-28stkutil: Use more understandable syntaxDenis Kenzior1-3/+6
2010-05-28stkutil: Fix styleDenis Kenzior1-4/+8