Commit Graph

90 Commits

Author SHA1 Message Date
Sjur Brændeland b0106d1225 Add STE modem support for GPRS PDP Contexts 2010-01-27 12:16:43 -06:00
Marcel Holtmann 802a62287a Fix build breakage from STE modem patches 2010-01-25 21:03:57 +01:00
Sjur Brændeland 1cf63094c5 Add STE modem plugin to build system 2010-01-25 20:59:48 +01:00
Zhenhua Zhang 7145edd3a4 Add gatutil.c to share common APIs with GAtServer
Add gatutil.c/h gat.h and move shared typedef and APIs into it.
So that they can be shared by GAtServer and GAtChat.
2010-01-20 14:13:57 -06:00
Aki Niemi 2617686d4a Fix new and renamed files in Makefile.am 2010-01-11 11:00:30 +02:00
Denis Kenzior b72451ef8c Add unit test for idmap utilities 2010-01-07 13:00:41 -06:00
Denis Kenzior 35cbb135f6 Add initial implementation of idmap utilities 2010-01-07 12:59:51 -06:00
Marcel Holtmann c1bc396cd0 Add set-mic-volume test script to distribution 2009-12-13 22:17:25 +01:00
Martin Xu 4960526aa9 Allow builds to install the test scripts for debugging 2009-12-03 22:11:40 +01:00
Marcel Holtmann df0c6b07a8 Add first version of script for applying GPRS settings 2009-11-24 00:50:06 +01:00
Denis Kenzior 781f9cc0d0 Add initial HSO GPRS context driver 2009-11-18 18:07:10 -06:00
Marcel Holtmann f75930f859 Add test script to deactivate a context 2009-11-18 18:05:35 +01:00
Zhenhua Zhang 28c6bbb558 Add call volume support for hfpmodem
The call volume driver listens the speaker volume and microphone
gain from the AG. It also allow to synchronze the speaker and
microphone volume changes with the AG through AT+VGS and AT+VGM.

Volume level synchronization from HFP spec 1.5 Section 4.28.2
is performed on startup.
2009-11-11 15:53:55 -06:00
Andrzej Zaborowski aad6a76125 Add Palm Pre plugin 2009-11-10 16:29:23 -06:00
Marcel Holtmann 5097439602 Remove GTHREAD_CFLAGS and GTHREAD_LIBS usage 2009-11-10 20:43:47 +01:00
Gustavo F. Padovan 1acd7f8b75 Create network registration driver for hfpmodem
This driver handles phone informations about registration status, signal
strength and roaming status listening +CIEV commands.  It also gets the
Network Operator name with +COPS commands.
2009-11-03 11:49:35 -06:00
Zhenhua Zhang 4a36fc7c82 Add voicecall driver for Bluetooth HFP
HFP voicecall driver uses AT+CIEV indicator to notify call status
update according to Bluetooth HFP spec v1.5. This patch only adds single
call support.
2009-10-28 17:33:33 -05:00
Marcel Holtmann dde6f94406 Add test script for activating the first context 2009-10-25 01:06:45 +09:00
Marcel Holtmann ecc5421957 Add simple test script for creating a context and setting APN 2009-10-25 00:57:32 +09:00
Marcel Holtmann 0516900c72 Add test script for showing primary data contexts 2009-10-25 00:49:08 +09:00
Denis Kenzior a66de6880a Add initial implementation of MBM gprs context 2009-10-23 17:05:56 -05:00
Denis Kenzior d6161ddb61 Add basic atmodem gprs context implementation 2009-10-23 17:05:56 -05:00
Denis Kenzior bb7945d6aa Refactor: Split up GPRS into two atoms
Split up GPRS into two atoms: GPRS and GPRS Context.  GPRS will handle
the areas of GPRS network registration, basic GPRS capability detection
and attach / detach.

GPRS Context will handle setting up / activating / deactivating the
indicidual contexts.

This will allow us to use the generic GPRS atom for most devices while
customizing the GPRS context accordingly.
2009-10-23 17:05:54 -05:00
Denis Kenzior b2fd75014a Refactor: rename data-connection to gprs
Keep the name specific to GSM, other implementations will probably
require their own interfaces
2009-10-23 17:05:53 -05:00
Andrzej Zaborowski f43efa8a5f Add GPRS support
This commit implements the GPRS context setup and teardown according to
doc/dataconnectionmanager-api.txt

