Commit Graph

35 Commits

Author SHA1 Message Date
Giacinto Cifelli 93caa4ceef include: move auth_method and proto enumerations
ofono_gprs_proto and ofono_gprs_auth_method, and related length consts,
moved to types.h from gprs-context.h,
so that they can be shared also with lte core functions
2018-10-09 15:06:36 -05:00
Slava Monich 7af423dbb7 include: Add OFONO_ERROR_TYPE_ERRNO 2018-06-28 11:35:10 -05:00
Alfonso Sanchez-Beato ab9fedc6ef include: Add definitions for phone number types 2015-10-13 16:01:09 -05:00
Denis Kenzior 7c05426d8b include: Remove hfp bits from types.h 2013-04-09 14:33:41 -05:00
Marcel Holtmann 7e6afe37bf core: Update copyright information 2011-10-10 13:39:42 -07:00
Denis Kenzior d34727512c include: Minor style tweaks 2011-09-08 03:42:19 -05:00
Frédéric Danis f52faaecde include: update HFP features types to version 1.6 2011-09-08 03:28:14 -05:00
Frédéric Danis 6063c54933 include: add HFP features types for HF and AG 2011-06-20 04:18:11 -05:00
Jeevaka Badrappan 99f8e93ba8 include: fix comment on dst value 2011-02-02 10:43:37 -06:00
Lucas De Marchi 7ff5365583 include: define initializer for ofono_call
Some fields in struct ofono_call such as cnap_validity and clip_validity
are not correctly initialized as 0 since this means they are present. If
driver does not implement the necessary handlers, it might send to core
an ofono_call signalling that cnap and clip are available when they are
actually not.
2011-02-01 18:30:44 +01:00
Jeevaka Badrappan 12c3cf6969 voicecall: remove ofono_cug_option 2011-01-26 16:38:15 -06:00
Rafael Ignacio Zurita 78c1e96bf9 types: extend OFONO_MAX_PHONE_NUMBER_LENGTH 2011-01-25 14:12:24 -06:00
Lucas De Marchi a3438e0c6d include: add cdip field in ofono_call 2011-01-18 16:09:27 -06:00
Jeevaka Badrappan 58574e61bc include: remove unused mpty from ofono_call 2011-01-13 12:31:56 -06:00
Dara Spieker-Doyle f108eb79c3 types: Add CDMA Phone Number 2010-12-20 14:47:23 -06:00
Gustavo F. Padovan a793c18c29 include: add CNAP types to ofono_call structure 2010-12-16 18:40:17 -06:00
Denis Kenzior 04634af6fe common: Implement ofono_uuid_to_str 2010-09-21 08:44:48 -05:00
Denis Kenzior 5a336a1cfb include: Introduce ofono_uuid 2010-09-21 08:44:47 -05:00
Andrzej Zaborowski 30e16fb5ca 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.
2010-07-08 14:27:33 -05:00
Denis Kenzior bbd6a1d48a sim: No need for this define 2010-05-19 23:47:41 -05:00
Daniel Wagner b338033307 Read EF_ICCID property of SIM
Tested with phonesim.
2010-05-19 23:41:03 -05:00
Aki Niemi b8ec7553ef Add network time support
Adding a new notify function in the netreg atom for notifying a
received Network Identification and Timezone (NITZ) indication. This
data is consumed via a nettime plugin, of which there is also an
example.
2010-05-19 10:46:18 +03:00
Marcel Holtmann 144080e749 Update copyright information 2010-01-01 17:00:10 -08:00
Denis Kenzior 55572b6e69 Style: Use unsigned int instead of unsigned 2009-12-01 12:42:23 -06:00
Zhenhua Zhang f3fe75553a 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.
2009-11-23 09:04:48 +01:00
Denis Kenzior 88c0f77a58 Refactor: First round of renaming 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 9f27be58bc Move some stuff around 2009-09-22 00:07:06 -05:00
Andrzej Zaborowski ee02b14836 Do PIN authentication
This adds checking whether PIN is required during SIM initialisation and
delaying the sim ready notifications until after correct PIN is given.
2009-09-22 00:07:06 -05:00
Denis Kenzior 038251eac5 Introduce the Modem driver API 2009-08-21 19:25:51 -05:00
Denis Kenzior 04c12038ba Evolve the voicecall driver 2009-08-19 18:35:08 -05:00
Denis Kenzior a5617250a1 Move mcc & mnc defines to types.h 2009-08-19 18:35:07 -05:00
Denis Kenzior 3b043e9b1a Move ofono_destroy_fun to types.h 2009-08-19 18:35:06 -05:00
Denis Kenzior 6342e1b2dc Move clir and cug option enums to types.h 2009-08-14 11:19:10 -05:00
Denis Kenzior 01b4c49447 Move certain parts of driver.h to types.h 2009-08-13 10:08:32 -05:00