Denis Kenzior
5d626b6967
sim: move stuff around
2011-02-18 11:28:43 -06:00
Andrzej Zaborowski
f7d4643cc5
stk: Partially handle Refresh command
...
Only the four "NAA initialisation" modes are handled at the moment.
2011-02-17 15:16:34 -06:00
Denis Kenzior
7f43fc0f69
cbs: Set topics on EFcbmid change only if powered
2011-02-17 15:09:17 -06:00
Andrzej Zaborowski
9e640a246a
cbs: Watch for changes to relevant SIM files
2011-02-17 15:09:17 -06:00
Andrzej Zaborowski
1d38e7e075
network: Watch for changes to relevant SIM files
2011-02-17 15:09:16 -06:00
Andrzej Zaborowski
85644e913b
voicecall: Watch for changes to relevant SIM files
2011-02-17 15:09:16 -06:00
Denis Kenzior
ad181b690b
sim: Tweak the behavior of sim_refresh slightly
...
Instead of notifying everyone of sim_inserted condition, we should
simply notify the modem directly. It is the only one interested in this
particular change.
This partly reverts an earlier commit:
9498ad6b5633e350eb529f8efbe08270d95c8003
2011-02-17 15:09:16 -06:00
Andrzej Zaborowski
131d86a2f9
sim: Implement basic Refresh
2011-02-17 15:09:16 -06:00
Andrzej Zaborowski
5815d9547c
modem.c: Handle SIM Resets
...
The assumption so far was that SIM state would only go from
NOT_PRESENT -> INSERTED -> READY -> NOT_PRESENT because there's
no method to unauthenticate from SIM without removing. We need to
be able to switch to INSERTED when SIM is being reset,
reinitialised, etc. because going to NOT_PRESENT and then
immediately INSERTED would be logically wrong.
2011-02-17 15:09:16 -06:00
Frédéric Danis
afe16ba22a
emulator: always create emulators in offline state
...
this allows to fix problem when atom created in online state
are destroyed when modem goes to offline state
2011-02-17 11:25:27 -06:00
Frédéric Dalleau
13cff03373
emulator: unref GIOChannel after creation
2011-02-17 10:07:52 -06:00
Denis Kenzior
4406da382c
devinfo: Handle BT DUN +GMI/+GMM/+GMR commands
2011-02-16 00:23:44 -06:00
Frédéric Danis
421c55bdac
emulator: Handle multiple emulator types
2011-02-16 00:23:44 -06:00
Denis Kenzior
0fed733e9b
emulator: Initial public API implementation
2011-02-16 00:23:44 -06:00
Denis Kenzior
32b4298bfe
sms: return immediately if cached flag is set
2011-02-10 11:08:47 -06:00
Denis Kenzior
3e69defe86
modem: Tweak online & powered watch APIs
2011-02-10 00:34:47 -06:00
Denis Kenzior
09bb5f7554
emulator: Add basic emulator skeleton
2011-02-10 00:34:47 -06:00
Denis Kenzior
458fe585a0
modem: Fix up previous commit
2011-02-10 00:27:01 -06:00
Guillaume Zajac
2b50146a21
modem Add powered watch API
2011-02-10 00:27:01 -06:00
Denis Kenzior
50c3d98ff3
simfs: Fix leaking of the voicecall context
...
When we're shutting down all atoms are removed and the voicecall context
does not have a chance to be freed. Make sure simfs frees it.
2011-02-10 00:27:01 -06:00
Denis Kenzior
fb7e6652d2
call-barring: Remove unneeded variable
...
This was forgotten by the previous patch
2011-02-09 21:03:45 -06:00
Andras Domokos
746ee088f7
call-barring: removed +CSSI type SS notifications
2011-02-09 21:03:45 -06:00
Denis Kenzior
566c60a402
gprs: Fixup error path
...
When we try to register the GPRS D-Bus interface and fail for some
reason, calling gprs_unregister is not really kosher since much of the
initialization has not yet been done. Call an intermediate function
instead.
2011-02-08 21:55:42 -06:00
Jukka Saunamaki
7243af46fa
gprs,gprs-provision: add SPN to provisioning API
2011-02-08 21:48:54 -06:00
Denis Kenzior
e0d777a655
core: free GError objects returned by glib
2011-02-08 16:48:52 -06:00
Denis Kenzior
a8f15c5cf3
sim: Fixup compiler complaints
...
src/sim.c:2396: error: comparison between signed and unsigned integer
expressions
src/sim.c:2396: error: comparison between signed and unsigned integer
expressions
2011-02-08 10:19:52 -06:00
Jussi Kangas
a8671fe1f7
sim: Allow usage of SIM codes longer than 8 digits
...
Some PIN codes (e.g. subsidy locks, etc) can have PIN codes much longer
than the default 8 digits.
2011-02-08 10:19:52 -06:00
Denis Kenzior
50f1b7e943
voicecall: Fix check for ECT pre-conditions
...
We must have 1 Dialing / Alerting / Active call and a single
non-multiparty held call.
2011-02-07 15:53:31 -06:00
Denis Kenzior
b97399ce12
simfs: Add function to notify all file watches
2011-02-07 13:35:41 -06:00
Denis Kenzior
53d8bbfe29
sim: Add implementation of sim file watching API
2011-02-07 12:26:50 -06:00
Denis Kenzior
417b445eaf
simfs: Add file changed watches to simfs contexts
2011-02-07 12:25:46 -06:00
Denis Kenzior
0eed0db9fe
sms: Minor style fix
2011-02-06 23:47:17 -06:00
Denis Kenzior
960310f8b1
sms: Be more paranoid when loading SMS settings
2011-02-06 23:47:17 -06:00
Denis Kenzior
9086328508
sms: Use a better pattern for bearer_from_string
2011-02-06 23:47:17 -06:00
Denis Kenzior
40926f1951
gprs: Be a bit more paranoid when loading settings
2011-02-06 23:47:16 -06:00
Aki Niemi
bef5e1773c
sms: Add alphabet support to SMS atom
2011-02-06 23:47:16 -06:00
Marcel Holtmann
4be27988ff
plugin: Allow colon as plugin name separator
2011-02-06 19:25:58 -08:00
Jeevaka Badrappan
3a03fbf841
smsutil: M16 coding style fix
2011-02-05 07:05:47 -08:00
Jeevaka Badrappan
4d6eaf121c
modem: M16 coding style fix
2011-02-05 07:05:32 -08:00
Denis Kenzior
b7f8fc6f83
smsutil: Fix compilation
2011-02-03 14:37:00 -06:00
Aki Niemi
cd1e58bd20
smsutil: Add alphabet support to encoding
2011-02-03 14:24:00 -06:00
Denis Kenzior
d7d24f55ee
util: Fix convert_utf8_to_gsm_best_lang logic
2011-02-03 14:18:16 -06:00
Aki Niemi
cfb8b40a04
util: Add best dialect picker API
2011-02-03 14:16:16 -06:00
Denis Kenzior
5f3701cda5
util: Use gboolean for returning success / failure
2011-02-03 13:50:42 -06:00
Aki Niemi
a1dbd89052
util: Refactor conversion table handling
2011-02-03 13:44:45 -06:00
Denis Kenzior
3f798c4741
core: Minor style tweaks
2011-02-03 13:15:29 -06:00
Andrzej Zaborowski
a7a0cb1ed0
simfs: implement ofono_sim_context api
2011-02-03 13:13:37 -06:00
Andrzej Zaborowski
0cde90ff8e
simfs: Use cache for sim_fs_read_info requests too.
...
There seems to be no reason that the fileinfo is cached for file
read or block read requests but not info_only requests, so move
code around to fix this. O_RDWR is changed to O_WRONLY for the
cache file because the file is not being read in case of cache miss.
2011-02-03 11:01:40 -06:00
Aki Niemi
7d389054ac
stk: Fix style issues
2011-02-02 11:03:21 +02:00
Aki Niemi
0b65fb30b0
stkutil: Remove trailing WS
2011-02-02 11:03:21 +02:00
Aki Niemi
59b00052d3
util: Fix style issue with long lines
2011-02-02 11:03:21 +02:00
Aki Niemi
15428cc2df
sms: Fix indentation
2011-02-02 11:03:21 +02:00
Aki Niemi
f0d855dd99
simutil: Remove trailing WS
2011-02-02 11:03:21 +02:00
Aki Niemi
a8112dc1ea
sim: Fix style issues
2011-02-02 11:03:21 +02:00
Aki Niemi
6ed9fe85a5
simfs: Add NULL check
2011-02-02 11:03:21 +02:00
Aki Niemi
5d0f67e786
message-waiting: Fix indentation
2011-02-02 11:03:21 +02:00
Aki Niemi
1af43cf7f0
cbs: Fix style issues
2011-02-02 11:03:21 +02:00
Aki Niemi
a7f1a1583c
call-volume: Fix style issue
2011-02-02 11:03:21 +02:00
Aki Niemi
9f619fd467
call-settings: Fix style issues
2011-02-02 11:03:21 +02:00
Aki Niemi
352795aba6
call-barring: Fix style issue
2011-02-02 11:03:21 +02:00
Aki Niemi
ac6656b004
netreg: Fix coding style, M12
2011-02-02 11:03:21 +02:00
Aki Niemi
9be348714d
call-forwarding: Remove useless curly brackets
2011-02-02 11:03:21 +02:00
Aki Niemi
8e90c3368c
simutil: Add checks for NULL
2011-02-02 11:03:21 +02:00
Aki Niemi
cfa179fe6b
audio-settings: Fix style, use tabs to indent
2011-02-02 11:03:21 +02:00
Aki Niemi
03d00626f6
call-meter: Fix style issues
2011-02-02 11:03:10 +02:00
Lucas De Marchi
80a257098a
common: implement initializer for ofono_call
2011-02-01 18:30:53 +01:00
Andrzej Zaborowski
f2c73f0a52
simfs: Return from sim_fs_op_check_cached on error
2011-01-29 18:39:37 +01:00
Andrzej Zaborowski
882c0c2761
simfs: Reset op_source in simfs_read_block
...
If the block is not in cache or if this is the last block of a last
op in the queue, then fs->op_source might be left with the wrong
value.
2011-01-29 18:39:37 +01:00
Lucas De Marchi
f5b1c95490
smsutil: do not allow larger file names
...
If file name had anything in the name after addr-msgid, it would be
parsed as well. This is not what we want, since there could be temporary
files lying around.
2011-01-28 20:32:09 -06:00
Denis Kenzior
971bdfbe48
smsutil: Don't bother renaming to the same name
...
In sms_tx_queue_load, if the resulting file is the same (which is quite
often the case) then don't bother trying to rename it.
2011-01-28 20:27:58 -06:00
Denis Kenzior
31a4c0025d
smsutil: Fix corner case during tx queue loading
...
If there are extraneous files in the directory when it is being loaded,
then the index used to rename the old file into the new file can get out
of sync with what the core expects.
2011-01-28 20:20:56 -06:00
Denis Kenzior
b1acc3c2db
smsutil: simplify tx backup loading
...
glib functions as a rule do not use g_try* variations. They use
g_malloc instead, so there's no need to check for out of memory
conditions.
2011-01-28 19:51:32 -06:00
Lucas De Marchi
bc0386cb23
sms: restore pending tx messages from backup
...
Based on patch from: Kristen Carlson Accardi <kristen@linux.intel.com>
2011-01-28 16:55:31 -06:00
Lucas De Marchi
f55447a39e
sms: delete sent sms messages from backup
...
Based on patch from Kristen Carlson Accardi <kristen@linux.intel.com>
2011-01-28 16:14:41 -06:00
Lucas De Marchi
8305ddf321
sms: store pending tx pdus on disk
...
Based on patch from Kristen Carlson Accardi <kristen@linux.intel.com>
2011-01-28 16:14:12 -06:00
Pekka Pessi
579a1ebef3
message-waiting: check for NULL argument
2011-01-26 16:47:15 -06:00
Jeevaka Badrappan
12c3cf6969
voicecall: remove ofono_cug_option
2011-01-26 16:38:15 -06:00
Jeevaka Badrappan
0be9e23a90
stk: Fix issue in stk_alpha_id_set
...
Fixes the crash seen with the null alpha identifier.
Also removed the icon check since the decision of whether to inform the
user of the action is dependent entirely on whether the alpha identifier
is provided by the UICC.
2011-01-26 15:24:50 -06:00
Denis Kenzior
dc3019031d
gprs: Refactor gprs provisioning
2011-01-26 14:55:59 -06:00
Denis Kenzior
a02387d0b5
gprs: Put back the id if context creation fails
2011-01-26 14:55:59 -06:00
Denis Kenzior
04ce2bd8cc
gprs: write out MessageCenter and MessageProxy
...
These values were not written out to settings
2011-01-26 14:55:59 -06:00
Denis Kenzior
71e5278ce6
gprs-provision: Refactor provisioning
2011-01-26 14:55:58 -06:00
Jukka Saunamaki
7a5f06dd6a
gprs: add gprs context provisioning
2011-01-26 14:55:58 -06:00
Jukka Saunamaki
e225f56ed0
gprs-provision: add driver API sources
2011-01-26 14:55:58 -06:00
Jukka Saunamaki
feee571bba
ofono.h: add gprs-provision
2011-01-26 14:55:58 -06:00
Aki Niemi
ba3276a8ff
simutil: Add EFcsp file and service group IDs
2011-01-26 10:38:56 +01:00
Marcel Holtmann
ed99980cd3
modem: Simplify the modem lockdown modification
2011-01-26 09:51:41 +01:00
Marcel Holtmann
8637e31d1d
modem: Be a bit more paranoid with lock_owner reset
2011-01-26 09:48:48 +01:00
Rémi Denis-Courmont
8c88ccaad9
modem: do not allow more than one client to lock down
2011-01-26 09:46:42 +01:00
Lucas De Marchi
3ef33522e7
call-settings: use enum values
...
Use the enum values defined for CLIP, CNAP, CLIR, COLP and COLR.
2011-01-25 23:33:20 -06:00
Rafael Ignacio Zurita
4eda451c03
common: add function to validate long numbers
...
Also, adapt voicecall to use the new function for outgoing calls.
2011-01-25 14:12:24 -06:00
Jessica Nilsson
f3e3937502
simutil: EF Fileid additions USIM and SIM Phonebook
...
Also, adding some general fileids for building paths
2011-01-25 14:24:29 +01:00
Jeevaka Badrappan
f49f0ad0cd
stk: change timeout from 10 to 3mintues
2011-01-24 16:22:33 -06:00
Marcel Holtmann
2999252d15
modem: Add feature entry for supplementary services
2011-01-23 10:17:31 +01:00
Marcel Holtmann
d1ebb6f379
ussd: Use global definition of supplementary services interface
2011-01-23 10:17:05 +01:00
Marcel Holtmann
bd1e6a2a3a
sim: Remove double empty lines
2011-01-22 11:06:34 +01:00
Marcel Holtmann
35aa581a0d
voicecall: Fix some minor style issues for voicecall properties
2011-01-21 11:25:50 +01:00
Faiyaz Baxamusa
76081700a9
sms: Break out message objects into message.[ch]
...
These can be used as is by the CDMA SMS manager atom
2011-01-20 14:58:31 -06:00
Andrzej Zaborowski
84d0a57f8a
sim-auth: Add skeleton for the sim-auth atom
2011-01-20 11:16:06 -06:00
Andrzej Zaborowski
20face53bd
ofono.h: Remove unneeded initialisers
...
They have no effect, enum already ensures the values are unique.
2011-01-20 11:16:05 -06:00
Denis Kenzior
8b9e4c1e18
simutil: Fix a memory leak
2011-01-20 11:16:04 -06:00
Andrzej Zaborowski
1542bf0c59
simutil: SIM applications directory decoding utils
2011-01-20 11:15:34 -06:00
Jukka Saunamaki
0ef557e766
sim: getters for mcc and mnc implementation
2011-01-20 11:04:00 -06:00
Jukka Saunamaki
da535d1288
sim: store mcc and mnc separate from imsi
2011-01-20 11:03:43 -06:00
Jeevaka Badrappan
c81c88e311
stk: Handle Launch Browser proactive command
2011-01-20 10:01:24 -06:00
Jeevaka Badrappan
67d1ddc22a
stkutil: add check for qualifier and browser id
...
Checks the valid qualifier and browser id values
applicable for launch browser proactive command
2011-01-20 10:00:15 -06:00
Pekka Pessi
a847f2ac0f
gprs: Make gprs atom offline-safe
...
Allow use of GPRS atom both in online and offline (post_sim) states.
The GPRS now considers the removal of the netreg atom as implicit detach
and registration change to NOT_REGISTERED.
2011-01-20 09:58:52 -06:00
Aki Niemi
8c15a690df
netreg: Deprecate the deregister method
2011-01-20 09:54:55 -06:00
Denis Kenzior
f8b2ea9ebe
gprs: Move packet bearer stuff into gprs.c
2011-01-20 09:49:36 -06:00
Tomasz Gregorek
33aaeb9dff
gprs: mark context driver as not used when removing active context
2011-01-20 13:31:29 +01:00
Aki Niemi
9adc84ea88
core: Always return success to a no-op
...
A SetProperty that doesn't actually change the Online property's state
when no change to that state is pending, should not fail. It should
always succeed regardless of the current modem state.
2011-01-20 12:23:25 +01:00
Rémi Denis-Courmont
8ccbc9e515
gprs: Core support for packet switched bearer reporting
2011-01-20 12:09:18 +01:00
Rémi Denis-Courmont
ec34d75bc7
common: Define packet switched bearers
2011-01-20 12:07:31 +01:00
Denis Kenzior
fa222d810a
voicecall: Handle empty EFecc properly
...
When EFecc is empty we should still set the calling codes to the
default_en_list, not keep the default_en_list + default_en_list_no_sim
2011-01-19 15:22:23 -06:00
Pekka Pessi
2c7b1348aa
sms: make sms atom offline-safe
...
Allow use of SMS atom both in online and offline (post_sim) states.
SMS atom now watches network registration atom and state. Thmessages
are queued but not sent if not registered to a network. Errors
occurring when a short message is being sent while transition from
online to offline or when network coverage is dropped are now handled
gracefully.
2011-01-18 22:09:07 -06:00
Denis Kenzior
f4ea5142ac
voicecall: Update to the new API
2011-01-18 16:09:28 -06:00
Lucas De Marchi
f88f81f132
call-settings: apply rule M11 of coding style
2011-01-18 16:09:27 -06:00
Lucas De Marchi
b0d783c6f1
call-settings: add support for cdip
2011-01-18 16:09:27 -06:00
Lucas De Marchi
2f5afc9410
voicecall: add support for cdip
...
Enable oFono to show the identification informed with CDIP.
2011-01-18 16:09:27 -06:00
Denis Kenzior
918d6354cc
simutil: Sort sim_fileid in numerical order
2011-01-18 09:49:22 -06:00
Jessica Nilsson
cf96d24884
simutil: M9, M11, Minor style fixes and indentation
2011-01-18 09:45:30 -06:00
Aki Niemi
de3a9c7e7c
netreg: Remove default statement
2011-01-18 14:02:59 +02:00
Aki Niemi
e25d40f194
netreg: Fix userdata -> user_data
...
This convention has been advertized on the mailing list.
2011-01-18 14:02:54 +02:00
Aki Niemi
52818e3951
simutil: Style fixes, M12
2011-01-18 14:02:46 +02:00
Aki Niemi
cd46b6bcf3
netreg: Style fixes, M12
2011-01-18 14:02:41 +02:00
Aki Niemi
ec61c75456
common: Style fixes, M12
2011-01-18 14:02:31 +02:00
Jeevaka Badrappan
2b8a358601
sim: fix issue with sizeof call
...
In some compilers, sizeof the functional argument is
not returning the actual sizeof the argument.
2011-01-17 17:05:26 +01:00
Marit Henriksen
140d092a00
src: Added enum for PDP context status.
2011-01-14 14:32:04 +01:00
Rafael Ignacio Zurita
f92f0b5d47
gps: add new interface to feature map
2011-01-13 11:08:07 -06:00
Jeevaka Badrappan
355fa67742
stk: make use of ADD_ERROR_RESULT macro
2011-01-12 16:05:37 -06:00
Jeevaka Badrappan
e5bd00fd80
stk: add additional info for terminal busy result
...
As per the ETSI TS 102 223 specification 8.12.2, it is
mandatory to provide additional information for the
general result "ME currently unable to process command".
2011-01-12 16:04:29 -06:00
Andrzej Zaborowski
2cec48fb1c
simfs: Add cache flushing functions
2011-01-12 14:07:09 -06:00
Jeevaka Badrappan
480f7dffd9
core: M15 coding style fix
2011-01-12 08:06:58 -08:00
Jeevaka Badrappan
819fb91144
smsutil: M15 coding style fix
2011-01-12 08:06:58 -08:00
Rémi Denis-Courmont
6082339040
gprs: avoid useless loop iteration
2011-01-10 16:31:32 -08:00
Denis Kenzior
a4675c50aa
sim: Minor style fixes
2011-01-10 15:42:24 -06:00
Lucas De Marchi
99dd118c5b
sim: query remaining pin retries
...
Check the remaining pin retries after each operation that might have
changed it, i.e. locking, unlocking, reseting or changing pin.
2011-01-10 15:38:59 -06:00
Lasse.Kunnasluoto@tieto.com
557454453d
gprs: Fixing mem leak
2011-01-10 14:57:32 -06:00
Jeevaka Badrappan
b9ead5e736
stk: Remove unwanted error check
...
Possible return values of __ofono_voicecall_tone_send
are -ENOSYS, -ENOENT, -ENOMEM and -EINVAL.
2011-01-06 10:29:24 -08:00
Marcel Holtmann
8772946cfe
network: Ignore signal strength notifications if not registered
...
With the fix to query the signal strength when the registration status
changes it should be now fine again to just ignore notifications about
signal strength changes when not registered. So put this extra check
and comment back into signal strenth notification function.
2011-01-05 21:03:52 -08:00
Marit Henriksen
b7713da077
network: query signal strength
...
Signal strength is set to -1 whenever registration status changes
and differs from registered or roaming. When registration status
changes again to registered or roaming, the signal strength needs to
be updated, added query towards driver to get it.
2011-01-05 16:20:31 -08:00
Lucas De Marchi
435e20153c
dbus: fix appending on dict for types other than string
...
According to dbus documentation, dbus_message_iter_append_basic()
expects a "const char**" if type is string and a simple pointer for
other types. Since we a iterating an array, the value passed is already
a pointer.
2011-01-05 16:19:09 -08:00
Denis Kenzior
0a2648c368
stkutil: Minor style fix
2011-01-05 10:36:31 -06:00
Jeevaka Badrappan
b447c56457
stkutil: add missing text and icon check
...
As per the ETSI TS 102 223 section 6.5.4, If the terminal
receives an icon, and either an empty or no alpha identifier/text string
is given by the UICC, than the terminal shall reject the command
with general result "Command data not understood by terminal".
2011-01-05 10:05:44 -06:00
Jeevaka Badrappan
2411a506e3
stkutil: Allocate for empty string in text dataobj
2011-01-05 10:04:15 -06:00
Lucas De Marchi
53b5935455
call-settings: rename CalledLine* properties
...
COLP and COLR are better named respectively as ConnectedLinePresentation
and ConnectedLineRestriction as stated in 27.007 sections 7.8 and 7.31.
CalledLine* name will be used in future for CDIP.
2010-12-30 11:15:42 -06:00
Lucas De Marchi
3b58a08eaa
call-settings: fix getting CNAP property
2010-12-30 11:12:31 -06:00
Denis Kenzior
0faf44ecb6
stkutil: Add missing call to va_end in parser
2010-12-30 10:56:03 -06:00
Denis Kenzior
3c0a32c102
stk: Remove unneeded assignment
2010-12-27 15:09:03 -06:00
Jeevaka Badrappan
1e5d29012b
stk: fix issue in set up menu handling
2010-12-27 15:06:08 -06:00
Marcel Holtmann
c7963f1c00
sms: Add debug for SMS source and destination ports
2010-12-24 10:47:39 -08:00
Denis Kenzior
66a8002d6a
Revert "stkagent: Remove unneeded goto"
...
This reverts commit 46e3dbe759
.
2010-12-23 18:34:53 -06:00
Denis Kenzior
46e3dbe759
stkagent: Remove unneeded goto
2010-12-23 18:31:47 -06:00
Andrzej Zaborowski
c0d584d160
stk: Send the AlphaId's to agent
...
Terminate session if return signature doesn't match but allow
agent to return from the call if it does match.
2010-12-23 18:30:45 -06:00
Denis Kenzior
adda129e7c
modem: Fix a typo
...
The modem should be offline not online
2010-12-22 19:28:37 -06:00
Denis Kenzior
2f11dd0a5d
cdma-voicecall: Minor style fixes
2010-12-22 19:09:24 -06:00
Dara Spieker-Doyle
a728ff4da1
cdma-voicecall: Add CDMA MO Call Support
2010-12-22 19:01:10 -06:00
Denis Kenzior
3daf20216f
modem: Implement some race-condition avoidance
2010-12-22 14:02:59 -06:00
Gustavo F. Padovan
655da893cb
modem: add Lockdown property to Modem interface
...
Setting Lockdown to TRUE means power down the modem and hold a lock that
only permits the lock's owner power up the modem back. When released
it restores the last state of the modem before holding the lock.
2010-12-22 13:36:18 -06:00
Andrzej Zaborowski
bb9e26f2a5
sim: Set sane number len in empty EFmsisdn records
...
Valid number length range is 1 - 11 bytes, other values, such as 0xff,
could potentially crash external parsers.
2010-12-21 14:25:09 -06:00
Gustavo F. Padovan
8bdbdc2c7d
modem: restore state when resetting the modem
2010-12-17 19:12:32 -06:00
Denis Kenzior
30c19a915e
call-forwarding: Properly signal changes
...
For the ForwardingFlagOnSim property
2010-12-17 17:01:59 -06:00
Denis Kenzior
183624f870
call-forwarding: Get rid of status_on_sim variable
2010-12-17 16:50:33 -06:00
Denis Kenzior
212b291e15
call-forwarding: Simplify sim_set_cf_indicator
2010-12-17 16:40:32 -06:00
Denis Kenzior
424b2f8eb9
call-forwarding: More style fixes
2010-12-17 16:30:43 -06:00
Denis Kenzior
5a9fbb912e
call-forwarding: Use a flag instead of a boolean
...
For storing the presence of CPHS CFF file
2010-12-17 16:11:29 -06:00
Denis Kenzior
88d499d96e
call-forwarding: Get rid of cfis_indicator
...
There's no need to track this information, since if we pick a record
with cfis_indicator for something besides Voice only, then when we
set the record again, the number we set is no longer applicable to
those services.
2010-12-17 16:08:27 -06:00
Denis Kenzior
2e1318ef34
simutil: Remove inaccurate comment
2010-12-17 16:08:27 -06:00
Denis Kenzior
f0d8ae9135
call-forwarding: Minor style fixes
2010-12-17 16:08:24 -06:00
Denis Kenzior
8b848e2b7e
call-forwarding: Get rid of unneeded variable
2010-12-17 12:51:18 -06:00
Jeevaka Badrappan
8f8ae1b62f
call-forwarding: Read/Write cfis/cphs-cff
2010-12-17 12:23:37 -06:00
Denis Kenzior
b6facb43a1
voicecall: Minor style nitpick
2010-12-17 10:52:42 -06:00
John Mathew
af086533f0
voicecall: Add emergency property
2010-12-17 10:51:14 -06:00
Gustavo F. Padovan
2d35d977c5
call-settings: add CNAP support
2010-12-16 18:40:18 -06:00
Gustavo F. Padovan
abd9f86aad
call-settings: fix coding style
2010-12-16 18:40:18 -06:00
Denis Kenzior
28917262ed
voicecall: Use cnap validity in get_properties
2010-12-16 18:40:18 -06:00
Denis Kenzior
65776a6820
voicecall: Use clip_validity in get_properties
2010-12-16 18:40:18 -06:00
Denis Kenzior
ea643485ef
voicecall: Minor style fixes
2010-12-16 18:40:17 -06:00
Gustavo F. Padovan
c47dab9570
voicecall: add support for CNAP
...
Enable oFono to get a info about the Calling Name.
2010-12-16 18:40:17 -06:00
Gustavo F. Padovan
8ae1314372
common: add CNAP defines
2010-12-16 18:40:17 -06:00
Jeevaka Badrappan
d06c03f099
simfs: Add unknown sim phase check
2010-12-12 04:41:27 -06:00
Jeevaka Badrappan
a8c94c044f
sim: fix minor issue in ofono_sim_get_phase
2010-12-12 04:37:52 -06:00
Denis Kenzior
79be5afdc1
stkutil: Allow empty strings in for Text dataobj
...
Explicitly allow length = 1 (DCS) followed by zero characters. This
seems to be explicitly allowed by the test specification (namely Get
Input 1.9.1A)
2010-12-10 12:13:06 -06:00
Guillaume Lucas
6058c800df
stk: fix issue to avoid null pointer for alpha_id
...
If a SET UP CALL proactive command with no alpha identifier
occurs, the alpha_id pointer will be set to NULL. This will
generate a crash in the stkagent with dbus function. To avoid
this we use an empty string if the alpha identifier is not
present in the command.
2010-12-10 11:18:06 -06:00
Denis Kenzior
772bee27d4
stk: No need to check for null text
...
For Set up idle mode text
2010-12-10 10:46:56 -06:00
Guillaume Lucas
778302a1e5
stkutil: fix crash cause by null text string
...
According to 3GPP TS 31.124 a zero length for the text string
should be allowed. An empty string must be returned to the
user in this case.
2010-12-10 10:46:56 -06:00
Denis Kenzior
e74e2c3739
radio-settings: Minor style fixes for rule M13
2010-12-08 11:55:07 -06:00
Denis Kenzior
e23d25c895
radio-settings: Minor style issues
2010-12-08 11:35:44 -06:00
Lucas De Marchi
cefa3b14dc
radio-settings: add frequency band selection props
2010-12-08 11:32:15 -06:00
Denis Kenzior
44a8b282ca
simutil: fixup style according to M11
2010-12-08 09:44:39 -06:00
Yang Gu
5713d5e19f
stk: Handle provide local info proactive command
2010-12-08 07:58:24 -06:00
Yang Gu
f6b037661b
smsutil: Make timezone an optional field
2010-12-08 07:53:30 -06:00
Yang Gu
173c6798d6
smsutil: Change the range of time zone
2010-12-07 12:16:20 -06:00
Gustavo F. Padovan
5862e614fd
Add ofono_modem_reset()
...
Some modems can screw up everything and then we will need to do a silent
reset of the modem. This patch take the modem back to the OFFLINE state.
2010-12-07 12:16:20 -06:00
Gustavo F. Padovan
42a90432e7
modem: only unref pending if it is a powered pending
2010-12-07 12:16:20 -06:00
Denis Kenzior
353d1548bd
smsutil: Minor style fix
2010-12-07 12:16:20 -06:00
Pekka Pessi
da444beb2d
voicecall: fix dial result handling
...
The existing call will be automatically put on hold if there is an
existing active call when dialing. On some modems the dial request
returns only after the dialed call is active and the existing call has
been put on hold.
However, on isimodem driver the dial request returns immediately before
the existing call has changed its status. With isimodem driver the
dial_handle_result() selected the existing call from the list when it
should have created a new one.
The dial result handling now guards againt returning a previously dialed
active call as result.
2010-12-03 13:21:32 -06:00
Denis Kenzior
7c3a800267
network: Send strength as a byte, not uint16
...
To be consistent with the documentation
2010-12-03 12:14:06 -06:00
Jeevaka Badrappan
ef785f9373
smsutil: Fix issue in mwi dcs decoding
2010-12-02 08:08:54 -06:00
Antti Paila
185bb79b1b
gprs: Fix for gprs context conversion
2010-12-02 07:58:17 -06:00
Denis Kenzior
c5a42cfabe
smsutil: Fix uninitialized optional elements
...
sms_decode was never memsetting the returned structure, so if any
optional elements were present in the SMS (e.g. status report) then the
structure was not completely initialized.
2010-12-02 07:53:54 -06:00
Denis Kenzior
ac72349017
sms: Use the right union member for DCS check
2010-12-02 07:49:49 -06:00
Guillaume Lucas
8b0307a621
stk: Add busy error for the display text command
...
According to the sequence 1.2 of the ETSI TS 102 384 a busy
screen error should be returns for the display text proactive
command when the ME is not able to display the text.
2010-11-30 08:20:42 -06:00
Jeevaka Badrappan
5154d5e38d
sim: be more paranoid for triggering EFest read
2010-11-29 14:57:04 -06:00
Lucas De Marchi
b210838e87
core: explicitly compare pointers to NULL
...
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/ )
// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@
- !E
+ E == NULL
// </smpl>
2010-11-29 13:27:15 -06:00
Lucas De Marchi
42bafa260a
simutil: explicitly compare pointers to NULL
...
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/ )
// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@
- !E
+ E == NULL
// </smpl>
2010-11-29 13:12:04 -06:00
Lucas De Marchi
7484d799c9
simfs: explicitly compare pointers to NULL
...
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/ )
// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@
- !E
+ E == NULL
// </smpl>
2010-11-29 13:09:50 -06:00
Lucas De Marchi
d77999cc59
util: explicitly compare pointers to NULL
...
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/ )
// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@
- !E
+ E == NULL
// </smpl>
2010-11-29 13:05:16 -06:00
Lucas De Marchi
d725e79682
stkutil: explicitly compare pointers to NULL
...
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/ )
// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@
- !E
+ E == NULL
// </smpl>
2010-11-29 13:04:35 -06:00
Lucas De Marchi
8e0f9aab9e
smsutil: explicitly compare pointers to NULL
...
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/ )
// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@
- !E
+ E == NULL
// </smpl>
2010-11-29 13:04:04 -06:00
Jeevaka Badrappan
85cbc6926e
simutil: Add EFcfis and EFcphs-cff file Ids
2010-11-27 11:49:25 -06:00
Jeevaka Badrappan
364309b9db
call-volume: Minor coding style fix
2010-11-26 15:23:57 -06:00
Jeevaka Badrappan
2151ac0d5c
audio-settings: Remove unwanted check
2010-11-26 15:04:17 -06:00
Jeevaka Badrappan
bbe283cebc
call-volume: Remove extra line at EOF
2010-11-26 15:00:54 -06:00
Yang Gu
c11d3e95cb
network: Use bit as size instead of byte
2010-11-26 14:02:02 -06:00
Rémi Denis-Courmont
e7c4442c69
core: Remove stray newlines in messages sent to log
2010-11-26 13:50:15 -06:00
Jeevaka Badrappan
1b9081567a
call-volume: Fix dbus error message type
2010-11-26 13:43:29 -06:00
Denis Kenzior
e773625ce5
ctm: fix minor style issues
2010-11-26 13:08:48 -06:00
Lucas De Marchi
df2984a724
ctm: Add initial CTM atom implementation
2010-11-26 13:08:48 -06:00
Denis Kenzior
cd281f4454
stkutil: Minor style fixes
2010-11-25 17:58:37 -06:00
Guillaume Lucas
9b690aad40
stkutil: Use sms_dcs_decode in decode_text
...
This is a much more pedantic version that can be used to
retrieve the text character set.
2010-11-25 17:57:26 -06:00
Andrzej Zaborowski
3d1a4ec239
stk: use bigger timeout in DisplayText
...
When the wait for user confirmation bit is set.
2010-11-25 16:46:33 -06:00
Jeevaka Badrappan
175ac85942
call-forwarding: skip property change data and fax
2010-11-24 15:54:46 -06:00
Lucas De Marchi
b1c159e6f6
text-telephony: add new interface to feature map
2010-11-24 09:00:40 -06:00
Rémi Denis-Courmont
e9d80e40ac
common: remove redundant predicate
...
If the first character is a plus sign, then it is not a nul, then
the string length is true anyway.
2010-11-23 06:48:57 -06:00
Gustavo F. Padovan
b79b64439f
dbus: Add __ofono_error_access_denied
2010-11-23 05:06:29 -06:00
Denis Kenzior
5774e9fa53
stk: Minor style fix
2010-11-23 03:08:56 -06:00
Andrzej Zaborowski
55e1ca2e1c
stk: Handle null Text field
...
Add a NULL check in dbus_apply_text_attributes because in some places
(like DisplayText handler) we call it without checking and we just check
the return value once.
2010-11-23 03:08:51 -06:00
Denis Kenzior
d1de85e5a4
call-settings: Fix style issues
2010-11-22 16:32:27 -06:00
Denis Kenzior
6c2099fd8e
call-settings: fix CLIR Invocation and Suppression
...
According to 22.030 the *31# version is used to suppress CLIR
and #31# version is used to invoke CLIR.
2010-11-22 16:29:46 -06:00
Denis Kenzior
80a8fd1a64
modem: Don't notify online watches the first time
...
We should not notify the online watches when we enter the OFFLINE state
for the first time. We should only do so when we go from ONLINE state
into the OFFLINE state.
2010-11-22 09:56:22 -06:00
Denis Kenzior
60aceb3e71
modem: Miscellaneous style fixes
2010-11-22 09:54:25 -06:00
Andras Domokos
d7fb7da021
modem: add modem online-offline watch
2010-11-22 09:53:41 -06:00
Jeevaka Badrappan
2d0cb92155
src: coding style fixes - rule M6
2010-11-22 05:07:52 -06:00
Jeevaka Badrappan
4988741107
simutil: coding style fixes - rule M6
2010-11-22 05:06:38 -06:00
Jeevaka Badrappan
b4353d15ea
simfs: coding style fixes - rule M6
2010-11-22 05:06:21 -06:00
Jeevaka Badrappan
58b3d888c0
stkutil: coding style fixes - rule M6
2010-11-22 05:05:52 -06:00
Jeevaka Badrappan
e6e27406ae
smsutil: coding style fixes - rule M6
2010-11-22 05:05:31 -06:00
Jeevaka Badrappan
627ec8b0c3
util: coding style fixes - rule M6
2010-11-22 05:05:07 -06:00
Marcel Holtmann
d74471e4d9
modem: Fix small coding style issue
2010-11-19 11:40:31 +01:00
Jeevaka Badrappan
dfa7cf7145
util: Remove extra tab
2010-11-17 10:03:26 -06:00
Denis Kenzior
5625c9728f
modem: Fix up doc typo
2010-11-17 08:26:26 -06:00
Gustavo F. Padovan
8ae8deb44f
Simplify ofono_modem_set_powered() logic
2010-11-15 07:39:16 -06:00
Denis Kenzior
5c9a03b480
sms: Fix up comment style and wording
2010-11-10 09:17:19 -06:00
Denis Kenzior
c18e01be16
cbs: Minor style fixes
2010-11-10 09:15:51 -06:00
Andrzej Zaborowski
32e4eae814
cbs: CBS-PP download must be enabled in sst / est
2010-11-10 09:10:48 -06:00
Andrzej Zaborowski
45b944d84b
sms: SMS-PP download must be enabled in sst / est
2010-11-10 09:09:55 -06:00
Andrzej Zaborowski
3083841f72
sim: Add sim_service_available()
...
This is meant to query EFsst or EFust.
The function is not public api because the service constants are in
src/simutil.h.
2010-11-10 09:09:05 -06:00
Andrzej Zaborowski
028c8c011b
sms: Handle "USIM Download" SMS type.
2010-11-08 13:36:47 -06:00
Andrzej Zaborowski
65159c2f0b
stk: API for SMS Point-to-Point download to UICC
...
The callback returns the TP-User-Data element content of the RP-ACK or
RP-ERROR message, returned by the UICC.
2010-11-08 13:36:23 -06:00
Pekka Pessi
32b333059b
gprs: NULL-safe ofono_gprs_context_remove()
...
Check for NULL in one place.
2010-11-08 13:03:16 -06:00
Gustavo F. Padovan
24032bd526
dbus: Use OFONO_ERROR_INTERFACE define
...
Instead of the legacy DBUS_GSM_ERROR_INTERFACE. The new name is more
generic, which make more sense.
2010-11-08 11:36:44 -06:00
Denis Kenzior
d7403d521b
sim: Check both EFust and EFest for FDN & BDN
...
We were checking EFest only for whether BDN and FDN were enabled.
According to 31.102 Section 5.3.2 we should be checking both EFust
(availability of the service) and EFest (whether it is enabled)
2010-11-05 09:14:32 -05:00
Denis Kenzior
e613c686a6
sim: Don't read EFest if the file is not available
2010-11-05 09:14:32 -05:00
Guillaume Lucas
aa2c87886f
sim: use mask for check of sim file status
...
It is the first bit of the sim file status who indicates if a file
is valid or not. So a mask must be used to check this.
2010-11-05 09:14:32 -05:00
Denis Kenzior
78cac8472f
smsutil: Use entire range of ref / port addresses
2010-11-04 11:09:11 -05:00
Denis Kenzior
4815d84789
sms: Call the txq_submit queued callback
2010-11-04 10:25:42 -05:00
Denis Kenzior
857e2d046f
sms: Separate history from dbus flags in txq_submit
2010-11-04 10:25:42 -05:00
Denis Kenzior
3436c58fac
sms: Refactor __ofono_sms_txq_submit
2010-11-04 10:25:42 -05:00
Denis Kenzior
4a2111347f
sms: Add __ofono_sms_message_path_from_uuid
2010-11-04 10:25:41 -05:00
Denis Kenzior
0edb5e3645
sms: add __ofono_sms_get_next_ref
2010-11-04 10:25:41 -05:00
Denis Kenzior
8b54166523
smsutil: Remove traces of ref_offset variable
2010-11-02 15:56:30 -05:00
Denis Kenzior
2a18afa994
sms: Fix unused variable warning
2010-11-02 15:56:22 -05:00
Denis Kenzior
4c659f5e69
ofono.conf: Punch hole for SmartMessagingAgent
2010-11-02 15:08:24 -05:00
Denis Kenzior
2cc92d80e6
smsutil: Add sms_datagram_prepare
2010-11-02 14:58:21 -05:00
Denis Kenzior
e29d1338b9
sms: Update to the new smsutil api
2010-11-02 14:58:21 -05:00
Denis Kenzior
57d847692c
smsutil: Get rid of ref_offset in sms_text_prepare
...
The reason for this parameter has ceased to exist quite a while ago.
Namely when the API allowed multiple SMS recipients. We prepared a
single set of segments and then reset the to address and reference. We
no longer allow multiple recipients and none of this is now needed.
2010-11-02 14:58:21 -05:00
Denis Kenzior
348bdb7f1d
sms: Don't crash when encoding fails
2010-11-02 12:15:53 -05:00
Denis Kenzior
a05ebc93ab
smsutil: Additional sanity checks for decode_scts
2010-11-02 12:15:53 -05:00
Denis Kenzior
9d52fd0da0
ofono.conf: Punch hole for PushNotificationAgent
2010-11-02 12:15:53 -05:00
Denis Kenzior
8f5d8280b6
sms: Minor style fix
2010-11-02 12:15:53 -05:00
Denis Kenzior
f5db7564e8
sms: Left shift 8-bit ports by 16
...
These are less commonly used so make them not interfere with 16 bit
ports
2010-11-02 12:15:53 -05:00
Denis Kenzior
ac731f2071
smsagent: Add smsagent implementation
...
Based on the patches by Aki Niemi
2010-11-02 12:15:53 -05:00
Mika Liljeberg
d282509a9d
main: add capabilities for phonet
...
Phonet sockets require CAP_SYS_ADMIN and SO_BINDTODEVICE socket
option requires CAP_NET_RAW.
2010-11-01 17:27:46 +01:00
Denis Kenzior
5c6144f359
stk: Handle Send SS in handled_notify
2010-10-28 10:37:05 -05:00
Denis Kenzior
bef003059e
radio-settings: Don't check for cached
...
Checking for this flag does not have the desired effect, or rather it
has other side-effects (e.g. setting the property twice before
GetProperties). oFono discourages spurious signal emission.
2010-10-27 22:26:15 -05:00
Denis Kenzior
107f6ee731
radio-settings: Add extra newlines
...
To be compliant with the coding style
2010-10-27 22:26:15 -05:00
Mika Liljeberg
a4983d99eb
radio settings: add FastDormancy property
2010-10-27 22:26:15 -05:00
Johan Hedberg
aed4eac9fa
Fix string array memory leaks during plugin loading
2010-10-28 01:50:26 +02: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
Andrzej Zaborowski
77c20d8a27
stk: Handle more commands in handled_notify
2010-10-27 12:00:42 -05:00
Marcel Holtmann
99bd7d0399
gprs: Use common function for default name of default Internet context
2010-10-27 18:14:50 +02:00
Pekka Pessi
de96428ca2
gprs-context: add IMS connection type
2010-10-27 16:57:57 +02:00
Marcel Holtmann
4e72af9b19
gprs: Add host route to the configured MMS proxy
2010-10-27 16:09:27 +02:00
Marcel Holtmann
534d1ccec6
gprs: Set IP address for GPRS contexts of type MMS
2010-10-27 15:25:25 +02:00
Marcel Holtmann
87cd9f57b3
gprs: Add support for exposing proxy information for MMS context
2010-10-27 15:09:33 +02:00
Marcel Holtmann
c409dacbc8
gprs: Add support for selecting GPRS context drivers based on types
2010-10-27 14:43:32 +02:00
Marcel Holtmann
a46fbe493e
main: Enable active capability dropping
2010-10-27 14:03:13 +02:00
Marcel Holtmann
8ff5d6d6a9
gprs: Add flag to track usage of GPRS context drivers
2010-10-27 13:56:12 +02:00
Marcel Holtmann
c7a5210be6
gprs: Extract GPRS context assignment into separate function
2010-10-27 11:53:37 +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
Marcel Holtmann
0df5a60a0c
gprs: Load stored MMS Proxy and MMSC settings
2010-10-27 00:51:51 +02:00
Marcel Holtmann
20f3a3adb2
gprs: Use better default name for context creation
2010-10-26 23:19:54 +02:00
Marcel Holtmann
768d02a881
gprs: Add support for storing MMS Proxy and MMSC settings
2010-10-26 23:14:58 +02:00
Marcel Holtmann
483663eeed
gprs: Assign GPRS atom to GPRS context atom
...
If the GPRS atom is not assigned to the GPRS context atom, then possible
network triggered activation crashes.
2010-10-26 14:03:47 +02:00
Denis Kenzior
d9ad66ab38
stk: Default to general beep if no tone is provided
...
According to section 6.6.5 of 102.223
2010-10-25 17:42:41 -05:00
Andrzej Zaborowski
b15bcb4a40
stk: Handle the Play Tone proactive command.
2010-10-25 17:23:12 -05:00
Andrzej Zaborowski
47c3b3f52a
stk: Add duration_to_msecs to reduce duplication.
2010-10-25 17:21:23 -05:00
Andrzej Zaborowski
e0663bd0ed
voicecall: Limit tone string length per request.
...
Also change to avoid memcpying into a buffer.
2010-10-25 17:20:17 -05:00
Denis Kenzior
ee4879d196
gprs: Return busy if ops are potentially colliding
2010-10-25 16:32:49 -05:00
Denis Kenzior
180f765ebe
gprs: Implement DeactivateAll()
2010-10-25 16:32:49 -05:00
Denis Kenzior
1677e19ab5
manager: Don't show modems which are not registered
2010-10-25 16:32:49 -05:00
Denis Kenzior
cfa956596c
modem: Add ofono_modem_is_registered
2010-10-25 16:32:49 -05:00
Denis Kenzior
d168c35b99
gprs: Support multiple active contexts
2010-10-25 14:45:12 -05:00
Denis Kenzior
dc43b56154
sim: Fix minor style issue
2010-10-25 10:39:09 -05:00
Jeevaka Badrappan
233bd42820
sim: add barred dialing support
2010-10-25 10:39:09 -05:00
Jeevaka Badrappan
06839da715
simutil: add Efbdn fileid to sim_fileid enum
2010-10-25 10:39:09 -05:00
Marcel Holtmann
3342af770a
gprs: Handle failure of GPRS context atom drivers
...
The GRPS context atom drivers can return an error from their probe
callbacks. In that case gc->driver is NULL and will cause a crash
when trying to activate a context. So check that there is actually
a driver attached to that GPRS context.
2010-10-24 17:14:16 +02:00
Jeevaka Badrappan
9bebe654e3
simfs: Fix issue with sim_fs_op_error
2010-10-24 09:11:15 -05:00
Denis Kenzior
e4a0ba26a0
stk: Nitpick some newline issues
2010-10-22 22:39:56 -05:00
Andrzej Zaborowski
6cabaec726
stk: Apply STK text attributes as html
2010-10-22 22:33:54 -05:00
Denis Kenzior
d4801a306c
stk: use null character instead of 0
...
Slightly better readability
2010-10-22 22:28:04 -05:00
Denis Kenzior
1cc2c6b1ce
stk: Remove reference to positive EINVAL
...
Move it to the original call where it belongs
2010-10-22 22:25:20 -05:00
Andrzej Zaborowski
75ce3c7c23
stk: Handle the Send DTMF proactive command
...
The default_agent_notify and session_agent_notify changes below are
needed for respond_on_exit commands to be able to free up their
resources, reset alpha id, etc. Commands other than Send DTMF that
use respond_on_exit are all associated with a agent method call and
get notified about agent exit in the callback.
2010-10-22 22:00:04 -05:00
Andrzej Zaborowski
0dd1e9ed07
voicecall: __ofono_voicecall_tone_send internal api
...
This provides a way for other atoms to send DTMF tones during a call.
It is assumed that vc->driver->send_tone returns only after the tones
have finished being emitted.
In this version Dbus DTMF requests are in the same queue as STK
requests.
2010-10-22 21:59:11 -05:00
Denis Kenzior
40904f655d
simfs: Fix issue with check_cached
...
The only_info logic was inverted, causing us to always read from the
modem.
2010-10-22 12:11:26 -05:00
Denis Kenzior
107a38de85
sim: Pass dbus types
...
Can't really assume they're the same as glib types
2010-10-22 11:58:59 -05:00
Denis Kenzior
8b40f6c1a0
sim: Get rid of unneeded empty line
2010-10-22 11:57:18 -05:00
Denis Kenzior
39a3080a4b
sim: Break out common FDN property signaling
2010-10-22 11:56:35 -05:00
Denis Kenzior
71255c49fb
simfs: Use errno for simfs errors
2010-10-22 11:45:39 -05:00
Denis Kenzior
6ce608b01d
simfs: No need to set these variables
2010-10-22 11:42:40 -05:00
Petteri Tikander
7de5e48df8
sim: check existence of imsi-code
...
For instance: when handling sim_get_properties
in PRE_SIM-state imsi is not received/stored.
2010-10-22 11:23:08 -05:00
Petteri Tikander
d82600c893
sim: check if Fixed Dial is enabled in SIM-card
...
If SIM-card is inserted, status is checked from EFsst
(is FDN activated) and EFadn (is ADN invalidated).
If USIM-card is inserted, status is checked from EFest
(is FDN activated).
If FD is enabled, halt SIM initialization procedure.
New property (FixedDialing) is added. If FD is enabled,
this has been signalled via DBUS.
2010-10-22 11:21:23 -05:00
Petteri Tikander
d74e0b5ece
simfs: retrieve only EF-info without EF-contents
2010-10-22 11:13:46 -05:00
Petteri Tikander
6d07c1cffe
modem: add debugs to monitor modem state changes
2010-10-21 23:13:23 -05:00
Aki Niemi
56d46ae16b
netreg: Allow strength notifys at all times
2010-10-21 21:39:41 +03:00
Aki Niemi
90ce04e0e1
radio settings: Fix string to enum mapping
2010-10-21 21:39:41 +03:00
Yang Gu
6394d5b442
stk: Support send ss response
2010-10-20 18:20:36 -05:00
Yang Gu
af4d3ad756
stkutil: Add enum for additional error cause info
...
For terminal and supplementary services
2010-10-20 18:19:48 -05:00
Denis Kenzior
81bc8884b4
radio-settings: Get rid of unneeded casts
2010-10-20 17:59:21 -05:00
Denis Kenzior
cbe433c9ee
radio-settings: Fixup various style issues
2010-10-20 16:52:35 -05:00
Denis Kenzior
b92662634d
sim: Read EFust and EFest after phase is known
2010-10-19 14:20:57 -05:00
Denis Kenzior
cfb3cd9647
simfs: Don't cache if phase is unknown
2010-10-19 14:07:41 -05:00
Denis Kenzior
04755acc3a
sim: Fix setting the correct phase from EFphase
2010-10-19 14:07:41 -05:00
Denis Kenzior
b75a5574f5
common: Fix mmi code to bearer class mappings
...
MMI services 22, 21, 20 and 26 were mapped incorrectly. See the comment
in the code for more information and the thread 'Call Barring and MMI
Supplementary Service codes' on the oFono mailing list.
2010-10-19 12:09:30 -05:00
Denis Kenzior
5fe4694b21
common: Update the basic services in comments
2010-10-15 07:05:37 -05:00
Denis Kenzior
0564176a9c
sim: Fix crash on sim re-insertion
2010-10-15 06:26:34 -05:00
Denis Kenzior
aa42d954ed
simfs: Make compile
2010-10-15 06:26:28 -05:00
Denis Kenzior
94cf7c3dd6
simutil: Remove unneeded enum
2010-10-15 02:14:45 -05:00
Petteri Tikander
1f2140dabe
simutil: response-handler returns now also file-status
2010-10-15 02:01:34 -05:00
Aki Niemi
37d2edec1c
Fix style problem
2010-10-14 15:37:37 +03:00
Aki Niemi
5a85a57cc3
sms: Implement text and datagram watch
...
Allow setting a watch for incoming text and datagram messages on the
sms atom.
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
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
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
Andrzej Zaborowski
198dcc2c28
stk: Pass icon IDs in stk agent request parameters
2010-10-14 00:58:43 -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
ccf4b34522
sim: Use ay return signature for 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
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
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
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
Pekka Pessi
b654e723c7
ussd: pass call_in_progress to valid_ussd_string
...
Query the voicecall atom whether a call is in progress and pass this
information along to valid_ussd_string.
2010-10-10 05:52:30 -05:00
Pekka Pessi
919e305aa1
common: fixup logic of valid_ussd_string()
...
The logic of valid_ussd_string was not quite correct as it didn't take
care of size 1 USSD strings. In addition, call_in_progress parameter is
passed in to take care of size 2 USSD strings which might start with a
'1' according to the rules of 22.030.
The comment about USSD routing is removed, it is out of scope of oFono.
The cellular network routes the USSD requests based on the rules laid
out in the 22.090, however, any string that can be encoded according to
the rules of 23.030 is valid USSD.
2010-10-10 05:48:25 -05:00
Alexander Kanavin
034a13f572
Fix COLR typo
2010-10-07 13:11:18 +02:00
Alexander Kanavin
5ddaed064d
Fix typo in SS enum to string conversion
2010-10-07 13:10:09 +02:00
Pekka Pessi
f1be4b2375
ussd: check g_try_new0 return value
2010-10-06 17:27:20 +02:00
Pekka Pessi
907e14e4ae
sms: fix type error
2010-10-05 13:53:12 +02:00
Pekka Pessi
adb8219090
Support -p and -P options with list of plugins
2010-10-04 17:34:50 +02:00
Jeevaka Badrappan
dac67fe363
stk: Additional info for failed Send USSD case
2010-10-02 17:20:08 -05:00
Marcel Holtmann
17f7fffa2a
build: Add support for systemd configuration
2010-10-02 20:20:31 +02:00
Marcel Holtmann
a499582993
build: Add D-Bus service autostart support
2010-10-02 17:57:19 +02: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
f4a0b9fa20
modem: Add modemwatch watchlist functions
...
Used for registering to modem added & removed notifications
2010-09-28 22:49:22 -05:00
Denis Kenzior
1db4300467
ofono: Don't go over 80 characters per line
2010-09-28 22:43:31 -05:00
Denis Kenzior
f79ac9df1b
ssn: The id is unsigned
2010-09-28 22:43:09 -05:00
Denis Kenzior
be56f200d8
modem: Minor style fix
2010-09-28 22:13:02 -05:00
Denis Kenzior
d70d422866
voicecall: Set single_call correctly
2010-09-28 16:59:15 -05:00
Aki Niemi
0eee1c6727
sms: Fix 8bit port handling
2010-09-27 19:09:09 -05:00
Yang Gu
a9aac83e33
ss: Use function to judge if it's busy
2010-09-26 19:50:50 -05:00
Marcel Holtmann
df0a431a41
stk: Fix missing inlude for encode_hex_own_buf
2010-09-24 09:37:14 +09:00
Denis Kenzior
a69ae76207
stk: Add skeleton Refresh handler
2010-09-23 13:17:40 -05:00
Denis Kenzior
1bdf68e133
simfs: Fix freeing a NULL queue
2010-09-22 22:39:29 -05:00
Denis Kenzior
c12632dfef
smsutil: Reflow the fuzzy matching code
...
Make a bit more readable
2010-09-22 16:27:30 -05:00
Petteri Tikander
6c1ec61603
smsutil: add fuzzy address check for status report
2010-09-22 12:20:52 -05:00
Jeevaka Badrappan
4196182770
Fix multi-line comment style issues
2010-09-21 21:16:01 -05:00
Denis Kenzior
348a891665
sms: Update signals for introspection
2010-09-21 21:15:08 -05:00
Denis Kenzior
8dbaf29ffc
sms: Tweak behavior of txq_submit
...
If history tracking is desired, expose over D-Bus as well
2010-09-21 21:15:07 -05:00
Denis Kenzior
82ff49c781
sms: Emit MessageRemoved
2010-09-21 21:15:07 -05:00
Denis Kenzior
8ea7db0416
sms: Emit MessageAdded
2010-09-21 21:15:07 -05:00
Denis Kenzior
0e76043303
sms: Implement GetMessages method
2010-09-21 21:15:07 -05:00
Denis Kenzior
aa780bc935
sms: Initial Message interface implementation
2010-09-21 21:15:07 -05:00
Lucas De Marchi
e57df97584
Simplify linker script
...
Version linker scripts support function names and globs, so there's no
need to rely on nm tool to gather the exported symbols.
2010-09-21 23:25:50 +09:00
Jeevaka Badrappan
64b0af24bd
stk: Language Notification proactive cmd support
2010-09-21 08:44:48 -05:00
Denis Kenzior
251ac0ebd2
sms: Update to the new history API
2010-09-21 08:44:48 -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
03c8177208
sms: Update to the new status report assembly api
2010-09-21 08:44:47 -05:00
Denis Kenzior
e345a6b579
smsutil: update SR assembly to use SHA1 msg ids
2010-09-21 08:44:47 -05:00
Denis Kenzior
02cca88bcc
sms: Get rid of NextMessageId setting
2010-09-21 08:44:47 -05:00
Denis Kenzior
b086f57ec0
sms: Reflow manager methods table
2010-09-21 08:44:47 -05:00
Denis Kenzior
016f168f47
sms: Refactor __ofono_sms_txq_submit
2010-09-21 08:44:47 -05:00
Denis Kenzior
63c8b720fe
sms: Refactor txq_entry_create
2010-09-21 08:44:47 -05:00
Denis Kenzior
9d52a9d215
sms: Refactor outgoing sms id generator
2010-09-21 08:44:47 -05:00
Inaky Perez-Gonzalez
1683c03140
sms: replace sequential SMS message ID with hash
...
The SMS messages's ID number (used for history, D-Bus naming and
storage in external database) is updated to use a hash (based on PDUs
and submission time) to further avoid ID collision concerns.
2010-09-21 08:44:47 -05:00
Denis Kenzior
852a65bcdd
sms: Compute SHA1 based UUID for incoming messages
2010-09-21 08:44:47 -05:00
Pekka Pessi
217c161cf5
ussd: debug log notifys
2010-09-16 13:46:25 -05:00
Denis Kenzior
41a55beef3
stk: Refactor Send USSD error handling
2010-09-15 12:03:02 -05:00
Denis Kenzior
d966b6593b
stk: Fix style issues
2010-09-15 11:58:29 -05:00
Denis Kenzior
a0d476281d
stkutil: Don't include USSD text unless needed
2010-09-15 11:58:00 -05:00
Jeevaka Badrappan
47ddc4b70d
stk: Handling of Send USSD proactive command
2010-09-15 11:46:23 -05:00
Denis Kenzior
98e2b6b426
ussd: Give proper errors
2010-09-15 11:45:18 -05:00
Denis Kenzior
165fa52cdf
ussd: No need for these structure members
2010-09-15 11:37:23 -05:00
Jeevaka Badrappan
77361655c0
ussd: Add __ofono_ussd_initiate internal api
2010-09-15 11:36:03 -05:00
Denis Kenzior
3114a907ff
ussd: Fix up minor style issue
2010-09-15 10:03: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
Denis Kenzior
adc0a1bd6c
util: Clean up style issues
2010-09-14 12:00:28 -05:00
Denis Kenzior
a5d0933b22
smsutil: Clean up ussd_encode
2010-09-14 11:54:57 -05:00
Denis Kenzior
ebcfe67d91
util: Clean up some coding style violations
2010-09-14 11:49:25 -05:00
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