Kristen Carlson Accardi [Tue, 13 Jul 2010 12:40:55 +0000 (05:40 -0700)]
test-stkutil: add html attribute tests for setup idle mode tests
Kristen Carlson Accardi [Tue, 13 Jul 2010 12:40:54 +0000 (05:40 -0700)]
test-stkutil: add html attribute test for select_item_test
Kristen Carlson Accardi [Tue, 13 Jul 2010 12:40:53 +0000 (05:40 -0700)]
test-stkutil: add html attribute test for setup_menu_test
Kristen Carlson Accardi [Tue, 13 Jul 2010 12:40:52 +0000 (05:40 -0700)]
test-stkutil: add html attribute tests for play_tone_test
Kristen Carlson Accardi [Tue, 13 Jul 2010 12:40:51 +0000 (05:40 -0700)]
test-stkutil: add html attribute tests for get_input_test
Kristen Carlson Accardi [Tue, 13 Jul 2010 12:40:50 +0000 (05:40 -0700)]
test-stkutil: add html attribute tests for get_inkey_test
Kristen Carlson Accardi [Tue, 13 Jul 2010 12:40:49 +0000 (05:40 -0700)]
test-stkutil: add html attribute test for Display Text tests
Kristen Carlson Accardi [Tue, 13 Jul 2010 12:40:48 +0000 (05:40 -0700)]
test-stkutil: add unit test for html text attributes
Kristen Carlson Accardi [Tue, 13 Jul 2010 12:40:47 +0000 (05:40 -0700)]
stkutil: display text attributes as html
Yang Gu [Tue, 13 Jul 2010 10:30:01 +0000 (18:30 +0800)]
Use specific vendor for phonesim stk
Yang Gu [Tue, 13 Jul 2010 10:30:00 +0000 (18:30 +0800)]
atmodem: phonesim proactive command notification
Yang Gu [Tue, 13 Jul 2010 10:29:59 +0000 (18:29 +0800)]
atmodem: Make fetch command function as external
Denis Kenzior [Tue, 13 Jul 2010 14:51:02 +0000 (09:51 -0500)]
test-sms: Update with a real EMS test
Yang Gu [Fri, 9 Jul 2010 14:52:08 +0000 (22:52 +0800)]
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.
Zhenhua Zhang [Fri, 9 Jul 2010 08:53:51 +0000 (16:53 +0800)]
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.
Denis Kenzior [Thu, 8 Jul 2010 19:27:01 +0000 (14:27 -0500)]
stk: Simplify poll interval logic
Denis Kenzior [Thu, 8 Jul 2010 19:26:34 +0000 (14:26 -0500)]
stk: Be more paranoid of enums from stk
Andrzej Zaborowski [Tue, 6 Jul 2010 22:39:09 +0000 (00:39 +0200)]
stk: Handle the Poll Interval proactive command
Denis Kenzior [Thu, 8 Jul 2010 19:06:01 +0000 (14:06 -0500)]
style: Use more understandable syntax
Denis Kenzior [Thu, 8 Jul 2010 19:02:56 +0000 (14:02 -0500)]
style: No initialization needed here
Denis Kenzior [Thu, 8 Jul 2010 18:55:30 +0000 (13:55 -0500)]
stk: Get rid of gratuitous goto abuse
Denis Kenzior [Thu, 8 Jul 2010 18:53:50 +0000 (13:53 -0500)]
style: Prefer initialized variables on top
Denis Kenzior [Thu, 8 Jul 2010 18:38:48 +0000 (13:38 -0500)]
sms: Refactor ofono_sms_submit introduced by stk
Simplify the logic and get rid of duplicated code
Denis Kenzior [Thu, 8 Jul 2010 14:36:10 +0000 (09:36 -0500)]
sms: Tweak the logic to be more readable
Denis Kenzior [Wed, 7 Jul 2010 20:12:16 +0000 (15:12 -0500)]
stk: Don't submit all pending envelopes at once
Denis Kenzior [Wed, 7 Jul 2010 19:34:38 +0000 (14:34 -0500)]
stk: Fix copy / paste error
Denis Kenzior [Wed, 7 Jul 2010 19:33:32 +0000 (14:33 -0500)]
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.
Denis Kenzior [Wed, 7 Jul 2010 19:28:11 +0000 (14:28 -0500)]
stk: cancelled variable is not used
Andrzej Zaborowski [Tue, 6 Jul 2010 22:39:08 +0000 (00:39 +0200)]
stk: Handle the Timer Management proactive command
Andrzej Zaborowski [Tue, 6 Jul 2010 22:39:05 +0000 (00:39 +0200)]
stk: Handle the Set Up Idle Text proactive command
This adds a SimToolkit dbus interface with just one property
(IdleModeText).
Andrzej Zaborowski [Tue, 6 Jul 2010 22:39:03 +0000 (00:39 +0200)]
stk: Handle the Send SMS proactive command.
Andrzej Zaborowski [Tue, 6 Jul 2010 22:39:02 +0000 (00:39 +0200)]
Add __ofono_sms_submit for other atoms to submit SMs.
Andrzej Zaborowski [Tue, 6 Jul 2010 22:39:07 +0000 (00:39 +0200)]
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.
Andrzej Zaborowski [Tue, 6 Jul 2010 22:39:06 +0000 (00:39 +0200)]
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.
Andrzej Zaborowski [Tue, 6 Jul 2010 22:39:04 +0000 (00:39 +0200)]
Add Dbus interface names for STK.
Andrzej Zaborowski [Tue, 6 Jul 2010 22:39:01 +0000 (00:39 +0200)]
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.
Andrzej Zaborowski [Tue, 6 Jul 2010 22:39:00 +0000 (00:39 +0200)]
atmodem: Make sim operations return sim error codes.
Andrzej Zaborowski [Tue, 6 Jul 2010 22:38:59 +0000 (00:38 +0200)]
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.
Andrzej Zaborowski [Tue, 6 Jul 2010 22:38:58 +0000 (00:38 +0200)]
stk: Handle MoreTime command as a no-op
Andrzej Zaborowski [Tue, 6 Jul 2010 22:38:57 +0000 (00:38 +0200)]
mbmmodem: End session on *STKEND.
Andrzej Zaborowski [Tue, 6 Jul 2010 22:38:56 +0000 (00:38 +0200)]
stk: Utilities for proactive command/envelope handling.
Denis Kenzior [Thu, 8 Jul 2010 18:36:42 +0000 (13:36 -0500)]
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.
Denis Kenzior [Thu, 8 Jul 2010 18:36:26 +0000 (13:36 -0500)]
test-sms: Fix a memory leak
Denis Kenzior [Thu, 8 Jul 2010 16:19:13 +0000 (11:19 -0500)]
TODO: Add CDIP support task
Marcel Holtmann [Wed, 7 Jul 2010 20:41:05 +0000 (17:41 -0300)]
Release 0.24
Pekka Pessi [Tue, 6 Jul 2010 17:17:51 +0000 (20:17 +0300)]
TODO: Voicecall gaps
Pekka Pessi [Tue, 6 Jul 2010 17:17:52 +0000 (20:17 +0300)]
doc: clarify VoiceCallManager SendTones method
Zhenhua Zhang [Wed, 7 Jul 2010 01:46:32 +0000 (09:46 +0800)]
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.
Zhenhua Zhang [Wed, 7 Jul 2010 01:46:31 +0000 (09:46 +0800)]
gatserver: Restore GAtServer disconnect handling
Restore GAtServer disconnect handling when resuming a server session
Zhenhua Zhang [Wed, 7 Jul 2010 00:42:23 +0000 (08:42 +0800)]
test-server: Refactor set_raw_mode
Rename variable 'options' to 'ti' and use sizeof(ti).
Zhenhua Zhang [Mon, 5 Jul 2010 02:59:12 +0000 (10:59 +0800)]
gatserver: Don't free twice after user disconnect
It's possible to free gatserver in user disconnect function. So we
should not free it again.
Zhenhua Zhang [Tue, 6 Jul 2010 06:23:06 +0000 (14:23 +0800)]
test-server: Use cfmakeraw to set TTY raw mode
Use cfmakeraw to disable echoing and special characters processing. If
we don't turn off ICRNL, TTY layer translates \r\n to \n\n.
Zhenhua Zhang [Tue, 6 Jul 2010 09:57:37 +0000 (17:57 +0800)]
gatppp: Check ppp instance before unref it
Marcel Holtmann [Mon, 5 Jul 2010 13:25:33 +0000 (10:25 -0300)]
Also add another rule for Pekka to .mailmap
Marcel Holtmann [Mon, 5 Jul 2010 13:23:52 +0000 (10:23 -0300)]
Update .mailmap rules
Marcel Holtmann [Mon, 5 Jul 2010 13:18:25 +0000 (10:18 -0300)]
Add .mailmap file to fix Luiz's name spelling in git shortlog
Inaky Perez-Gonzalez [Fri, 25 Jun 2010 23:15:23 +0000 (16:15 -0700)]
documentation: add note about referencing standards
Andrzej Zaborowski [Wed, 30 Jun 2010 15:24:16 +0000 (17:24 +0200)]
test-stkutil: Fix always true condition.
Denis Kenzior [Fri, 2 Jul 2010 19:50:05 +0000 (14:50 -0500)]
test-stkutil: Fix some memory leaks
Andrzej Zaborowski [Wed, 30 Jun 2010 15:24:15 +0000 (17:24 +0200)]
stkutil: Move scaddr field to gsm_sms
Zhenhua Zhang [Fri, 2 Jul 2010 03:04:34 +0000 (11:04 +0800)]
huawei: Add Huawei EM770 modem support
Huawei EM770W is a 3G WCDMA modem that supports HSPA/UMTS/EDGE/GPRS/GSM
data service and WCDMA/GSM short message services. It also has voice
call capability that supports both 2G and 3G network.
Zhenhua Zhang [Fri, 2 Jul 2010 03:04:33 +0000 (11:04 +0800)]
huawei: Remove existing Huawei EM770 plugin
Denis Kenzior [Tue, 29 Jun 2010 19:44:20 +0000 (14:44 -0500)]
huawei: cleanup warnings from the previous patch
Kalle Valo [Tue, 29 Jun 2010 07:59:37 +0000 (10:59 +0300)]
PPP GPRS context is now done, update documentation
Kalle Valo [Tue, 29 Jun 2010 07:59:31 +0000 (10:59 +0300)]
huawei: reopen the GPRS context on hup
Huawei always closes the tty port after PPP disconnect. Handle this in
huawei plugin, similarly as done with novatel. Now there's no need
to unplug the modem after disconnection.
Tested with Huawei E1552.
Based on a patch by Marcel Holtmann:
commit
0329a6ceaf8f69857cb5f8437b9db86ca327ef1d
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Mon Jun 7 02:36:12 2010 -0700
Reopen the GPRS context channel when the modem closes it after PPP
Andrzej Zaborowski [Tue, 29 Jun 2010 03:00:27 +0000 (05:00 +0200)]
atmodem: Don't unregister *EPEV in *EPEV handler.
Handlers are called when looping over the unsolicited responses hash,
registering or unregistering modifies that hash and confuses glib.
Pekka Pessi [Tue, 29 Jun 2010 11:06:41 +0000 (14:06 +0300)]
mbm: use CPIN? to check if SIM is missing
AT+CRSM=242 is not supported by all mbm models.
Pekka Pessi [Mon, 28 Jun 2010 18:20:12 +0000 (21:20 +0300)]
Documented Present property in sim-api.txt.
Denis Kenzior [Tue, 29 Jun 2010 17:15:44 +0000 (12:15 -0500)]
gsmdial: Wait for a no carrier before sending CFUN
Denis Kenzior [Tue, 29 Jun 2010 17:12:42 +0000 (12:12 -0500)]
test-server: Send a NO_CARRIER when ppp is done
Denis Kenzior [Tue, 29 Jun 2010 17:01:34 +0000 (12:01 -0500)]
test-server: Update to the new API
Denis Kenzior [Tue, 29 Jun 2010 16:55:18 +0000 (11:55 -0500)]
ppp: Don't accept 0 ip-addr/dns1/dns2
Denis Kenzior [Tue, 29 Jun 2010 16:53:11 +0000 (11:53 -0500)]
ppp: Refactor server-side API
The biggest update here is that the server needs to be in dormant mode
by default, so as not to send a Configure-Req to the peer until the peer
is ready. This requires adding special constructor for LCP to
initialize it to Stopped state instead of initial state.
Along with this, we pass the server local IP directly to the ppp server
constructor.
Denis Kenzior [Tue, 29 Jun 2010 16:50:25 +0000 (11:50 -0500)]
test-server: Update to the new API
Denis Kenzior [Tue, 29 Jun 2010 16:49:40 +0000 (11:49 -0500)]
ppp: Tweak set_server_info API some more
Denis Kenzior [Tue, 29 Jun 2010 16:46:40 +0000 (11:46 -0500)]
hdlc: Stop recording packets to stdout (fd = 0)
Denis Kenzior [Tue, 29 Jun 2010 16:46:20 +0000 (11:46 -0500)]
hdlc: Don't bother recording empty packets
Zhenhua Zhang [Fri, 25 Jun 2010 03:19:09 +0000 (11:19 +0800)]
gsmdial: Configure network interface for PPP
Zhenhua Zhang [Fri, 25 Jun 2010 03:19:08 +0000 (11:19 +0800)]
test-server: Configure network interface
Require ROOT priviledge to:
1. Run external command to configure and bring up network interface.
2. Enable kernel IP forwarding.
Denis Kenzior [Mon, 28 Jun 2010 22:38:54 +0000 (17:38 -0500)]
ppp: Tweak the set_server_info API
Zhenhua Zhang [Fri, 25 Jun 2010 03:19:07 +0000 (11:19 +0800)]
test-server: Add PPP server support
So that gsmdial and wvdial could talk to test-server and establish PPP
connection.
Denis Kenzior [Mon, 28 Jun 2010 17:13:24 +0000 (12:13 -0500)]
ppp: Refactor server RCR action
We need to generate the Conf-Rej / Conf-Nak in the same order as the
client sent us.
Denis Kenzior [Mon, 28 Jun 2010 16:16:20 +0000 (11:16 -0500)]
ppp: Refactor client RCR action
Denis Kenzior [Mon, 28 Jun 2010 16:15:44 +0000 (11:15 -0500)]
ppp: Simplify the logic by re-using code
Denis Kenzior [Mon, 28 Jun 2010 15:21:33 +0000 (10:21 -0500)]
ppp: Minor style tweaks
Zhenhua Zhang [Fri, 25 Jun 2010 03:19:05 +0000 (11:19 +0800)]
atmodem: Update to the new PPP API
Zhenhua Zhang [Fri, 25 Jun 2010 03:19:05 +0000 (11:19 +0800)]
gsmdial: Update to the new API
Zhenhua Zhang [Fri, 25 Jun 2010 03:19:05 +0000 (11:19 +0800)]
gatppp: Add PPP server extension
1. Add interface to set PPP server info by g_at_ppp_set_server_info.
2. Pass local and peer address through IPCP handshaking.
Denis Kenzior [Fri, 25 Jun 2010 22:53:12 +0000 (17:53 -0500)]
sms: Update doc about the default Bearer setting
Denis Kenzior [Fri, 25 Jun 2010 22:49:36 +0000 (17:49 -0500)]
sms: Tweak the Bearer API
Denis Kenzior [Fri, 25 Jun 2010 19:24:10 +0000 (14:24 -0500)]
Update TODO & overview.txt
Denis Kenzior [Fri, 25 Jun 2010 19:21:48 +0000 (14:21 -0500)]
atmodem: Add CGSMS support to sms driver
Denis Kenzior [Fri, 25 Jun 2010 19:21:35 +0000 (14:21 -0500)]
sms: Add support for SMS Bearer settings
Denis Kenzior [Fri, 25 Jun 2010 19:20:23 +0000 (14:20 -0500)]
sms: Add driver API for SMS bearer settings
Denis Kenzior [Fri, 25 Jun 2010 19:25:22 +0000 (14:25 -0500)]
TODO: Add owner
Denis Kenzior [Fri, 25 Jun 2010 17:18:14 +0000 (12:18 -0500)]
gprs: Fix to attachment race condition
Sometimes we get unsolicited attachment status before our query
finishes. If the client is fast enough they can attempt to attach
and get the AttachInProgress error
Denis Kenzior [Fri, 25 Jun 2010 19:12:32 +0000 (14:12 -0500)]
sms: Update API with UseDeliveryReports property
Denis Kenzior [Fri, 25 Jun 2010 01:51:59 +0000 (20:51 -0500)]
hso: Don't query tech if not registered or roaming
{NetworkRegistration} [/hso0] LocationAreaCode = 34591
{NetworkRegistration} [/hso0] CellId = 5903759
{NetworkRegistration} [/hso0] Strength = 32
{NetworkRegistration} [/hso0] Strength = 22
{PrimaryDataContext} [/hso0/primarycontext1] Settings =
dbus.Dictionary({}, signature=dbus.Signature('sv'), variant_level=1)
{PrimaryDataContext} [/hso0/primarycontext1] Active = 0
{DataConnectionManager} [/hso0] Attached = 0
{NetworkRegistration} [/hso0] Status = searching
{NetworkRegistration} [/hso0] Technology = umts <--- Oops
{NetworkOperator} [/hso0/operator/26201] Status = available
{NetworkRegistration} [/hso0] Name =
{NetworkRegistration} [/hso0] Status = registered
{NetworkRegistration} [/hso0] LocationAreaCode = 35342
{NetworkRegistration} [/hso0] CellId = 5903759
{NetworkRegistration} [/hso0] Technology = edge
Denis Kenzior [Thu, 24 Jun 2010 19:24:00 +0000 (14:24 -0500)]
sms: minor style fix
Denis Kenzior [Thu, 24 Jun 2010 19:13:04 +0000 (14:13 -0500)]
sms: Don't bother setting SCA if we can't query