One issue with the AT implementation of the api is that "Powered" (a
read-write property) can be set independently of "Attached" (read-only
property) and remain set when "Attached" is clear.  The semantics would
be that the network doesn't have resources to let the modem attach,
but the modem waits for the resources to become available and then
attaches.  On AT the modem is in this state only when executing +CGATT,
so currently the code will rerun +CGATT as soon as the previous one
returns with error, probably starving other commands.  A possible
workaround would be for "Powered" to flip back to False after the modem
fails to attach once, or give up on having separate properties.
Alternatively we could re-try to attach periodically but on one modem
I've tried +CGATT fails after about 1 minute (that's the Calypso) and
on another only about 0.5s (Nokia phones with AT emulation).

When "Powered"  is set and "RoamingAllowed" is clear and we manage to
attach and find that we're roaming, ofono resets "Powered".

We may want to catch the user trying to dial *99***1# which is the
backwards compatibility quirk for old modems (same way ofono parses
USSD strings).
2009-10-23 17:05:53 -05:00
Denis Kenzior f726596860 Rename: drivers/hfpmodem/hfp.[ch] to hfpmodem.[ch]
Be more consistent with other drivers
2009-10-19 22:13:19 -05:00
Zhenhua Zhang fb0c157c11 Add initial glue code for hfp driver 2009-10-19 15:48:07 -05:00
Pekka Pessi 86b6cd91c9 isimodem/voicecall.c: initial version
Implementing all the voicecall methods. Tested with Nokia 2008 modems.

 - problems in call creation are probably not reported properly
 - deflect not implemented in modem, not properly tested

TODO: Clean up style issues and align with other drivers.
2009-10-16 11:18:52 +03:00
Alexander Kanavin a781e3b1d9 Add isimodem drivers for call barring, forwarding and waiting 2009-10-14 22:05:13 +03:00
Denis Kenzior 6a78e402d3 Replace g_at_chat_new_from_tty with g_at_tty_open 2009-10-01 16:43:19 -05:00
Denis Kenzior 13c46b9781 Add at modem call volume driver 2009-09-29 14:56:22 -05:00
Zhenhua Zhang f5e24369ca Add call volume interface to adjust speaker and mic volume 2009-09-29 14:56:21 -05:00
Marcel Holtmann 60478c086c Fix build issue with example history plugin 2009-09-25 14:12:59 -07:00
Marcel Holtmann 81f2f74dfd Add some more test scripts for SMS and voice call testing 2009-09-25 14:04:43 -07:00
Marcel Holtmann b794eea2d5 Add oFono whitepaper to distribution 2009-09-24 16:55:43 -07:00
Aki Niemi 8bbd9a8560 gisi: Add ISI version and reachability check API
This patch adds an API for querying the ISI version of the resource
with which the client is associated. This information is only
available after g_isi_verify() has been called on the client. This is
because we use the version query message as a vehicle for reachability
checking.
2009-09-15 15:35:47 +03:00
Aki Niemi dec66954b6 gisi: Add ISI sub-block iterator 2009-09-14 14:34:00 +03:00
Aki Niemi bc7df10c92 Add preliminary CBS driver 2009-09-14 12:51:48 +03:00
Denis Kenzior 32fc30fa02 Refactor various watch functions
Use a common core kernel for all the watcher registrations /
notifications.  This is now done in watch.c
2009-09-11 12:39:53 -05:00
Denis Kenzior 6b91b3563b Add atmodem cell broadcast driver 2009-09-10 16:13:16 -05:00
Denis Kenzior 78b853a97d Add initial Cell Broadcast atom implementation 2009-09-10 16:13:16 -05:00
Andrzej Zaborowski 06ea6137a3 Write state of SMS assembly to disk and restore on startup.
This way we can continue receiving segmented messages over a reset or
crash.
2009-09-08 14:44:39 -05:00
Andrzej Zaborowski 17cb0ce3c4 Move create_dirs to storage.c, add file read/write utilities 2009-09-08 13:34:07 -05:00
Marcel Holtmann 7b00e73caf Update test program for GAtMux API 2009-09-08 09:05:56 +02:00
Marcel Holtmann c9ba0e7df5 Integrate the multiplexer into the AT chat library 2009-09-06 00:25:16 +02:00
Marcel Holtmann ec69d1abd0 Add skeleton for AT multiplexer API 2009-09-05 11:52:31 +02:00
Marcel Holtmann 6dae50d8e5 Add unit testing tool for GSM 07.10 multiplexer 2009-09-05 07:46:50 +02:00
Marcel Holtmann 12a3efe911 Enable compilation of GSM 07.10 code 2009-09-05 07:25:31 +02:00
Denis Kenzior 7362878e6c Add calypso voicecalls driver 2009-09-04 20:37:50 -05:00
Denis Kenzior af8b6cdbcc Fix distcheck 2009-09-04 20:37:49 -05:00