Commit Graph

1438 Commits

Author SHA1 Message Date
Denis Kenzior 1a340c7cf1 util: Return the number of bytes read, not chars
To be consistent with the documentation header and other functions of
this type
2010-09-14 11:45:11 -05:00
Jeevaka Badrappan 7cf26fef9d util: Add UCS2 to GSM 7bit converion function 2010-09-14 09:58:49 -05:00
Jeevaka Badrappan fd9570500e smsutil: Add USSD encoding function 2010-09-14 09:58:45 -05:00
Lucas De Marchi 3783026372 Fix common misspelling in source files
Fix common misspellings by using the list available at
http://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines

From the list cited above, the substitution script found the following
misspelling:

reponsible->responsible
2010-09-14 16:01:47 +09:00
Zhenhua Zhang b02f8cfbd6 Add support to enable/disable specific plugin
Support to load or not load specific plugin when ofono is started.
E.g., use 'ofonod -P hfp' to disable hfp plugin.
2010-09-11 12:41:27 +02:00
Jeevaka Badrappan e6fbe5e75d stkutil: Add build_dataobj_ussd_text
for ussd specific 'Text' Data object handling
2010-09-10 15:21:20 -05:00
Mika Liljeberg 1e139eb1ce gprs: add Suspended property 2010-09-10 10:51:53 -05:00
Petteri Tikander b9d59daaed smsutil: use unsigned printf format for msgid 2010-09-10 10:32:33 -05:00
Petteri Tikander eea8dfcc84 smsutil: remove unused parameter 2010-09-10 10:32:18 -05:00
Petteri Tikander df058085ea smsutil: status_report_expiration 2010-09-10 10:31:10 -05:00
Denis Kenzior b7f1733fe4 voicecall: Simplify logic 2010-09-09 21:57:15 -05:00
Andrzej Zaborowski 52161db428 stk: Fix User Cancel response to Set Up Call
One of the clean-up commits changed the semantics of the dial request
callback's parameter (NULL if call setup failed, non-NULL if success
or user cancelled).
2010-09-09 21:45:22 -05:00
Denis Kenzior ced5d30850 manager: Add GetModems method 2010-09-09 14:03:43 -05:00
Denis Kenzior 0d2b9cb5f4 modem: Add __ofono_modem_foreach 2010-09-09 14:00:09 -05:00
Denis Kenzior 0f994b7ea3 manager: Add ModemRemoved signal 2010-09-09 13:49:21 -05:00
Denis Kenzior ffcb821ccf manager: Add ModemAdded signal 2010-09-09 13:44:59 -05:00
Denis Kenzior 4a60d69e98 modem: Remove unneeded functions 2010-09-09 13:38:20 -05:00
Denis Kenzior 7461abbe23 modem: Break out append_modem_properties 2010-09-09 13:34:36 -05:00
Denis Kenzior 3bf4209813 stkutil: Trivial style issue 2010-09-09 10:25:10 -05:00
Jeevaka Badrappan f27528e18b stkutil: Add Send USSD-specific Text dataobj
Send USSD terminal response re-uses the 'Text' data object, however it
passes around binary data structures.  We make an exception specifically
for this case and invent a new stk_ussd_text data structure that is
handled separately from simple STK text.
2010-09-09 10:17:33 -05:00
Jeevaka Badrappan aee0f39231 stkutil: Add Send USSD specific result codes 2010-09-09 10:09:00 -05:00
Jeevaka Badrappan 0834a7c18d call-settings: Add __ofono_call_settings_is_busy 2010-09-09 10:08:47 -05:00
Jeevaka Badrappan 0741cc8cb2 call-forwarding: Add __ofono_call_forwarding_is_busy 2010-09-09 10:08:37 -05:00
Jeevaka Badrappan b0be5779b8 call-barring: Add __ofono_call_barring_is_busy 2010-09-09 10:08:22 -05:00
Yang Gu 58b5303c08 call-settings: Check if ussd is busy 2010-09-09 09:02:05 -05:00
Yang Gu e24d1d1285 call-forwarding: Check if ussd is busy 2010-09-09 09:01:52 -05:00
Yang Gu 8e03a47995 call-barring: Check if ussd is busy 2010-09-09 09:01:28 -05:00
Yang Gu 41d38d76bc ussd: Add __ofono_ussd_is_busy
Send SS requires Call Forwarding / Call Settings / Call Barring to check
whether USSD is currently busy.  If it is, then the SIM should be
notified appropriately.

