Commit Graph

2906 Commits

Author SHA1 Message Date
Denis Kenzior e77ea33fd6 stkutil: Set black fore/back ground color 2010-07-13 15:36:00 -05:00
Kristen Carlson Accardi 6d8e52dda4 test-stkutil: add html attribute tests for setup idle mode tests 2010-07-13 14:59:22 -05:00
Kristen Carlson Accardi 038a3f3552 test-stkutil: add html attribute test for select_item_test 2010-07-13 14:59:22 -05:00
Kristen Carlson Accardi 0feb32bda2 test-stkutil: add html attribute test for setup_menu_test 2010-07-13 14:59:22 -05:00
Kristen Carlson Accardi 76834cf260 test-stkutil: add html attribute tests for play_tone_test 2010-07-13 14:59:22 -05:00
Kristen Carlson Accardi 5a66a651cc test-stkutil: add html attribute tests for get_input_test 2010-07-13 14:59:22 -05:00
Kristen Carlson Accardi 19bbbcdf18 test-stkutil: add html attribute tests for get_inkey_test 2010-07-13 14:59:21 -05:00
Kristen Carlson Accardi a414e6af5e test-stkutil: add html attribute test for Display Text tests 2010-07-13 14:59:21 -05:00
Kristen Carlson Accardi c53bfdaf56 test-stkutil: add unit test for html text attributes 2010-07-13 14:59:21 -05:00
Kristen Carlson Accardi d10deb44f8 stkutil: display text attributes as html 2010-07-13 14:59:21 -05:00
Yang Gu ce24e7b2c8 Use specific vendor for phonesim stk 2010-07-13 09:55:06 -05:00
Yang Gu 9a71ae891b atmodem: phonesim proactive command notification 2010-07-13 09:55:02 -05:00
Yang Gu c603efbf51 atmodem: Make fetch command function as external 2010-07-13 09:51:33 -05:00
Denis Kenzior f8a5e7d0bf test-sms: Update with a real EMS test 2010-07-13 09:51:02 -05:00
Yang Gu 058d3d0cd4 Interpret "" Alpha Id as empty data object
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-09 12:30:12 -05:00
Zhenhua Zhang a72e092d19 ppp: Add MAX_IPCP_FAILURE to avoid timeout quickly
We use IPCP NAK response to stall the progress of acquiring the client
IP address from DHCP server. So we need to increase the max failure of
NAKs in IPCP handshaking.
2010-07-09 09:53:24 -03:00
Denis Kenzior 465a4f5ef5 stk: Simplify poll interval logic 2010-07-08 14:27:35 -05:00
Denis Kenzior 7d98e604c7 stk: Be more paranoid of enums from stk 2010-07-08 14:27:35 -05:00
Andrzej Zaborowski 45d535b802 stk: Handle the Poll Interval proactive command 2010-07-08 14:27:35 -05:00
Denis Kenzior 00cb839c83 style: Use more understandable syntax 2010-07-08 14:27:34 -05:00
Denis Kenzior ab9d7cd2cb style: No initialization needed here 2010-07-08 14:27:34 -05:00
Denis Kenzior ea1f6e11f6 stk: Get rid of gratuitous goto abuse 2010-07-08 14:27:34 -05:00
Denis Kenzior 5094b677ca style: Prefer initialized variables on top 2010-07-08 14:27:34 -05:00
Denis Kenzior 84e73a8b7c sms: Refactor ofono_sms_submit introduced by stk
Simplify the logic and get rid of duplicated code
2010-07-08 14:27:34 -05:00
Denis Kenzior 6d91d84b28 sms: Tweak the logic to be more readable 2010-07-08 14:27:34 -05:00
Denis Kenzior db9b67e791 stk: Don't submit all pending envelopes at once 2010-07-08 14:27:34 -05:00
Denis Kenzior 5efd87fe63 stk: Fix copy / paste error 2010-07-08 14:27:34 -05:00
Denis Kenzior a6edf2c803 stk: Get rid of bin to hex converter
That much code for a debug message is pretty silly.  Perhaps an
ofono_debug_hexdump function is in order.
2010-07-08 14:27:34 -05:00
Denis Kenzior d2dc0480db stk: cancelled variable is not used 2010-07-08 14:27:34 -05:00
Andrzej Zaborowski bd33ab6a6f stk: Handle the Timer Management proactive command 2010-07-08 14:27:34 -05:00
Andrzej Zaborowski c0db55513d stk: Handle the Set Up Idle Text proactive command
This adds a SimToolkit dbus interface with just one property
(IdleModeText).
2010-07-08 14:27:34 -05:00
Andrzej Zaborowski 56d927b814 stk: Handle the Send SMS proactive command. 2010-07-08 14:27:34 -05:00
Andrzej Zaborowski 516a9b06c5 Add __ofono_sms_submit for other atoms to submit SMs. 2010-07-08 14:27:33 -05:00
Andrzej Zaborowski 6de5b7f5bb stkutil: Timer Value is conditional, not optional.
Make the parser check that the value is present when necessary,
so that stk.c doesn't have to check this.
2010-07-08 14:27:33 -05:00
Andrzej Zaborowski c451994139 sktutil: Use the Mandatory flag in parse_dataobj.
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-08 14:27:33 -05:00
Andrzej Zaborowski 23c5f28569 Add Dbus interface names for STK. 2010-07-08 14:27:33 -05:00
Andrzej Zaborowski de587870d2 stk: Handle ENVELOPEs in a queue, retry on sim busy.
Some envelope types need to be retried when sim reports busy status.
Then envelopes such as Event Download need to be returned in the
order of the event occurences, so need to be handled in a queue.
2010-07-08 14:27:33 -05:00
Andrzej Zaborowski 79372d26f5 atmodem: Make sim operations return sim error codes. 2010-07-08 14:27:33 -05:00
Andrzej Zaborowski 30e16fb5ca Add OFONO_ERROR_TYPE_SIM for negative SIM statuses
Expected value of the .error field is status word 1 and status word 2
in bits 8:15 and 0:7 of the field.
2010-07-08 14:27:33 -05:00
Andrzej Zaborowski 9d46dbc7a5 stk: Handle MoreTime command as a no-op 2010-07-08 14:27:33 -05:00
Andrzej Zaborowski 4344c7423f mbmmodem: End session on *STKEND. 2010-07-08 14:27:33 -05:00
Andrzej Zaborowski cbdb7278ac stk: Utilities for proactive command/envelope handling. 2010-07-08 14:27:33 -05:00
Denis Kenzior e6d6f802a5 smsutil: Fix valgrind complaint
SMS cannot be split over GSM extension chars, however on the last
segment this code was causing us to overflow the buffer and resulted in
valgrind complaining.
2010-07-08 14:27:33 -05:00
Denis Kenzior 98a8b4ecff test-sms: Fix a memory leak 2010-07-08 14:27:33 -05:00
Denis Kenzior f0a343e482 TODO: Add CDIP support task 2010-07-08 14:27:32 -05:00
Marcel Holtmann 0cb1ead37e Release 0.24 2010-07-07 17:41:05 -03:00
Pekka Pessi e1733df4b5 TODO: Voicecall gaps 2010-07-07 11:45:17 -05:00
Pekka Pessi 00d4fbf5b0 doc: clarify VoiceCallManager SendTones method 2010-07-07 11:33:20 -05:00
Zhenhua Zhang b3c35db955 gatppp: Unset disconnect function when unref PPP
Unset IO disconnect function when we try to destroy GAtPPP instance.
After freeing the instance, the IO disconnect function should not be
invoked.
2010-07-07 11:26:55 -05:00
Zhenhua Zhang e70b1f0abd gatserver: Restore GAtServer disconnect handling
Restore GAtServer disconnect handling when resuming a server session
2010-07-07 11:26:55 -05:00