11
0
Fork 0
mirror of git://git.sysmocom.de/ofono synced 2024-08-20 09:42:10 +00:00
Commit graph

521 commits

Author SHA1 Message Date
Pekka Pessi
3ddc7ab7c3 gisi: add gisi server API 2010-04-20 17:47:16 +03:00
Aki Niemi
144b30ac6d Add isimodem gprs context driver 2010-04-20 14:16:26 +03:00
Aki Niemi
a7989b7cbb Add isimodem gprs driver 2010-04-20 14:16:18 +03:00
Aki Niemi
f62f6076c1 Add PN_GPDS code points and debugging 2010-04-20 14:11:07 +03:00
Andrzej Zaborowski
14bcca32c0 Implement STATUS polling in atmodem driver. 2010-04-15 16:49:43 -05:00
Andrzej Zaborowski
b34c35d822 Add AT driver for STK atom. 2010-04-15 16:49:42 -05:00
Andrzej Zaborowski
aad4d0de78 Add Sim Toolkit atom
- Add ofono_stk atom in stk.c
- Move envelope command from sim driver to stk driver
2010-04-15 16:49:40 -05:00
Marcel Holtmann
20b394e72b Add abstraction for HDLC stream handling 2010-04-10 15:11:46 +02:00
Marcel Holtmann
8cd991b81f Add skeleton for QCDM test program 2010-04-10 01:33:47 +02:00
Marcel Holtmann
df9723db02 Move CRC-CCITT table and helper into separate file 2010-04-09 17:08:30 +02:00
Denis Kenzior
1ed6966cb4 Split out ipcp protocol into ppp_ipcp.c 2010-04-02 12:53:45 -05:00
Marcel Holtmann
6607b5985e Move functions from ppp.c into gatppp.c 2010-04-01 20:33:03 -07:00
Marcel Holtmann
9ee614b64b Check for capabilities support via libcap-ng 2010-03-29 11:06:04 -07:00
Kristen Carlson Accardi
a84fc350b4 IP support for PPP
Adds IPCP support, and creates a TUN interface for sending/receiving IP
packets.
2010-03-22 17:28:23 -07:00
Kristen Carlson Accardi
6cb22fe096 CHAP with MD5 authentication support
Authentication support with CHAP and MD5
2010-03-22 17:28:23 -07:00
Kristen Carlson Accardi
cd5ddc2bee PPP LCP support
Implement LCP support for the PPP protocol.
2010-03-22 17:28:23 -07:00
Kristen Carlson Accardi
31e99d9d78 Generic PPP control protocol support
Implement a generic protocol that can be shared by both the LCP and the
NCP implementation.
2010-03-22 17:28:23 -07:00
Kristen Carlson Accardi
d38443482f Basic PPP protocol support
This patch implements the basic PPP protocol.  LCP, NCP etc. are handled in
a different patch.
2010-03-22 17:28:23 -07:00
Yang Gu
d26e71a06a Add support of Huawei EM770 modem
Comparing with general Huawei modem, EM770 is a full feature modem that
supports voicecall, phonebook, call forwarding, call barring, etc.
2010-03-16 01:33:23 -07:00
Denis Kenzior
c26619539d Update unit test for USAT display text command 2010-02-23 17:11:29 -06:00
Denis Kenzior
d35d290702 Add stub for unit test for Sim Toolkit utils 2010-02-18 16:20:30 -06:00
Denis Kenzior
9aeed6dbcc Add stubs files for Sim Toolkit Utilities 2010-02-17 15:10:33 -06:00
Aki Niemi
dfab0764da Add isimodem radio settings driver 2010-02-04 23:43:18 +02:00
Aki Niemi
bf6195f0c2 Add PN_GSS codepoints and debugging 2010-02-04 23:43:18 +02:00
Aki Niemi
8d4004d182 Add radio settings atom and driver API
This interface exposes a read-write property for radio access technology
selection mode.
2010-02-04 23:43:18 +02:00
Zhenhua Zhang
de154c6897 Add test case for GAtServer
To implement PTY, TCP, Unix socket example to create GAtServer
instance.
2010-02-01 17:59:28 -06:00
Zhenhua Zhang
df7b1b30dc Add GAtServer basic parsing support
It's the basic skeleton of GAtServer, including new/shutdown, ref/
unref, received_data/parse_buffer and set_discuss/set_debug.

