Denis Kenzior
5dcab7b507
voicecall: Tweak the behavior of previous commit
...
Use a generic void pointer to remove the need for emulator_release_done
function.
Use naming a bit more consistent with the rest of the codebase
2011-04-19 16:32:59 -05:00
Frédéric Danis
4ad9833c25
voicecall: add +CHUP support for HFP emulator
...
Update multirelease_callback to be used from DBus calls or HFP Emulator.
"release done" is configurable by multirelease caller.
2011-04-19 16:27:11 -05:00
Denis Kenzior
f081400c98
voicecall: Don't go over 80 characters per line
2011-04-19 16:25:08 -05:00
Frédéric Danis
8600a39cce
voicecall: add ATA support for HFP emulator
2011-04-19 13:53:24 -05:00
Denis Kenzior
cae4553710
emulator: Use a switch/case instead of if
...
Seems a bit cleaner
2011-04-19 13:53:24 -05:00
Denis Kenzior
894c9cf406
emulator: Reflow comments
2011-04-19 13:53:24 -05:00
Frédéric Danis
ffd4db4a97
emulator: add +CCWA support for HFP AG
2011-04-19 13:53:24 -05:00
Frédéric Danis
7c5498746e
emulator: add +CLIP support for HFP AG
2011-04-19 13:53:24 -05:00
Frédéric Danis
a8acaf59d3
voicecall: add API to find call by status
2011-04-19 13:53:24 -05:00
Frédéric Danis
335ca8fac3
emulator: add RING for HFP AG
2011-04-19 13:53:23 -05:00
Denis Kenzior
2ded3271d5
simutil: Add support of CPHS EFcsp to our EF db
2011-04-14 17:34:16 -05:00
Denis Kenzior
d6838a2095
network: One more trivial fix
...
total_length and record_length are the same in this context, but using
total_length makes the code more readable
2011-04-14 17:33:40 -05:00
Denis Kenzior
1e00ed554c
network: Refactor EFcsp to support STK Refresh
2011-04-14 17:02:22 -05:00
Denis Kenzior
441456503e
network: Use strings instead of ints in settings
2011-04-14 17:02:22 -05:00
Denis Kenzior
240a01260f
modem: Fix entering offline mode prematurely
...
A contextual change to __ofono_modem_find_atom has caused us to enter
into offline mode prematurely. find_atom was changed to return only the
atoms that were registered, however the modem really has to know whether
the sim atom is created (not registered) in order to know whether to
wait for the SIM to be initialized or not.
2011-04-14 17:02:22 -05:00
Denis Kenzior
d26a3fd67b
sms: Fix typo
2011-04-14 17:02:22 -05:00
Denis Kenzior
e4fda1e36d
network: Read EFcsp after initializing reg state
...
This is to avoid some benign race conditions when EFcsp might be read
before the registration state has been established.
2011-04-14 17:02:22 -05:00
Denis Kenzior
49928bece3
network: Try not to clash with 27.007-defined modes
2011-04-14 17:02:22 -05:00
Denis Kenzior
59f32bd353
netreg: Refactor register_callback
2011-04-14 17:02:22 -05:00
Aki Niemi
41c42f1606
netreg: Add CPHS CSP implementation
2011-04-14 17:02:22 -05:00
Philippe Nunes
8cb9e8ed7b
stkutil: Add additional info enum for BIP
2011-04-11 23:17:19 -05:00
Philippe Nunes
bcd8608f95
stkagent: Add ConfirmOpenChannel method
2011-04-11 23:16:56 -05:00
Denis Kenzior
e9f12d7620
voicecall: fix to sim ecc free logic
...
Correct copy paste mistakes and a slight logic oversight
2011-04-11 17:48:11 -05:00
Denis Kenzior
857d2dfca8
voicecall: Fix ECC list generation for empty EFecc
2011-04-11 15:24:09 -05:00
Frédéric Danis
d214427663
voicecall: add call, callsetup and callheld indicators
2011-04-11 10:34:30 -05:00
Frédéric Danis
d43cf515da
emulator: add call, callsetup and callheld cinds
2011-04-11 10:34:15 -05:00
Nicolas Bertrand
0596480260
stkagent: Avoid error when URL is null
...
...with STK command "LAUNCH BROWSER" and default URL
2011-04-07 22:26:42 -05:00
Denis Kenzior
31aca33b44
voicecall: Handle concurrent Refresh & NW ECC update
...
There is a potential case where the EFecc is being refreshed due to a
SIM refresh and a Network ECC list is updated. In this case we might
report a set of numbers that is not yet complete. Take care of this
case.
2011-04-07 22:18:06 -05:00
Denis Kenzior
ad717a0f40
voicecall: Don't reverse sim_en_list
...
The order of the ECCs is not important as they're all unique.
2011-04-07 22:18:05 -05:00
Denis Kenzior
85dfc94016
voicecall: Fix ECC list generation
...
If the network list of ECC numbers is updated when we have no SIM, or
when the SIM numbers have not yet been read, or there is an error during
EFecc read, then the default_no_sim numbers are never added to the ECC
list.
2011-04-07 22:18:05 -05:00
Denis Kenzior
7608db55cb
voicecall: Localize variable initialization
2011-04-07 22:18:05 -05:00
Jeevaka Badrappan
4a83571677
voicecall: network emergency number list support
2011-04-07 22:18:05 -05:00
Jeevaka Badrappan
f6444d3963
voicecall: Refactor emergency number list handling
2011-04-07 22:18:05 -05:00
Jeevaka Badrappan
758826919b
voicecall: Remove sim_state_watch on atom unregister
2011-04-07 22:18:05 -05:00
Denis Kenzior
8900cf81a6
stk: No more need to use get_registered
...
__ofono_modem_find_atom returns only atoms that are registered now.
2011-04-05 00:18:34 -05:00
Denis Kenzior
73b9e06c40
stk: Check for USSD atom before others
...
For efficiency (and consistency) we should check for the USSD atom
before checking CallForwarding, CallBarring, and CallSettings atoms.
2011-04-05 00:16:23 -05:00
Andrzej Zaborowski
d77f0ff799
stk: Check if terminal is busy before SIM Refresh
2011-04-05 00:12:10 -05:00
Denis Kenzior
9464dc32b4
call-forwarding: Move to avoid forward-decl
2011-04-05 00:07:43 -05:00
Denis Kenzior
ee5282aac9
call-forwarding: Remove unneeded forward-decl
2011-04-05 00:06:29 -05:00
Denis Kenzior
f31298666b
call-forwarding: Fix typo
2011-04-05 00:05:10 -05:00
Andrzej Zaborowski
c57d6049bf
call-forwarding: Reregister on EF-CFIS refresh
2011-04-05 00:05:04 -05:00
Denis Kenzior
ff04d53e32
modem: Tweak online logic if set_online is missing
...
In case set_online is missing, we should set online mode directly. If
we're already online then set our state to Online, otherwise check if we
should get Online.
2011-04-04 23:48:41 -05:00
Denis Kenzior
4ee289a4ab
modem: No need to set get_online on sim reset
...
When STK sends us a SIM Refresh resulting in a SIM reset, we should not
set the online state as the modem should still keep us online anyway.
2011-04-04 23:45:32 -05:00
Denis Kenzior
1b0c1a6416
modem: Fix minor style violations
2011-04-04 23:45:23 -05:00
Jeevaka Badrappan
e933ca4260
modem: modem state decoupled from rf state
2011-04-04 23:36:49 -05:00
Denis Kenzior
a002db962a
voicecall: Detect emergency calls initiated by STK
2011-04-04 23:36:49 -05:00
Jeevaka Badrappan
348149ec5a
voicecall: add emergency mode handling
2011-04-04 23:36:49 -05:00
Jeevaka Badrappan
f117cc5abf
voicecall: generalize emergency call check
2011-04-04 23:36:49 -05:00
Jeevaka Badrappan
0bb95c1bd8
modem: restrict operations allowed in emergency
2011-04-04 23:36:49 -05:00
Jeevaka Badrappan
c65eb67f48
dbus: Add __ofono_error_emergency_active
2011-04-04 23:36:49 -05:00