Commit Graph

3641 Commits

Author SHA1 Message Date
Aki Niemi 297b14ca8b isimodem: Fix copyright and license boilerplate 2010-10-14 15:22:16 +03:00
Aki Niemi 69087a565c isimodem: Fix SMSC address update request 2010-10-14 15:22:16 +03:00
Petteri Tikander 4d2eb64a71 simutil: add ID of EFadn 2010-10-14 05:41:07 -05:00
Denis Kenzior 6f54b55b0e stk: Add a debug to print the handled command type 2010-10-14 04:17:06 -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
Andrzej Zaborowski 526cf25dc8 stkagent: Add PlayTone and LoopTone requests 2010-10-14 03:35:51 -05:00
Andrzej Zaborowski d9f8b13e18 stk: Simplify and add icon to alphaId api
The assumption is now that stk_alpha_id_set will handle NULL
or empty alphaIds or icons.
2010-10-14 03:18:28 -05:00
Denis Kenzior 2059fd289a stk: Make the stk properties not optional 2010-10-14 02:59:20 -05:00
Denis Kenzior 8820e18b53 stkagent: Handle NULL items in append_menu_items 2010-10-14 02:59:15 -05:00
Denis Kenzior 00ad02c29d doc: Update the properties to be readonly
This also implies that none of these properties are optional
2010-10-14 02:44:32 -05:00
Andrzej Zaborowski 6cb64e1343 stk: IdleModeIcon and MainMenuIcon properties 2010-10-14 02:31:22 -05:00
Andrzej Zaborowski 9da71c67ed stk: Rename sms_submit_req to extern_req 2010-10-14 02:30:32 -05:00
Denis Kenzior c0171d590d doc: Remove unused property 2010-10-14 01:38:52 -05:00
Denis Kenzior 52fade93ac stk: Reflow stk_menu_create slightly 2010-10-14 01:38:52 -05:00
Andrzej Zaborowski 5b1f4d1216 stk: Add icon ID information in stk_menu 2010-10-14 01:13:56 -05:00
Denis Kenzior c1eb40e979 phonesim: minor whitespace fix 2010-10-14 01:07:44 -05:00
Andrzej Zaborowski 198dcc2c28 stk: Pass icon IDs in stk agent request parameters 2010-10-14 00:58:43 -05:00
Andrzej Zaborowski 1d49c38383 doc: Add STK properties relevant for icons. 2010-10-14 00:56:47 -05:00
Andrzej Zaborowski ffa3bf7d01 doc: Update property name to match code. 2010-10-14 00:55:40 -05:00
Luiz Augusto von Dentz c896d11724 gdbus: fix not handling bus disconnects
We where not dispatching data when a bus disconnects which cause
Disconnected signal to not be processed and thus causing the process to
either not exit or to not trigger callbacks registered with
g_dbus_set_disconnect_function.

To fix this now we always schedule a dispatch which will make sure data
still not processed will make its way to the proper handlers even if
disconnected.
2010-10-13 15:55:26 +03:00
Torgny Johansson 5085e299fd ofono.rules: Add additional MBM rules
Add Ericsson c3607w and HP f3607gw/f3307 devices to udev rules file
2010-10-13 08:53:39 -05:00
Denis Kenzior a4d90fd4eb sim: Refactor iidf reading
Get rid of image_data since it can lead to potential memory leaks when
sim is removed while the IIDF operations are in progress.
2010-10-13 08:41:41 -05:00
Denis Kenzior 30a3c5a4ab test: Update get-icon to the new API 2010-10-13 05:04:47 -05:00
Denis Kenzior ccf4b34522 sim: Use ay return signature for GetIcon 2010-10-13 05:04:47 -05:00
Denis Kenzior 48f8bae930 doc: Update sim-api.txt with GetIcon 2010-10-13 05:04:47 -05:00
Denis Kenzior e828bc767c simfs: Also clean out image files
When cleaning cache
2010-10-13 05:04:47 -05:00
Denis Kenzior 5524b17324 test: Add get-icon script 2010-10-13 05:04:47 -05:00
Denis Kenzior bd8c7e92bb simfs: Fix the number of bytes copied
In block reading operations we read too much when the number of bytes to
read is smaller than the size of the file.
2010-10-13 05:04:47 -05:00
Denis Kenzior e755292874 simfs: Add some debug statements 2010-10-13 05:04:47 -05:00
Denis Kenzior a6909a227f huawei: Fixup whitespace corruption 2010-10-13 05:04:46 -05:00
Denis Kenzior 9ed8beba77 simfs: Move buffer back to the op structure
This was causing problems when multiple sim writes were being issued
(and thus bug #8265).
2010-10-13 05:04:46 -05:00
Denis Kenzior 56e0a7644f simfs: Reflow to get rid of unnecessary label 2010-10-13 05:04:46 -05:00
Denis Kenzior 90f531768f sim: Use g_dbus_create_reply
Instead of compound statements
2010-10-13 05:04:46 -05:00
Denis Kenzior b750de3ec6 sim: Don't re-check for id != 0
We already check the id is valid in the get_icon function, there's no
reason to re-check it.
2010-10-13 05:04:46 -05:00
Kristen Carlson Accardi 920ee13a2b simutil: add file type for EFimg 2010-10-13 05:04:46 -05:00
Kristen Carlson Accardi 42c29c795f sim: implement GetIcon 2010-10-13 05:04:46 -05:00
Denis Kenzior 38fad92882 simfs: Group lines logically 2010-10-13 05:04:46 -05:00
Denis Kenzior 096634e798 simfs: If buffer alloc fails, error out 2010-10-13 05:04:46 -05:00
Denis Kenzior f4c66f67df simfs: Don't try to read image cache imsi is null 2010-10-13 05:04:46 -05:00
Denis Kenzior 413c200dfb simfs: Make image cache logic a bit easier to read 2010-10-13 05:04:46 -05:00
Kristen Carlson Accardi 19fcae699c simfs: cache images 2010-10-13 05:04:46 -05:00
Marcel Holtmann 9bc187bd45 ifx: Disable modem UART for power saving
Send AT+XPOW=0,0,0 command when enabling modem to disable UART. This
is done for power saving.
2010-10-13 08:42:45 +03:00
Marcel Holtmann 4cacd3a76c atmodem: Send DTMF commands without quotes
The AT+VTS command takes a single character and should not use quotes.
2010-10-13 08:25:59 +03:00
Marcel Holtmann b7fbef011b ifxmodem: Send DTMF commands without quotes
The AT+VTS command takes a single character and should not use quotes.
2010-10-13 08:24:13 +03:00
Aki Niemi 9914b2059e Fix smart messaging D-Bus signatures 2010-10-11 16:00:54 +03:00
Aki Niemi 59e52c8d14 Fix smart messaging documentation 2010-10-11 15:56:00 +03:00
Aki Niemi 061f61398d isigen: Add dummy ops for enable/disable
Without these the core gets confused. These are actually no-ops, since
enabling and disabling aren't supported with a USB modem.
2010-10-11 15:43:24 +03:00
Pekka Pessi 7a36cbfd70 voicecall: check g_try_new0 return value 2010-10-10 06:06:54 -05:00
Pekka Pessi ea51479fcd voicecall: remove dial_request_finish() cb param
There is no need for callback param anymore.
2010-10-10 06:06:09 -05:00
Pekka Pessi e21ad3086f voicecall: Check dial requests in voicecall_is_busy
Return true if a call is being dialed by stk.

Use __ofono_voicecall_is_busy() in __ofono_voicecall_dial().
2010-10-10 06:02:15 -05:00