Commit Graph

386 Commits

Author SHA1 Message Date
Denis Kenzior 542e8501b8 sms: Constify submit method 2012-06-16 09:50:05 -05:00
Denis Kenzior f3269fbc82 gprs-context: Conform to coding style item M4 2012-06-16 09:50:05 -05:00
Denis Kenzior 2f95fd52ee cdma-sms: Make const correct 2012-06-16 09:50:05 -05:00
Denis Kenzior ecdec0715b call-volume: Conform to coding style item M4 2012-06-16 09:50:05 -05:00
Denis Kenzior 30ee44f1e5 call-settings: Conform to coding style item M4 2012-06-16 09:50:05 -05:00
Denis Kenzior 857fc7ee41 call-meter: Conform to coding style item M4 2012-06-16 09:50:05 -05:00
Denis Kenzior 55defb14cd call-forwarding: Conform to coding style item M4 2012-06-16 09:50:05 -05:00
Denis Kenzior 92e5be0c55 call-barring: Conform to coding style item M4 2012-06-16 09:50:05 -05:00
Denis Kenzior 264d28251f audio-settings: Conform to coding style item M4 2012-06-16 09:50:05 -05:00
Marcel Holtmann 543db63f19 gprs: Use ofono_bool_t instead of gboolean 2012-06-17 22:23:23 -07:00
Marcel Holtmann 2ead77e133 sms: Make PDU data arrays const 2012-06-17 00:58:35 -07:00
Marcel Holtmann 67c6a01d46 modem: Add function for setting new driver type 2012-06-17 00:58:08 -07:00
Marcel Holtmann 5522df64fa sim: Add special callback for reading MCC and MNC value 2012-06-16 21:30:28 -07:00
Marcel Holtmann c3124b66d9 sim: Add special callback for reading MSISDN value 2012-06-16 20:52:18 -07:00
Marcel Holtmann 1960dbbc79 sim: Add special callback for reading ICCID value 2012-06-16 20:22:30 -07:00
Marcel Holtmann 10297b153a sim: Use ofono_bool_t instead of gboolean 2012-06-16 20:08:10 -07:00
Oleg Zhurakivskyy 80733ae875 include: Add ofono_sim_get_spn() declaration 2012-01-18 10:42:40 -06:00
Oleg Zhurakivskyy ef658e92f3 sim: Add SPN watch capability 2012-01-15 19:55:58 -06:00
Philippe Nunes cd6eb8dfa5 cdma-provision: Add driver APIs header 2012-01-07 12:39:03 -06:00
Guillaume Zajac 95ac7735cb cdma-connman: Add dormant state notification API 2011-12-08 06:17:01 -06:00
Philippe Nunes 8f8a8cd307 include: Add serving_system method to cdma-netreg 2011-11-24 17:41:53 -06:00
Daniel Wagner 768dfc6e3f include: Add modem type to modem.h 2011-11-22 20:34:45 -06:00
Guillaume Zajac c09bc563c1 include: Add api to notify when connection is lost 2011-11-02 10:29:26 -05:00
Guillaume Zajac cc6ccec0ff include: Add way to obtain current status 2011-10-30 02:09:40 -05:00
Mikel Astiz e3f847ecd9 include: Voice recognition in handsfree public api 2011-10-21 13:12:33 -05:00
Mikel Astiz fddc3b6733 include: Add API to set HF AG supported features 2011-10-20 20:37:17 -05:00
Marcel Holtmann ac4c9d7237 core: Some more copyright fixes 2011-10-15 12:21:12 -07:00
Mikel Astiz db6e31a627 handsfree: Copyright statement correction 2011-10-13 12:27:07 -05:00
Marcel Holtmann 7e6afe37bf core: Update copyright information 2011-10-10 13:39:42 -07:00
Mikel Astiz 5fa6344b92 handsfree: Add driver api for number requests
e.g. AT+BINP=1
2011-09-09 01:05:47 -05:00
Mikel Astiz f9fba08432 include: Add in-band ring to handsfree public api 2011-09-09 00:30:54 -05:00
Mikel Astiz 99834ab1e2 include: Add skeleton handsfree public atom API 2011-09-09 00:10:06 -05:00
Mikel Astiz 5eae4a6fd6 dbus: Add Handsfree interface definition 2011-09-09 00:10:06 -05: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
Marcel Holtmann 152529ac75 plugin: Use weak reference for external debug statements 2011-08-16 09:15:53 -07:00
Marcel Holtmann 652b2d0c43 plugin: Add debug support for external plugins 2011-08-15 16:16:36 -07:00
Caiwen Zhang b24ccd3f84 include: Add send_tones to cdma voicecall driver API 2011-08-15 00:55:09 -05:00
Caiwen Zhang 949f0ad447 include: Add send_flash to cdma voicecall driver API 2011-08-15 00:53:04 -05:00
Caiwen Zhang 06d45196a8 include: Add cdma-voicecall answer driver API 2011-08-15 00:49:40 -05:00
Denis Kenzior 873fa4c42a cdma-netreg: Minor whitespace style issues 2011-08-09 13:08:10 -05:00
Bertrand Aygon d85290ae6a include: add data strength to cdma-netreg 2011-08-05 10:48:49 -05:00
Bertrand Aygon 26c7c2f771 include: add signal reporting to cdma-netreg 2011-08-05 10:48:49 -05:00
Bertrand Aygon b7be25e120 cdma-netreg: add registration status to public api 2011-08-05 10:48:49 -05:00
Bertrand Aygon b7e8570990 include: Add cdma-netreg atom public api 2011-08-05 10:48:49 -05:00
Bertrand Aygon 4e4a47a87c dbus: Add CDMA netreg atom interface name 2011-08-03 11:59:54 -05:00
Guillaume Zajac c6160a1d5f cdma-connman: Add user/pass to driver activate
Add username and password fields to cdma-connman's activate method.
2011-07-21 04:31:03 -05:00
Denis Kenzior 7abc4f0a1a include: Introduce a new SIM_LOCKED_OUT state
This is the same as SIM_INSERTED state, except we have already queried
the always-readable EFs
2011-07-19 14:10:17 -05:00
Jeevaka Badrappan 00d16d1387 include: Add driver api for user confirmation 2011-07-15 09:30:07 -05:00
Frédéric Danis 6063c54933 include: add HFP features types for HF and AG 2011-06-20 04:18:11 -05:00
Denis Kenzior 00c49a5ad7 include: Declare typedef as a function pointer 2011-05-24 13:20:18 -05:00
Guillaume Zajac e997dd43eb private-network: add header into include and Makefile.am 2011-05-24 12:10:22 -05:00
Frédéric Danis f9814a9731 include: Add callsetup, call and callheld
as indicators for HFP emulator
2011-04-11 10:28:12 -05:00
Jeevaka Badrappan a3dcd49711 include: Add ofono_voicecall_en_list_notify api 2011-04-07 22:18:05 -05:00
Jeevaka Badrappan c7c45cf4ef include: add ofono_modem_get_emergency_mode api 2011-04-04 23:36:49 -05:00
Denis Kenzior 38aee50ece include: Remove unused typedef 2011-03-29 22:01:43 -05:00
Jarko Poutiainen 71c0cffd1d include: add gnss.h file 2011-03-28 18:06:58 -05:00
Jarko Poutiainen 73d1eadd69 dbus: add gnss interface definition 2011-03-28 18:06:57 -05:00
Lucas De Marchi d67c73d492 history: add cancelled status
Based on patch from Yang Gu <gyagp0@gmail.com>
2011-03-18 18:31:14 -05:00
Christian Lam 3931640491 cdma-connman: add CDMA Connection Manager support 2011-03-17 13:45:29 -05:00
Christian Lam 411d3dec37 dbus: add CDMA Connection Manager interface 2011-03-17 13:07:41 -05:00
Denis Kenzior 247df07644 include: Add support for IPv6 context settings 2011-03-15 17:11:58 -05:00
Denis Kenzior 9a4122f74b include: Add support for dual stack contexts 2011-03-15 17:11:58 -05:00
Andras Domokos 2d0db9d817 voicecall: add SSN function declarations 2011-03-11 13:11:44 -06:00
Andras Domokos 4a36b93d6a ssn: remove SSN atom completely 2011-03-11 13:08:51 -06:00
Rafael Ignacio Zurita 709775987e location-reporting: add public header 2011-02-23 17:18:03 -06:00
Frédéric Danis f3496af019 emulator: add indicator support API 2011-02-23 09:58:40 -06:00
Frédéric Danis b5969360d7 emulator: add HFP emulator type 2011-02-16 00:23:44 -06:00
Denis Kenzior 2394a87cc4 emulator: Add additional APIs 2011-02-16 00:23:44 -06:00
Denis Kenzior 1ded74f2df emulator: Add basic API for emulator 2011-02-15 15:47:32 -06:00
Denis Kenzior 6352e799ef emulator: Add basic emulator API 2011-02-10 00:34:47 -06:00
Jukka Saunamaki ef37b3fe42 gprs-provision: add SPN to provisioning API header 2011-02-08 21:27:41 -06:00
Denis Kenzior 00a3a6d7ac sim: Add API for watching files changed via stk 2011-02-07 11:28:30 -06:00
Andrzej Zaborowski 0ecc99973a sim: ofono_sim_context api header changes
This patch introduces sim FS contexts which are used to queue file
read and write operations.  When a context is freed all pending
operations in that context are cancelled preventing callbacks from
being called causing segfaults.
2011-02-03 13:13:33 -06: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
Denis Kenzior 712d978021 include: Refactor gprs-provision API 2011-01-26 14:55:58 -06:00
Jukka Saunamaki d5a30edf0c gprs-provision: add driver API header 2011-01-26 14:55:58 -06:00
Lucas De Marchi dd96534a81 include: don't use c++ keyword in public header 2011-01-26 18:23:13 +01:00
Rafael Ignacio Zurita 78c1e96bf9 types: extend OFONO_MAX_PHONE_NUMBER_LENGTH 2011-01-25 14:12:24 -06:00
Marcel Holtmann 28bbed0bbd dbus: Add global definition of supplementary services interface 2011-01-23 10:15:27 +01:00
Andrzej Zaborowski 719f3c1821 include: Add SIM authentication atom's
Structures and function declarations for the SIM authentication
atom as proposed by Pekka Pessi, with just one method at the
moment.
2011-01-20 11:16:06 -06:00
Jukka Saunamaki a182554f0a sim: getters for mcc and mnc definition 2011-01-20 11:03:52 -06:00
Aki Niemi 48a9877585 api: Remove deregister from modem driver API 2011-01-20 09:55:30 -06:00
Rémi Denis-Courmont 184c1594c8 gprs: Declaration for packet switched bearer notifications 2011-01-20 12:08:38 +01:00
Lucas De Marchi a80db77572 include: add method for querying cdip support 2011-01-18 16:09:27 -06:00
Lucas De Marchi a3438e0c6d include: add cdip field in ofono_call 2011-01-18 16:09:27 -06:00
Pekka Pessi a0e3d9ffc3 include: Clarify hold_all_active semantics 2011-01-14 09:48:56 -06:00
Jeevaka Badrappan 58574e61bc include: remove unused mpty from ofono_call 2011-01-13 12:31:56 -06:00
Rafael Ignacio Zurita 5eda7e96b1 gps: define new dbus interface 2011-01-13 11:08:05 -06:00
Jeevaka Badrappan c91af2de83 include: M15 coding style fix 2011-01-12 08:06:58 -08:00
Lucas De Marchi 2ae5b82ad9 include: add method to query pin Retries 2011-01-10 15:38:48 -06:00
Lei Yu 9aa82f5bb1 cdma-sms: Add CDMA SMS Support 2011-01-05 10:36:48 -06:00
Lei Yu f0a6067327 dbus: Add CDMA SMS Interface 2011-01-04 13:48:22 -06:00
Denis Kenzior 327f452fdf cdma-voicecall: Minor style fixes 2010-12-22 18:57:24 -06:00
Dara Spieker-Doyle 817fe42457 cdma-voicecall: Add CDMA MO Call Support 2010-12-22 18:53:26 -06:00
Dara Spieker-Doyle f108eb79c3 types: Add CDMA Phone Number 2010-12-20 14:47:23 -06:00
Dara Spieker-Doyle 4163dad639 dbus: Add CDMA Voicecall Interface 2010-12-20 14:44:00 -06:00
Gustavo F. Padovan 31716688a0 include: add cnap_query callback 2010-12-16 18:40:18 -06:00
Gustavo F. Padovan a793c18c29 include: add CNAP types to ofono_call structure 2010-12-16 18:40:17 -06:00
Denis Kenzior 8207432648 include: Minor style fixes 2010-12-08 11:26:58 -06:00
Lucas De Marchi 1dcd57136e radio-settings: add frequency band selection methods 2010-12-08 11:08:56 -06:00
Gustavo F. Padovan ab53869a8a modem: add ofono_modem_reset() to modem.h 2010-12-07 12:16:20 -06:00
Denis Kenzior cf9e07ef32 radio-settings: Update API to use ofono_bool_t 2010-11-29 07:52:35 -06:00
Lucas De Marchi 3f49dd1390 ctm: add public header 2010-11-26 13:08:45 -06:00
Lucas De Marchi 2cc4ce9a11 text-telephony: define new dbus interface 2010-11-24 08:58:42 -06:00
Mika Liljeberg a4983d99eb radio settings: add FastDormancy property 2010-10-27 22:26:15 -05:00
Denis Kenzior bbe6eb6d4e gprs-context: Replace TYPE_INVALID with TYPE_ANY 2010-10-27 12:39:46 -05:00
Denis Kenzior 51aecde6cc stk: Remove ofono_stk_terminal_response_sent_notify
Not needed for now.  We can always put this back in later if need be.
2010-10-27 12:10:17 -05:00
Pekka Pessi de96428ca2 gprs-context: add IMS connection type 2010-10-27 16:57:57 +02:00
Marcel Holtmann b3d18d5115 gprs: Add support for setting GPRS context type 2010-10-27 11:34:54 +02:00
Marcel Holtmann 6cb86931e3 gprs: Make GPRS context type a public enum 2010-10-27 11:28:52 +02:00
Denis Kenzior cfa956596c modem: Add ofono_modem_is_registered 2010-10-25 16:32:49 -05:00
Denis Kenzior ba71706b07 voicecall: Document driver methods 2010-10-20 12:50:51 -05:00
Petteri Tikander d34ddeccaf sim: add new parameter to file-info utility 2010-10-15 02:15:21 -05:00
Andrzej Zaborowski 404e0838da API for STK driver to signal executed commands
Some modems are able to handle some proactive commands in their
firmware or otherwise, if the command doesn't require input from user.
Nevertheles ofono may need to update internal state or notify the user
where necessary.  With this api the driver can notify core that a
command is being executed in the modem or that a command is finished
executing and the TERMINAL RESPONSE has been sent to SIM.  It would
also be possible for a driver to handle a command.
2010-10-14 04:17:02 -05:00
Marcel Holtmann 242639737a audio: Add helper to get modem information from audio settings 2010-10-01 07:28:39 +02:00
Marcel Holtmann 2b3840e95c audio: Add support for notifying about audio mode 2010-10-01 07:22:45 +02:00
Marcel Holtmann 3fd4af4fc2 audio: Update audio settings API for active notification 2010-10-01 07:14:59 +02:00
Marcel Holtmann 760e1e4c04 core: Add support for audio settings interface 2010-09-29 23:57:39 +09:00
Denis Kenzior eb5a7329da dbus: Add org.ofono.Message interface 2010-09-21 21:15:07 -05:00
Denis Kenzior 04634af6fe common: Implement ofono_uuid_to_str 2010-09-21 08:44:48 -05:00
Denis Kenzior dbd7639d25 history: Update to the new SHA1 based sms id API 2010-09-21 08:44:48 -05:00
Denis Kenzior 5a336a1cfb include: Introduce ofono_uuid 2010-09-21 08:44:47 -05:00
Pekka Pessi 4b8f2b037c ussd.h: +CUSD is documented in 27.007 section 7.15 2010-09-16 13:45:53 -05:00
Jeevaka Badrappan eb425a281f ussd: Driver API changes
To support 8bit and UCS2 formatted USSDs as well as Send USSD Proactive
Command.
2010-09-14 17:01:49 -05:00
Mika Liljeberg 1e139eb1ce gprs: add Suspended property 2010-09-10 10:51:53 -05:00
Denis Kenzior 5754eaf7e9 sim: Break out sim file reading into simfs 2010-09-09 08:50:28 -05:00
Kristen Carlson Accardi 95d957b62e sim: read EFiidf
EFiidf can be larger than 256 bytes, so allow callers to read
portions of the EFiidf from a specified offset.  Cache EFiidf
files as blocks of 256 bytes so that it's not necessary to
read the entire (potentially large) file.
2010-09-09 08:45:32 -05:00
Denis Kenzior 4292b2dbed sim: Turn around the order of arguments
The void *user argument was first.  It should be last instead to be
consistent with the other watch functions.
2010-08-30 14:29:34 -05:00
Denis Kenzior b73ebe3c83 gprs: Update GPRS related DBus interface names 2010-08-19 14:20:05 -05:00
Denis Kenzior 7e0f28c7b1 sms: Update SmsManager to MessageManager 2010-08-19 14:20:05 -05:00
Denis Kenzior ad8607994f modem: Be consistent when naming callback typedefs 2010-08-12 15:46:46 -05:00
Sjur Brændeland 9a24ece0fb voicecall: Add support for function hangup_all
This patch fixes problem for modems that cannot terminate
DIALING/ALERTING calls with CHUP=1X. The main change is that
voicecall driver's hangup function is split into the functions
hangup_all and hangup_active.