We introduce a function __ofono_ussd_is_busy to help with this.
2010-09-09 08:57:36 -05:00
Denis Kenzior cd8df455e1 sim: Use sim_fs_check_version 2010-09-09 08:50:29 -05:00
Denis Kenzior 997269a773 simfs: Add sim_fs_check_version
Used to blow away older simfs versions
2010-09-09 08:50:29 -05:00
Denis Kenzior fc1e3a7da4 simfs: Simplify logic 2010-09-09 08:50:28 -05:00
Denis Kenzior 5754eaf7e9 sim: Break out sim file reading into simfs 2010-09-09 08:50:28 -05:00
Denis Kenzior 565bf22729 stkutil: Fixup whitespace corruption 2010-09-09 08:50:28 -05:00
Denis Kenzior e3bd339e16 sim: Unify sim_read and sim_read_bytes 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
Aki Niemi ff093fb6d3 Fix wrong code point in Portuguese table 2010-09-09 16:30:21 +03:00
Aki Niemi 2cb4d96793 Default to using 8bit SMS reference numbers 2010-09-09 16:30:00 +03:00
Aki Niemi 35cfb432d4 Fix adding 8bit reference number 2010-09-03 09:10:09 -05:00
Petteri Tikander 95fc8bee72 smsutil: storing/loading sms status report over reboot 2010-09-01 13:32:28 -05:00
Petteri Tikander 295ae2dc04 smsutil: style fix 2010-09-01 12:09:19 -05:00
Petteri Tikander c7473aa7da smsutil: use DECLARE_SMS_ADDR_STR
in sms_assembly_backup_free
2010-09-01 12:07:28 -05:00
Denis Kenzior 694847377d voicecall: Remove unusued MULTI_RELEASE flag 2010-09-01 12:07:01 -05:00
Denis Kenzior 4b43650116 sim: cleanup sim atom private structure
The number of elements was getting out of hand and out of order
2010-09-01 12:06:59 -05:00
Denis Kenzior 0cf73b73eb sim: tweak efimg length 2010-09-01 12:06:56 -05:00
Denis Kenzior 2a2fd1d036 simutil: Fix minor whitespace corruption 2010-08-31 13:08:31 -05:00
Yang Gu d43b2c0a61 sim: Read EFsst 2010-08-31 13:07:54 -05:00
Denis Kenzior 88024972df modem: Skip waiting for sim_ready if no sim atom
For modems that do not have a SIM atom (e.g. HFP, DUN) we should skip
waiting for the sim_ready notification that will never arrive.
2010-08-30 14:32:08 -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 b74c9fb0c6 modem: Reset unregister when atom is unregistered 2010-08-30 13:04:15 -05:00
Denis Kenzior 31b52123db modem: Fix turning off modem in immediate case
If the driver does not return EINPROGRESS we don't set the modem to the
off state properly
2010-08-30 12:12:13 -05:00
Denis Kenzior 745477f0d4 modem: minor style fix 2010-08-30 12:09:38 -05:00
Denis Kenzior afd0611ff8 voicecall: Fix crash during cleanup 2010-08-30 10:34:21 -05:00
Denis Kenzior c92a31ac3a voicecall: Cleanup dial request when removing atom 2010-08-27 19:06:38 -05:00
Denis Kenzior 605d720bd4 voicecall: Refactor ofono_voicecall_busy 2010-08-27 19:06:36 -05:00
Denis Kenzior e760b59ce9 voicecall: Switch to unsigned 2010-08-27 19:01:44 -05:00
Denis Kenzior ce79af6e5c stk: setup call did not handle agent disappearance 2010-08-27 19:01:44 -05:00
Denis Kenzior 07d576bdca stk: Free select item menu
If calling the agent failed for some reason
2010-08-27 19:01:44 -05:00
Denis Kenzior f528e5d566 stk: Reset cancel_cmd to NULL 2010-08-27 19:01:43 -05:00
Denis Kenzior 159903cc53 stk: set cancel_cmd only if agent was called 2010-08-27 19:01:43 -05:00
Denis Kenzior ed562ba2b0 voicecall: Cleanup dial request init / finish 2010-08-27 19:01:41 -05:00
Andrzej Zaborowski 9e830e3cc8 stk: Handle the Set Up Call proactive command 2010-08-27 12:57:01 -05:00
Andrzej Zaborowski 4a9a985c9d voicecall: add __ofono_voicecall_dial internal api
The callback is only invoked when the call is CONNECTED (becomes
active).  Cancel ensures that the callback will not be called and
does nothing more in this version, it's an open question if we
want to release the call.
2010-08-27 10:41:34 -05:00
Andrzej Zaborowski 77543590d9 simutil: Fix compilation with gcc 4.3.2
This gcc version gives two signed / unsigned comparison warnings.
2010-08-26 18:44:50 -05:00
Kristen Carlson Accardi d3eb346b40 sim: read EFimg 2010-08-26 18:40:12 -05:00
Pekka Pessi 4aa442d36f gprs: add debug info 2010-08-26 10:38:14 -05:00
Andrzej Zaborowski d5e37afee2 stkagent: Add ConfirmCallSetup request. 2010-08-25 22:39:11 -05:00
Kristen Carlson Accardi c9fecc48f4 stkutil: change uint32_t to guint32
This helps avoid needing to include any extra header files if
stkutil.h is included in sim.c
2010-08-25 13:38:20 -05:00
Kristen Carlson Accardi 782157ce57 simutil: add fileid for EFimg 2010-08-25 13:38:13 -05:00
Denis Kenzior 74a88dda81 sim: Check PIN even if no EFli / EFpl not read 2010-08-25 10:00:09 -05:00
Denis Kenzior 687e171949 sim: Retrieve EFphase according to the spec 2010-08-23 14:29:22 -05:00
Denis Kenzior 38300af0da sim: Reorder SIM initialization 2010-08-23 14:29:22 -05:00
Denis Kenzior cbf783c334 sim: Reset mnc_length when removing SIM
In case the next SIM doesn't have it or something else weird happens.
2010-08-23 14:29:22 -05:00
Denis Kenzior f78eaf94cf sim: Update the SIM initialization comment 2010-08-23 14:29:22 -05:00
Denis Kenzior fc70af8ea1 sim: Minor style fix 2010-08-23 14:29:21 -05:00
Yang Gu c679babdc5 sim: Read EFust and EFest 2010-08-23 14:29:21 -05:00
Marcel Holtmann 1130fff405 voicecall: Remove unused variable 2010-08-20 23:17:33 +02:00
Denis Kenzior f42e563c51 voicecall: Fix memory leak 2010-08-20 16:15:11 -05:00
Denis Kenzior 3edb2e90ab voicecall: Remove Calls property 2010-08-20 16:15:11 -05:00
Denis Kenzior b5b0627f7f voicecall: emit CallAdded and CallRemoved signals 2010-08-20 16:15:11 -05:00
Denis Kenzior 230236ea25 voicecall: Add GetCalls method 2010-08-20 16:15:11 -05:00
Denis Kenzior a4de14dab6 voicecall: Fix up some style issues 2010-08-20 16:15:11 -05:00
Denis Kenzior bdbf0fef99 voicecall: Break out voicecall_append_properties 2010-08-20 16:15:11 -05:00
Denis Kenzior 96f74a1c04 voicecall: Get rid of MultipartyCalls attribute
Replaced by Multiparty attribute on the Voicecall object
2010-08-20 16:15:11 -05:00
Marcel Holtmann 6bf2a743f4 sms: Add a few more debug statements 2010-08-20 21:55:22 +02:00
Andrzej Zaborowski b6488dec41 stk: reorder: Don't access freed memory in Send SMS
Responding to the stk->pending_cmd frees it, we need to read it
before that.
2010-08-20 09:02:29 -05:00
Marcel Holtmann 5ffd12ff9f stk: Fix error messsage from select item method call 2010-08-20 14:48:48 +02:00
Marcel Holtmann df5d691c39 Add support for simple glibc based backtrace 2010-08-20 14:44:54 +02:00
Marcel Holtmann 7838503458 gprs: Default value for RoamingAllowed should be FALSE 2010-08-20 11:22:47 +02:00
Marcel Holtmann 335ec6f3ea gprs: Use "Internet" for default PDP context name 2010-08-19 22:36:18 +02:00
Denis Kenzior 18d8584adb gprs: Automatically add a context if none defined 2010-08-19 15:10:30 -05:00
Denis Kenzior 256e01c8c4 gprs: Add support for GetContexts 2010-08-19 14:20:06 -05:00
Denis Kenzior a9a54c0933 gprs: Tweak context object path naming
And support loading of legacy context names
2010-08-19 14:20:06 -05:00
Denis Kenzior 473e34db66 gprs: Break out writing of gprs context settings 2010-08-19 14:20:06 -05:00
Denis Kenzior 323874790b gprs: Add ContextRemoved signal 2010-08-19 14:20:06 -05:00
Denis Kenzior fb4aa43a5d gprs: Emit the ContextAdded signal 2010-08-19 14:20:06 -05:00
Denis Kenzior d1a2875a7e gprs: minor style fix 2010-08-19 14:20:06 -05:00
Denis Kenzior 62b598f704 gprs: Break out context properties append function 2010-08-19 14:20:06 -05:00
Denis Kenzior 4f57fef81b gprs: Get rid of PrimaryContexts property 2010-08-19 14:20:06 -05:00
Denis Kenzior 8f0796ff4f gprs: Update CreateContext to AddContext 2010-08-19 14:20:05 -05:00
Denis Kenzior b73ebe3c83 gprs: Update GPRS related DBus interface names 2010-08-19 14:20:05 -05:00