Commit Graph

2498 Commits

Author SHA1 Message Date
Yang Gu beb01428b7 stkutil: Add event list command parser 2010-05-13 13:57:11 -05:00
Denis Kenzior c02ae417f4 style: Whitespace errors 2010-05-13 13:55:35 -05:00
Yang Gu a1f95b55a5 test-stk: Add test for provide local info parser 2010-05-13 13:53:32 -05:00
Yang Gu 2f1bb15dcf stkutil: Add provide local info command parser 2010-05-13 13:53:08 -05:00
Yang Gu a6fb6b54fd test-stkutil: Add test for polling off parser 2010-05-13 13:52:39 -05:00
Yang Gu 0dc5c5df6f stkutil: Add polling off proactive command parser 2010-05-13 13:52:20 -05:00
Denis Kenzior 48bc1c3575 test-stkutil: file_list instead of fl is better 2010-05-13 13:51:50 -05:00
Denis Kenzior 57925606c0 stkutil: file_list instead of fl is better 2010-05-13 13:51:38 -05:00
Yang Gu 8a60f1244c test-stkutil: Add test for refresh parser 2010-05-13 13:49:59 -05:00
Yang Gu 7e96402cc0 stkutil: Add refresh proactive command parser 2010-05-13 13:49:28 -05:00
Yang Gu 57c6d1ec72 test-stkutil: Add unit test for setup call parser 2010-05-13 13:48:01 -05:00
Yang Gu 783bb70599 stkutil: Add setup call proactive command parser 2010-05-13 13:47:22 -05:00
Yang Gu 847539b39d stk: Adjust the sequence of dataobj 2010-05-13 13:46:21 -05:00
Yang Gu d04ebc0fdb test-stkutil: Refactor test for send sms parser 2010-05-13 13:45:59 -05:00
Yang Gu b99bf23f19 test-stkutil: Use dedicated functions to check 2010-05-13 13:44:49 -05:00
Denis Kenzior fd6c902572 test-stkutil: Handle NULL strings
g_str_equal does not handle NULL strings
2010-05-13 13:43:41 -05:00
Denis Kenzior 1ddc7ebf19 stkutil: Refactor parse_list into parse_item_list
Makes the code much easier to follow
2010-05-13 13:43:16 -05:00
Yang Gu 7b6a2fa541 test-stkutil: Add test for select item parser 2010-05-13 12:30:04 -05:00
Yang Gu 352a03d537 stkutil: Add select item proactive command parser 2010-05-13 12:29:59 -05:00
Yang Gu a431bf4ffc test-stkutil: Add test for setup menu parser 2010-05-13 11:09:43 -05:00
Yang Gu d45219e049 stkutil: Add setup menu proactive command parse 2010-05-13 11:07:07 -05:00
Yang Gu 2cc037e136 style: remove extra whitespace 2010-05-13 11:05:33 -05:00
Yang Gu 9f3b2de6f0 stkutil: item objects can be NULL
ETSI 102.223 doesn't mention that alpha id objects can be NULL, however
such objects exist in the 102.384 test specification.
2010-05-13 11:05:06 -05:00
Yang Gu edcd03e570 stkutil: alpha id objects can be NULL
ETSI 102.223 doesn't mention that alpha id objects can be NULL, however
such objects exist in the 102.384 test specification.
2010-05-13 11:04:04 -05:00
Yang Gu 353d955dea simutil: Add comprehension tlv copy
Can be used to save the state of the current iterator and 'peek' ahead.
2010-05-13 11:02:52 -05:00
Yang Gu 651ad72075 test-stkutil: Add test for poll interval parser 2010-05-13 10:54:50 -05:00
Yang Gu 5b030c4a19 stk: Add poll interval proactive command parser 2010-05-13 10:53:40 -05:00
Andrzej Zaborowski bf7afc6130 mbm: Check there's a SIM card inserted. 2010-05-12 13:46:17 -05:00
Andrzej Zaborowski 19ddfb302f mbm: Register sim toolkit atom in mbm plugin. 2010-05-12 13:44:53 -05:00
Denis Kenzior 0940f27c9a mbm: Simplify STKR callback logic 2010-05-12 13:44:40 -05:00
Denis Kenzior f98c6dc917 mbm: Simplify STKE logic
We shouldn't use CALLBACK_WITH_FAILURE unless we can't parse the
response from the modem.  This most likely indicates an integration
error.
2010-05-12 13:44:31 -05:00
Denis Kenzior 49c5def68b mbm: NULL check on a g_free is not necessary
This is a change from previously accepted practice
2010-05-12 13:43:48 -05:00
Denis Kenzior d6f540eb8f mbm: Few style issues with indentation 2010-05-12 13:43:38 -05:00
Andrzej Zaborowski f0aeb0b037 mbm: Add STK driver. 2010-05-12 13:43:23 -05:00
Andrzej Zaborowski 5e11442ef7 atmodem: Pass allowed response prefixes to gatchat
Not doing this creates a race condition where any notification
comming in in the middle of a sequence of commands may be counted
as a response to one of the commands and get lost.
2010-05-12 12:18:33 -05:00
Yang Gu 8a33071cd0 stkutil: Parse cdma tpdu in send sms parser 2010-05-11 14:36:37 -05:00
Denis Kenzior 9d56691898 stkutil: Don't use escaped strings
In general this is bad style, using concatentated strings ala "" "" is
better.
2010-05-11 12:29:11 -05:00
Yang Gu a3da155828 test-stkutil: Add unit test for play tone parser 2010-05-11 12:25:34 -05:00
Yang Gu 4374123324 stkutil: Refactor parser for tone objects 2010-05-11 12:24:02 -05:00
Yang Gu dff6deb6a3 Replace check_text with check_common_text 2010-05-11 12:23:27 -05:00
Yang Gu 37c2bc8cf2 stkutil: Add play tone proactive command parser 2010-05-11 12:21:51 -05:00
Yang Gu 6e4f5c5122 stk: Unify variable names to use abbreviation 2010-05-11 12:19:09 -05:00
Yang Gu 652e943c74 test-stkutil: Use enum for icon_id 2010-05-11 12:18:41 -05:00
Yang Gu f4bd7d21a4 test-stkutil: Add unit test for get input parser 2010-05-11 12:17:27 -05:00
Yang Gu 2eff407957 stkutil: Free default text for get input parser 2010-05-11 12:15:36 -05:00
Kristen Carlson Accardi 41188e326a ppp: fix another hardcode of ppp_packet size 2010-05-11 09:26:08 -05:00
Zhenhua Zhang af976f7e52 Fix Use hashtable to record udev path
Sometimes, Udev device 'remove' event could not report correct parent
node of current udev_device. Current code replies on the devpath
attached on the parent node to find modem and then remove it.

This fix is to change the way to store the devpath info into a
hashtable. So that we search hashtable to get devpath and remove the
modem.
2010-05-11 09:18:55 -05:00
Denis Kenzior dea4c88906 atmodem: Fix crashes related to unremoved timeouts
Any timeouts set must be removed using g_source_remove.  Failure to do
so results in sigsegvs when the modem is randomly removed during the
initialization cycle.
2010-05-11 09:10:58 -05:00
Denis Kenzior 1794ad32fd gsmdial: Shut down cleanly when ppp link dies 2010-05-10 16:36:33 -05:00
Denis Kenzior 3946d7e07c ppp: Keep these defines private 2010-05-10 16:28:23 -05:00