Changes:
- In cases where hangup previously was used, hangup_all is used
  if implemented otherwise hangup_active is used.
- Call in state DIALING/ALERTING is released with hangup_active if
  implemented.
- manager_hangup_all will simply call hangup_all if implemented.
- manager_hangup_all will release calls in state
  ALERTING/DIALING/INCOMING using hangup_active otherwise
  release_specific.
2010-08-12 11:32:12 -05:00
Sjur Brændeland dde0a4ccb5 voicecall: Rename hangup to hangup_active 2010-08-12 11:32:12 -05:00
Denis Kenzior 0c0f362ec3 include: Update to proper API naming
Should match what is in the documentation
2010-07-30 17:19:56 -05:00
Denis Kenzior b3237600c4 gprs: Update gprs context struct with IPv6 support 2010-07-19 13:49:35 -05:00
Andrzej Zaborowski 23c5f28569 Add Dbus interface names for STK. 2010-07-08 14:27:33 -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
Andrzej Zaborowski cbdb7278ac stk: Utilities for proactive command/envelope handling. 2010-07-08 14:27:33 -05:00
Denis Kenzior 11cc3ee922 sms: Add driver API for SMS bearer settings 2010-06-25 14:25:46 -05:00
Pasi Miettinen dee07e4ad7 history: API change for status report notify 2010-06-21 10:52:32 -05:00
Marcel Holtmann 236f3acc0f Add support for Features property on modem interface 2010-06-09 20:46:10 -07:00
Marcel Holtmann 9a72d2566d Move data connection manager interface constants into common include 2010-06-09 20:38:50 -07:00
Marcel Holtmann aa99c4c0dd Rename CbsManger into CellBroadcast
Other D-Bus interfaces use clear descriptions like SupplementaryServices
or NetworkRegistration. So use CellBroadcast for cell broadcast support.
2010-06-09 20:07:11 -07:00
Denis Kenzior 19c10877a5 include: More style issues 2010-06-07 12:57:50 -05:00
Pekka Pessi 8001338da7 Use ofono_bool_t instead of bool in modem API. 2010-05-27 13:01:06 -05:00
Denis Kenzior e7529bfa70 Fix: minor style issues 2010-05-26 21:03:12 -05:00
Pekka Pessi 4f1506ba25 Add: Online property to modem
The online/offline state is changed with the new set_online() modem driver
method.

In order to track atoms, there are modem states as follows:
- OFONO_MODEM_STATE_POWER_OFF
- OFONO_MODEM_STATE_PRE_SIM
- OFONO_MODEM_STATE_OFFLINE
- OFONO_MODEM_STATE_ONLINE

Atoms are added with driver methods pre_sim(), post_sim() and post_online().
Atoms are removed by modem core when the state changes.
2010-05-26 14:24:11 -05:00