Yang Gu
31b65ef8ab
Move destructor prior to return
2010-05-27 12:21:05 -05:00
Yang Gu
6643e115a8
teststk: Add test for launch browser parser
2010-05-27 10:26:36 -05:00
Yang Gu
3b71390b51
stk: Add parser for launch browser commands
2010-05-27 10:24:39 -05:00
Denis Kenzior
e7570ef1d5
stkutil: Refactor SMS pdu parser
2010-05-27 09:26:45 -05:00
Denis Kenzior
9bb7bcd450
smsutil: add sms_decode_unpacked_stk_pdu function
...
Properly check the special 'packing required' sms pdus sent by SIM
toolkit.
2010-05-27 09:25:48 -05:00
Yang Gu
4d69a5cd86
stk: Fix the parser of send sms
2010-05-27 07:56:09 -05:00
Yang Gu
fd1e71163c
test-stkutil: Add cases for send sms parser
2010-05-27 07:27:26 -05:00
Yang Gu
a9cd641855
smsutil: Check that udl is less than 140
2010-05-27 07:21:28 -05:00
Yang Gu
beb4e2c71a
teststk: Use check_common_text() to check string
2010-05-27 07:08:42 -05:00
Yang Gu
55a2596e84
teststk: Add check of len in byte array
2010-05-27 07:07:18 -05:00
Yang Gu
d5f3a4bc96
teststk: Use sim bcd version
2010-05-27 07:05:04 -05:00
Yang Gu
ea01533cd6
stk: Use sim bcd version
2010-05-27 07:04:55 -05:00
Pekka Pessi
2744b64f64
Add Online property to modem-api.txt
2010-05-26 21:03:17 -05:00
Pekka Pessi
8017f4c0b2
Add: test scripts online-modem and offline-modem
2010-05-26 21:03:17 -05:00
Denis Kenzior
5a24916aae
Fix: Go to online state if set_online is NULL
2010-05-26 21:03:15 -05:00
Denis Kenzior
7705cebd3f
Refactor: no need for dummy_online_callback
2010-05-26 21:03:15 -05:00
Denis Kenzior
f2a2573cd0
Fix: Don't allow setting online before sim ready
2010-05-26 21:03:15 -05:00
Denis Kenzior
adefe451a2
Refactor: Break up set_online_callback
...
- Break up into two functions, one for online and one for offline
- No longer the need for online_pending variable
2010-05-26 21:03:15 -05:00
Denis Kenzior
7b77888217
Add __ofono_error_not_available
2010-05-26 21:03:15 -05:00
Denis Kenzior
5da54eea44
Refactor: flush_atoms
...
The current implementation did not take care of the case where the head
of the list was removed
2010-05-26 21:03:14 -05:00
Denis Kenzior
5890c38a37
Refactor: Don't use ofono_ prefix
...
Only meant for oFono public API
2010-05-26 21:03:14 -05:00
Denis Kenzior
53dc160362
Refactor: The macros are no longer needed
2010-05-26 21:03:14 -05:00
Denis Kenzior
d3b9f42ed4
Refactor: Don't use ofono_ prefix
...
Only to be used for ofono public API
2010-05-26 21:03:14 -05:00
Denis Kenzior
1b34af054d
Refactor: Don't use ofono_ prefix
...
only meant for public API
2010-05-26 21:03:14 -05:00
Denis Kenzior
c53d084234
Refactor: Don't use ofono_ prefix
...
ofono_ prefix is meant for public API
2010-05-26 21:03:14 -05:00
Denis Kenzior
e7529bfa70
Fix: minor style issues
2010-05-26 21:03:12 -05:00
Pekka Pessi
4f1506ba25
Add: Online property to modem
...
The online/offline state is changed with the new set_online() modem driver
method.
In order to track atoms, there are modem states as follows:
- OFONO_MODEM_STATE_POWER_OFF
- OFONO_MODEM_STATE_PRE_SIM
- OFONO_MODEM_STATE_OFFLINE
- OFONO_MODEM_STATE_ONLINE
Atoms are added with driver methods pre_sim(), post_sim() and post_online().
Atoms are removed by modem core when the state changes.
2010-05-26 14:24:11 -05:00
Marcel Holtmann
7bfe56efa2
Release 0.21
2010-05-26 21:02:58 +02:00
Marcel Holtmann
1ed3f6e707
Mention Kalle's contributions
2010-05-26 20:01:50 +02:00
Kalle Valo
125c7c392f
atmodem: fix crash during context deactivation
...
Ofono either crashed or busy looped with my Huawei E1552 3G modem when I
tried to deactivate GPRS context. The reason was that gcd->chat was
unreferenced already in setup_ppp() but the chat was still accessed
later in at_gprs_deactivate_primary().
To fix the problem, change the logic instead to suspend chat session
for PPP and resume when PPP has disconnected. Now it doesn't crash
anymore.
Deactivation still doesn't work properly with Huawei E1552, and most
probably with other Huawei modems, because the modem hangs up the chat
line after PPP deactivation. This needs to be fixed separately. The
workaround is to reboot the modem, for example physically unplug and plug
it in again.
2010-05-26 12:34:07 -05:00
Kalle Valo
bf7243eda4
atmodem: refactor context deactivation
...
The old way of using CGACT is no longer needed. It is enough
that we shutdown PPP. Recommended by Denis.
2010-05-26 12:32:03 -05:00
Andrzej Zaborowski
79b3199f23
test-stkutil: Use gcc4.3 compatible initialisers.
...
Reformat according to ideas on IRC.
2010-05-26 12:08:31 -05:00
Aki Niemi
96090ce079
Fix more-messages-to-send indicator
...
Set the mms indicator based on remaining segment count and not on the
message transmit queue status alone.
2010-05-26 11:16:45 -05:00
Denis Kenzior
e8a7b5cc46
simutil: Make sim_adn_build use sim bcd
2010-05-26 10:00:02 -05:00
Denis Kenzior
b0cf35c324
simutil: Add sim_encode_bcd_number
2010-05-26 09:59:14 -05:00
Denis Kenzior
75ce0a7b28
simutil: Make sim_adn_parse use sim bcd version
2010-05-26 09:51:51 -05:00
Denis Kenzior
48a4f59bdd
simutil: add sim_extract_bcd_number
2010-05-26 09:50:51 -05:00
Denis Kenzior
795f0f3406
smsutil: Update the doc for extract_bcd_number
2010-05-26 09:17:25 -05:00
Yang Gu
4cb2eec891
teststk: Add test for language notification parser
2010-05-25 17:55:58 -05:00
Yang Gu
5129bb2998
stk: Add parser for language notification commands
2010-05-25 17:36:52 -05:00
Yang Gu
b4e081f0e1
test-stk: Add test for send dtmf parser
2010-05-25 17:36:30 -05:00
Yang Gu
0e983e965e
stk: Add parser for send dtmf commands
2010-05-25 17:34:29 -05:00
Yang Gu
9b0c13d049
test-stk: Add test for run at command parser
2010-05-25 17:28:55 -05:00
Yang Gu
f21e69c7a8
stk: Add parser for run at command commands
2010-05-25 17:19:38 -05:00
Yang Gu
3af4600368
test-stk: Add test for setup idle mode text parser
2010-05-25 17:17:28 -05:00
Yang Gu
525bf96a1b
stk: Add parser for setup idle mode text commands
2010-05-25 17:13:43 -05:00
Andrzej Zaborowski
af2004ece1
simutil: Add MMC MNC pair encoding utility
2010-05-25 16:52:54 -05:00
Denis Kenzior
9cd477fb7a
stkutil: Fix warning
2010-05-25 16:52:54 -05:00
Denis Kenzior
ce449d0929
stkutil: More style issues
...
- Make stk_tlv_builder usage consistent (builder was missing)
- Various style issues
2010-05-25 16:52:54 -05:00
Andrzej Zaborowski
ff67ee8a2e
smsutil: Expose SMS timestamp encoding utility
...
The function can be re-used in stkutil.c, similarly to sms_decode_scts.
2010-05-25 16:52:54 -05:00