Denis Kenzior [Fri, 4 Dec 2009 22:19:41 +0000 (16:19 -0600)]
Refactor: Remove list_calls from voicecall driver
Marcel Holtmann [Thu, 3 Dec 2009 21:13:27 +0000 (22:13 +0100)]
Mention Martin's contributions
Martin Xu [Thu, 3 Dec 2009 09:05:41 +0000 (17:05 +0800)]
Allow builds to install the test scripts for debugging
Denis Kenzior [Thu, 3 Dec 2009 06:42:59 +0000 (00:42 -0600)]
Fix: Exit right away
If no plugin needs to run the eventloop to shutdown cleanly, exit right
away.
Denis Kenzior [Thu, 3 Dec 2009 06:26:20 +0000 (00:26 -0600)]
Add unit test for max message size encoding
Denis Kenzior [Thu, 3 Dec 2009 02:10:18 +0000 (20:10 -0600)]
Fix: Be a bit more signal-handler safe
Denis Kenzior [Thu, 3 Dec 2009 01:24:37 +0000 (19:24 -0600)]
Fix: Paste error
Denis Kenzior [Thu, 3 Dec 2009 01:08:31 +0000 (19:08 -0600)]
When SIGTERM is received, run the event loop
This feature will continue running the event loop for another 10 seconds
or so or until all the modems have been shut down. This will allow the
modem drivers to properly shutdown their respective devices.
Denis Kenzior [Wed, 2 Dec 2009 23:56:28 +0000 (17:56 -0600)]
Fix: Convert PalmPre plugin to new world order
Denis Kenzior [Wed, 2 Dec 2009 23:56:14 +0000 (17:56 -0600)]
Fix: Convert Novatel plugin to new world order
Denis Kenzior [Wed, 2 Dec 2009 23:56:05 +0000 (17:56 -0600)]
Fix: Convert MBM plugin to new world order
Denis Kenzior [Wed, 2 Dec 2009 23:55:53 +0000 (17:55 -0600)]
Fix: Convert Huawei plugin to new world order
Denis Kenzior [Wed, 2 Dec 2009 23:55:40 +0000 (17:55 -0600)]
Fix: Convert HSO plugin to new world order
Denis Kenzior [Wed, 2 Dec 2009 23:55:18 +0000 (17:55 -0600)]
Fix: Convert G1 plugin to new world order
Denis Kenzior [Wed, 2 Dec 2009 23:30:26 +0000 (17:30 -0600)]
Refactor: Set powered to false if disable timedout
Denis Kenzior [Wed, 2 Dec 2009 23:27:58 +0000 (17:27 -0600)]
Add g_at_chat_unregister_all function
Denis Kenzior [Wed, 2 Dec 2009 21:43:08 +0000 (15:43 -0600)]
Fix: unregister modem when unregistering driver
Denis Kenzior [Wed, 2 Dec 2009 21:40:45 +0000 (15:40 -0600)]
Refactor: modem de-registration
Denis Kenzior [Wed, 2 Dec 2009 21:33:25 +0000 (15:33 -0600)]
Fix: Remove all atoms when attempting to power off
The current behavior is to remove atoms when the modem has powered off
successfully. The modem driver must now take special precautions to
cancel all pending actions of the atom drivers, since they would have
been destroyed.
Denis Kenzior [Wed, 2 Dec 2009 21:28:44 +0000 (15:28 -0600)]
Add: g_at_chat_cancel_all function
This will cancel all commands currently queued.
Denis Kenzior [Wed, 2 Dec 2009 21:27:26 +0000 (15:27 -0600)]
Fix: Sometimes it is possible to cancel first cmd
Commands on the head of the queue can be canceled if none of its bytes
have actually been written to the modem. This is tracked by
cmd_bytes_written variable.
Denis Kenzior [Wed, 2 Dec 2009 21:26:56 +0000 (15:26 -0600)]
Fix: Don't allow cancelation of command id 0
Marcel Holtmann [Wed, 2 Dec 2009 17:58:50 +0000 (18:58 +0100)]
Release 0.12
Denis Kenzior [Wed, 2 Dec 2009 15:55:57 +0000 (09:55 -0600)]
Fix: Store refs as 16 bits, not 8
Refs are handled as 16 bits properly everywhere, yet are stored as 8
bits in the assembly.
Denis Kenzior [Wed, 2 Dec 2009 04:53:45 +0000 (22:53 -0600)]
Fix: Don't forget to cleanup the atom watch
Denis Kenzior [Wed, 2 Dec 2009 02:38:26 +0000 (20:38 -0600)]
Fix: Make sure to never overflow DNS variable
Denis Kenzior [Wed, 2 Dec 2009 01:38:44 +0000 (19:38 -0600)]
Fix: Poll ENAP on older mbm hardware
Denis Kenzior [Tue, 1 Dec 2009 23:36:48 +0000 (17:36 -0600)]
Style: Fix whitespace
Denis Kenzior [Tue, 1 Dec 2009 23:35:30 +0000 (17:35 -0600)]
Fix: Fix parsing in MBM
Denis Kenzior [Tue, 1 Dec 2009 23:25:20 +0000 (17:25 -0600)]
Add experimental support for E2IPCFG
Denis Kenzior [Tue, 1 Dec 2009 23:24:50 +0000 (17:24 -0600)]
Fix: Don't decode error unnecessarily
Denis Kenzior [Tue, 1 Dec 2009 22:08:12 +0000 (16:08 -0600)]
Fix: Add username/password support to mbm context
Denis Kenzior [Tue, 1 Dec 2009 22:05:20 +0000 (16:05 -0600)]
Fix: Make sure we don't overflow the buffer
Denis Kenzior [Tue, 1 Dec 2009 18:38:14 +0000 (12:38 -0600)]
Fix: Force calypso to return to command mode ASAP
Calypso firmware is just bizarre. It seems that if anything is sent
before CPI=3 to the DLC handling voice commands, the ATD will not return
to command mode immediately, but instead wait until connected / failed
condition occurs.
If CPI=3 is sent first, then calypso will go to command mode immediately
after ATD is issued and report CPI indications as usual.
Denis Kenzior [Tue, 1 Dec 2009 18:18:32 +0000 (12:18 -0600)]
Fix: Remove duplicate atoms from calypso plugin
Denis Kenzior [Tue, 1 Dec 2009 18:18:06 +0000 (12:18 -0600)]
Fix: Simplify logic to use g_memdup
Denis Kenzior [Tue, 1 Dec 2009 18:17:38 +0000 (12:17 -0600)]
Fix: Disable echo on all calypso DLCs
Denis Kenzior [Tue, 1 Dec 2009 18:17:09 +0000 (12:17 -0600)]
Fix: Be more signed/unsigned correct
Denis Kenzior [Tue, 1 Dec 2009 18:04:14 +0000 (12:04 -0600)]
Style: Use unsigned int instead of unsigned
Zhenhua Zhang [Fri, 27 Nov 2009 09:11:56 +0000 (17:11 +0800)]
Fix: Reset call_ids when modem is powered off
Denis Kenzior [Thu, 26 Nov 2009 13:40:38 +0000 (07:40 -0600)]
Update calypso plugin to the new wakeup handling
Denis Kenzior [Thu, 26 Nov 2009 13:38:51 +0000 (07:38 -0600)]
Fix: Retry the wakeup command until the modem OKs
The calypso is weird where it doesn't actually wakeup on the first try,
we need to bang its head a few times until it responds
Denis Kenzior [Thu, 26 Nov 2009 13:37:50 +0000 (07:37 -0600)]
Fix: Make Calypso handling a bit better
Denis Kenzior [Thu, 26 Nov 2009 13:37:08 +0000 (07:37 -0600)]
Fix: None of this seems necessary for the Calypso
Marko Saukko [Wed, 25 Nov 2009 07:38:25 +0000 (09:38 +0200)]
Add udev rules for Option GI0201 and GTM382 modems
Zhenhua Zhang [Wed, 25 Nov 2009 05:48:43 +0000 (13:48 +0800)]
Fix: Move CHLD from voicecall driver to plugin
According HFP v1.5 spec, AT+CHLD=? should be a part of SLC
connection. So we should not do it after SLC connection is
created.
Zhenhua Zhang [Wed, 25 Nov 2009 05:47:16 +0000 (13:47 +0800)]
Fix: Order of CMER and CIND in SLC connection
According to the HFP 1.5 specification the order of commands is actually
important. The required sequence is to use CIND=?, CIND? and then CMER.
Currently oFono issues commands in the order of CIND=?, CMER, CIND?
Zhenhua Zhang [Wed, 25 Nov 2009 05:43:27 +0000 (13:43 +0800)]
Fix: Add check for register_auto method
Add check for register_auto method to avoid crash. HFP backend
does not provide implementation for register_auto.
Martin Xu [Wed, 4 Nov 2009 05:33:40 +0000 (13:33 +0800)]
Fix: handle weird Dell 5530 mbm card network name
Zhigang Li [Tue, 24 Nov 2009 20:48:44 +0000 (14:48 -0600)]
Fix: Send all SMS segments
Marcel Holtmann [Tue, 24 Nov 2009 17:08:46 +0000 (18:08 +0100)]
Move g_at_chat_add_terminator after chat object is verified
Yang Gu [Tue, 24 Nov 2009 15:56:05 +0000 (23:56 +0800)]
Support Huawei specific terminator
Yang Gu [Tue, 24 Nov 2009 15:55:45 +0000 (23:55 +0800)]
Framework to support non-standard terminator
Denis Kenzior [Tue, 24 Nov 2009 01:56:41 +0000 (19:56 -0600)]
Fix: Change order of init commands
This seems to make the calypso return from ATD right away instead of
waiting for connect/busy to be returned. It should now be possible to
hangup alerting calls.
Denis Kenzior [Tue, 24 Nov 2009 01:56:24 +0000 (19:56 -0600)]
Fix: Make sure we don't gobble up unsolicited
Denis Kenzior [Tue, 24 Nov 2009 01:55:59 +0000 (19:55 -0600)]
Fix: Make sure we don't gobble up unsolicited
Denis Kenzior [Tue, 24 Nov 2009 01:55:16 +0000 (19:55 -0600)]
Fix: Try sending AT<CR>
Sometimes <CR> doesn't work
Marcel Holtmann [Tue, 24 Nov 2009 00:06:55 +0000 (01:06 +0100)]
Release 0.11
Marcel Holtmann [Mon, 23 Nov 2009 23:50:06 +0000 (00:50 +0100)]
Add first version of script for applying GPRS settings
Marcel Holtmann [Mon, 23 Nov 2009 23:27:22 +0000 (00:27 +0100)]
Get rid of the pointless checks before g_free in GPRS engine
Marcel Holtmann [Mon, 23 Nov 2009 23:26:09 +0000 (00:26 +0100)]
Add support bringing GPRS interfaces up and down as needed
Martin Xu [Sat, 21 Nov 2009 10:56:48 +0000 (18:56 +0800)]
Emit settings signal before active signal
Zhenhua Zhang [Mon, 23 Nov 2009 06:06:53 +0000 (14:06 +0800)]
Add mpty field to ofono_call
A field 'mpty' is added to ofono_call so that we can know
whether the call belongs to multiparty call or not. According
to 27.007 7.18, it is a defined return value of AT+CLCC.
Zhenhua Zhang [Wed, 18 Nov 2009 06:55:15 +0000 (14:55 +0800)]
Fix: Poll CLCC to replace the code in call_held=1
When using CHLD=2x in multiparty call, call_held is 1 and we
should not swap all active->held. So we cannot save this pull
in private chat.
Marcel Holtmann [Thu, 19 Nov 2009 03:52:09 +0000 (04:52 +0100)]
Add pretty decoding for DomainNameServers settings
Denis Kenzior [Thu, 19 Nov 2009 00:03:05 +0000 (18:03 -0600)]
Fix: warnings
Denis Kenzior [Wed, 18 Nov 2009 23:58:15 +0000 (17:58 -0600)]
Turn off echo on HSO modems
Denis Kenzior [Wed, 18 Nov 2009 23:58:07 +0000 (17:58 -0600)]
Get rid of a few debugs
Denis Kenzior [Wed, 18 Nov 2009 23:43:54 +0000 (17:43 -0600)]
Make HSO context driver use OWANCALL/OWANDATA
Denis Kenzior [Wed, 18 Nov 2009 23:43:45 +0000 (17:43 -0600)]
Add CALLBACK_WITH_SUCCESS
Denis Kenzior [Wed, 18 Nov 2009 23:13:28 +0000 (17:13 -0600)]
Parse the weird response of _OWANDATA
The strings are unquoted and preceded by space. Don't these people read
specs?
Denis Kenzior [Wed, 18 Nov 2009 23:11:43 +0000 (17:11 -0600)]
Make HSO modem driver use App & Control ports
The Application port gets all unsolicited notifications except for
OWANCALL notifications. In turn only the Control port gets OWANCALL
notifications.
This means that we run GPRS Context control on the Control port and
network registration / sms on the application port
Denis Kenzior [Wed, 18 Nov 2009 23:11:13 +0000 (17:11 -0600)]
Make HSO support detect Application & Control port
Denis Kenzior [Wed, 18 Nov 2009 23:10:25 +0000 (17:10 -0600)]
Fix: Use none_prefix
Do not eat up unsolicited notifications that might arrive as a result of
CFUN=0
Denis Kenzior [Wed, 18 Nov 2009 22:34:32 +0000 (16:34 -0600)]
Fix: Properly send & parse _OWANDATA
Denis Kenzior [Wed, 18 Nov 2009 22:34:06 +0000 (16:34 -0600)]
Fix: Send username and password properly
Denis Kenzior [Wed, 18 Nov 2009 22:28:47 +0000 (16:28 -0600)]
Add disable-modem script
Denis Kenzior [Wed, 18 Nov 2009 21:26:23 +0000 (15:26 -0600)]
Add initial HSO GPRS context driver
Marcel Holtmann [Wed, 18 Nov 2009 21:37:46 +0000 (22:37 +0100)]
Decode the settings information of a context
Marcel Holtmann [Wed, 18 Nov 2009 21:37:25 +0000 (22:37 +0100)]
Add some extra pretty decoding to monitor script
Denis Kenzior [Wed, 18 Nov 2009 19:25:35 +0000 (13:25 -0600)]
Update docs with new Errors
Denis Kenzior [Wed, 18 Nov 2009 19:24:20 +0000 (13:24 -0600)]
Report AttachInProgress Error
If one tries to activate a context and we're currently attaching or
detaching from GPRS, report the AttachInProgress error
Denis Kenzior [Wed, 18 Nov 2009 19:23:13 +0000 (13:23 -0600)]
Refactor: Send NotAttached error
If one tries to activate the context and we're currently not attached to
GPRS, report a NotAttached error instead of a failure
Denis Kenzior [Wed, 18 Nov 2009 19:02:26 +0000 (13:02 -0600)]
Fix: Report status & tech in hfpmodem
Denis Kenzior [Wed, 18 Nov 2009 19:02:02 +0000 (13:02 -0600)]
Fix: Report the current operator as current
Denis Kenzior [Wed, 18 Nov 2009 18:52:29 +0000 (12:52 -0600)]
Update network API
Denis Kenzior [Wed, 18 Nov 2009 18:49:26 +0000 (12:49 -0600)]
Add ProposeScan method
This is the replacement for automatic operator scanning
Denis Kenzior [Wed, 18 Nov 2009 18:28:45 +0000 (12:28 -0600)]
Fix: Use a different function for initial register
Just in case pending variable gets set to something
Denis Kenzior [Wed, 18 Nov 2009 18:21:45 +0000 (12:21 -0600)]
Refactor: Reshuffle bit flags
Denis Kenzior [Wed, 18 Nov 2009 18:21:30 +0000 (12:21 -0600)]
Refactor: Remove period operator scan
Denis Kenzior [Wed, 18 Nov 2009 18:20:39 +0000 (12:20 -0600)]
Refactor: Get rid of PENDING flag in netreg
Denis Kenzior [Wed, 18 Nov 2009 18:08:47 +0000 (12:08 -0600)]
Fix: modem _disable needs to send the CFUN
For PalmPre driver
Denis Kenzior [Wed, 18 Nov 2009 18:08:37 +0000 (12:08 -0600)]
Fix: modem _disable needs to send the CFUN
For Novatel driver
Denis Kenzior [Wed, 18 Nov 2009 18:08:26 +0000 (12:08 -0600)]
Fix: modem _disable needs to send the CFUN
For MBM driver
Denis Kenzior [Wed, 18 Nov 2009 18:08:14 +0000 (12:08 -0600)]
Fix: modem _disable needs to send the CFUN
For Huawei driver
Denis Kenzior [Wed, 18 Nov 2009 18:07:59 +0000 (12:07 -0600)]
Fix: modem _disable needs to send the CFUN
For HSO driver
Denis Kenzior [Wed, 18 Nov 2009 18:07:14 +0000 (12:07 -0600)]
Fix: modem _disable needs to send the CFUN
For G1 Driver
Marcel Holtmann [Wed, 18 Nov 2009 17:05:35 +0000 (18:05 +0100)]
Add test script to deactivate a context
Denis Kenzior [Wed, 18 Nov 2009 16:34:23 +0000 (10:34 -0600)]
Implement CGREG query
Some modems do not properly send CGREG notifications when the context is
attached / detached. We manually query the registration state of GPRS
to make sure that if the modem is indeed attached, the state is
reflected properly
Denis Kenzior [Wed, 18 Nov 2009 16:34:00 +0000 (10:34 -0600)]
Refactor: Move functions up to avoid declaration