GAtServer is to emulate the server side of AT conversation. It
complies with V.250 and 27.007 spec to accept AT command like
ATV1, ATE0 and extended command like AT+CLCC. Upper layer could
create customize server to expose TTY, tcp or unix socket to
client side application.
2010-02-01 17:59:27 -06:00
Denis Kenzior
337b0367ee Style: Put voicecall before gprs 2010-01-28 15:08:23 -06:00
Sjur Brændeland
ddd5582a54 Add STE voice call support. 2010-01-28 15:08:23 -06:00
Marcel Holtmann
badca24c5a Add plugin for static CAIF device detection 2010-01-28 11:58:35 +01:00
Marcel Holtmann
648eded47e Add simple unit test for CAIF sockets 2010-01-28 11:25:54 +01:00
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
Denis Kenzior
5749b6e75d Break common at utilities to atutils.c/.h 2009-09-04 20:37:49 -05:00
Marcel Holtmann
f84a37bb00 Add plugin for generic AT testing modem driver 2009-09-05 03:01:02 +02:00
Marcel Holtmann
7434ab6e81 Add example modem configuration for TI Calypso based devices 2009-09-04 19:08:41 +02:00
Denis Kenzior
5cbf388d30 Add calypso plugin 2009-09-03 23:20:22 -05:00
Marcel Holtmann
d9afc75ce3 Add basic support for Option HSO based devices 2009-09-03 01:10:40 -07:00
Marcel Holtmann
4b9b44f818 Add basic support for Novatel based devices 2009-09-03 00:50:47 -07:00
Marcel Holtmann
bdad83d831 Add basic support for Huawei based devices 2009-09-03 00:22:06 -07:00
Marcel Holtmann
b6acdcf905 Add udev rules to identify modem driver 2009-09-02 22:21:42 -07:00
Marcel Holtmann
546af9c005 Fix some minor issues with storage directory 2009-09-02 20:11:30 -07:00
Marcel Holtmann
a05c9f173d Fixing missing vendor.h in distribution 2009-09-02 19:40:17 -07:00
Marcel Holtmann
9c45f2e74b Remove generic_at plugin 2009-09-02 19:30:21 -07:00
Marcel Holtmann
f81fcb66ea Remove the async TTY open helper and just use a blocking one 2009-09-02 19:18:41 -07:00
Marcel Holtmann
959a90b7e8 Add a separate plugin for connection to phone simulator 2009-09-02 18:56:46 -07:00
Andres Salomon
7b9f0773fa G1: Add initial HTC G1 modem support
G1 plugin is based on generic_at, with a bunch of stuff dropped
and simplified.  We use AT+CFUN=1 for powering on rather than having
a configurable init string.  We also manually set the default state
during init (the G1 appears to start in mode V0 by default).  The
device (/dev/smd0) is hardcoded.
2009-09-02 16:07:36 -07:00
Marcel Holtmann
e555445f23 Add example for modem.conf and install it if requested 2009-09-02 15:18:10 -07:00
Marcel Holtmann
9177c1dd86 Add skeleton for plugin to handle static modem configurations 2009-09-02 14:41:47 -07:00
Denis Kenzior
31af3db152 Update makefile.am with new doc files 2009-09-02 14:31:17 -05:00
Marcel Holtmann
7aec65b526 Add test script for listing all operator details 2009-09-02 03:58:27 -07:00
Marcel Holtmann
3d2d259578 Add test script to monitor all PropertyChanged signals 2009-09-02 03:48:46 -07:00
Marcel Holtmann
57dce83f0f Add two extra test programs for modem interface 2009-09-02 03:35:09 -07:00
Marcel Holtmann
9deaa6e70f Add initial plugin for Ericsson MBM devices 2009-09-02 03:19:02 -07:00
Marcel Holtmann
d8282ec589 Add first steps for a udev based modem detection plugin 2009-09-01 18:54:27 -07:00
Aki Niemi
74782318bd Rename all files under drivers/isimodem/ 2009-08-25 14:04:42 +03:00
Marcel Holtmann
70aab2a826 Convert to fully non-recursive build system 2009-08-24 23:49:40 -07:00
Marcel Holtmann
d9a2bb1337 Use proper variables for various commands 2009-08-24 18:51:39 -07:00
Aki Niemi
a2693f1561 Fix make distcheck and clear GISI build flags when disabled 2009-08-20 14:18:30 +03:00
Aki Niemi
b60aead245 Add configure switch to disable PhoNet/ISI support 2009-08-20 11:08:25 +03:00
Marcel Holtmann
02d08acb3e Use proper automake subdirectory options 2009-08-16 14:45:01 -07:00
Aki Niemi
e5f0290ddb Rename ISI client and PhoNet netlink APIs
- Add g_ prefix to functions
- Add G-prefix and use CamelCasing in types
2009-06-15 11:27:16 +03:00
Rémi Denis-Courmont
8e79f89046 Phonet Netlink helpers
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
2009-06-11 21:50:09 +03:00
Marcel Holtmann
c0cda597a3 Fix problem with unit tests and distcheck 2009-05-12 20:35:25 -07:00
Denis Kenzior
c7c793ac80 Add directory with unit tests
Includes tests for SS parser, utility functions and SMS PDU
decoder / encoder utilities.
2009-05-12 20:22:20 -07:00
Marcel Holtmann
0acaee5e1e Add directory for driver plugins 2009-05-10 22:44:37 -07:00
Marcel Holtmann
f2e2cd7787 Add support for builtin plugins 2009-05-10 22:35:29 -07:00
Marcel Holtmann
4ea27466bf Add directory for AT chat library 2009-05-06 14:42:51 -07:00
Marcel Holtmann
0798e99445 Add option for disabling data files 2009-05-05 18:57:50 -07:00
Marcel Holtmann
43182c00e4 Add directory for documentation 2009-04-27 05:51:03 -07:00
Marcel Holtmann
a20f3ce8d2 Add directories for source code, header files and plugins 2009-04-26 20:54:47 +02:00
Marcel Holtmann
7851155b80 Add D-Bus helper library for GLib integration 2009-04-26 20:51:36 +02:00
Marcel Holtmann
2c5ddf34d8 Initial revision 2009-04-26 20:31:15 +02:00