Philippe Nunes
b2e3a47217
stkutil: Add typo/cleaning modifications
2011-03-30 19:36:09 -05:00
Denis Kenzior
767d297263
modem: Only find registered atoms
...
Change the semantics of __ofono_modem_find_atom to only return
registered atoms.
2011-03-30 13:30:50 -05:00
Denis Kenzior
3e799ce8b4
devinfo: Register the devinfo atom
2011-03-30 13:30:01 -05:00
Denis Kenzior
29df90d2b1
voicecall: set call_list to NULL
2011-03-30 13:29:47 -05:00
Denis Kenzior
44953be406
network: Notify only registered emulator atoms
2011-03-30 13:06:57 -05:00
Denis Kenzior
774cb72930
modem: Add __ofono_modem_foreach_registered_atom
2011-03-30 13:04:42 -05:00
Denis Kenzior
192c0b62f4
modem: Remove more un-needed code
2011-03-30 13:04:31 -05:00
Denis Kenzior
6c9a6b064f
network: Remove un-needed code
...
With the new add_atom_watch semantics the foreach statement is not
needed.
2011-03-30 12:38:14 -05:00
Mika Liljeberg
0eedf42921
core: remove redundant code
2011-03-30 12:33:54 -05:00
Mika Liljeberg
3c19134524
core: notify watches of already registered atoms
2011-03-30 12:26:19 -05:00
Philippe Nunes
5ba49490c8
stk: Handle user termination for Send DTMF
2011-03-30 12:07:49 -05:00
Denis Kenzior
91d8423458
stkagent: typedef renaming from previous commit
2011-03-30 12:07:49 -05:00
Philippe Nunes
70ae73d78b
stkagent: Add stk_agent_display_action method
2011-03-30 12:07:49 -05:00
Frédéric Danis
3c3d00dac8
netreg: add +COPS support for HFP emulator
2011-03-29 21:52:37 -05:00
Denis Kenzior
a23cc178be
gnss: Rework logic flow for exceptional conditions
2011-03-28 18:06:58 -05:00
Denis Kenzior
7ae093b97e
gnss: Minor style fix
2011-03-28 18:06:58 -05:00
Denis Kenzior
62d4037c38
gnss: Tweak error
2011-03-28 18:06:58 -05:00
Denis Kenzior
8b2d2b3641
gnss: No need to set this to FALSE
...
The structure is already zerod during g_try_new0
2011-03-28 18:06:58 -05:00
Denis Kenzior
7ce3648711
gnss: Minor style tweak
2011-03-28 18:06:58 -05:00
Denis Kenzior
7358049a58
gnss: block send_element if we have no agent
2011-03-28 18:06:58 -05:00
Jarko Poutiainen
206baad15b
ofono.conf: add positioning agent interface
2011-03-28 18:06:58 -05:00
Denis Kenzior
626750d8a7
gnssagent: Unify sending functions
2011-03-28 18:06:58 -05:00
Denis Kenzior
bafe9f2de2
gnssagent: Minor style tweaks
2011-03-28 18:06:58 -05:00
Denis Kenzior
c57843bd29
gnss: Remove unneeded parameter to gnss_agent_new
2011-03-28 18:06:58 -05:00
Jarko Poutiainen
c0b0188825
src: add gnss atom and agent implementation
2011-03-28 18:06:58 -05:00
Jarko Poutiainen
d451195c82
src: add atom type for gnss
2011-03-28 18:06:58 -05:00
Denis Kenzior
6308af8e4d
Revert dun: Add ATX command in emulator (X0 only)
...
This reverts commit 420ec0146a
.
ATX is already implemented in gatchat/gatserver.c
2011-03-28 11:21:12 -05:00
Olivier Guiter
420ec0146a
dun: Add ATX command in emulator (X0 only)
2011-03-25 12:35:07 -05:00
Frédéric Danis
f7f6fd75ae
voicecall: fix voicecalls_release_queue
...
voicecalls_release_queue uses struct ofono_call instead of
struct voicecall (which is used in "calls" list parameter and
function voicecalls_release_next)
2011-03-24 13:29:49 -05:00
Mika Liljeberg
b52c06210c
gprs: fix memory leak
2011-03-24 13:22:46 -05:00
Frédéric Danis
9edf68c553
common: fix buffer length in phone_number_to_string
...
update buffer length related to OFONO_MAX_PHONE_NUMBER_LENGTH change
78c1e96bf9
2011-03-23 15:02:48 -05:00
Olivier Guiter
351c701aac
emulator: add support for +GCAP
2011-03-23 15:00:12 -05:00
Jeevaka Badrappan
8e6becc57e
stk: Fix getenv failure case
2011-03-23 09:54:46 -05:00
Lucas De Marchi
47ee314200
voicecall: Fix pause character validation
...
manager_tone() converts all tone chars to uppercase. Since everywhere we
check for both 'p' and 'P' for a pause, tone_queue() should also check
both before claiming the string is invalid.
2011-03-21 14:03:28 -05:00
Denis Kenzior
15abdeee68
sms: Rework tx_state logic
...
Using the enum which has a value of zero (PENDING) by default created
some problems. Use a slightly modified version of the logic and consume
less storage to boot.
2011-03-18 18:31:14 -05:00
Denis Kenzior
9a37a672bf
sms: Move CancelMessage(o) method
...
Move this method to the Message Cancel() method instead and introduce
new __ofono_sms_txq_cancel API
2011-03-18 18:31:14 -05:00
Lucas De Marchi
458ef95e5d
sms: remove check for impossible NULL condition
...
tx_next() must never be called with entry == NULL and currently it
was already being dereferenced before making this check. Thus just
remove it.
2011-03-18 18:31:14 -05:00
Lucas De Marchi
21da71d544
sms: allow message submission to be cancelled
...
Based on patch from Yang Gu <gyagp0@gmail.com>
2011-03-18 18:31:14 -05:00
Denis Kenzior
7dcae49cc5
sms: Don't leak memory, even in bizarre conditions
2011-03-18 18:31:14 -05:00
Lucas De Marchi
7a7c0717f5
sms: factor out 'remove entry' from tx_finished()
...
Refactor tx_finished() and create a function to remove an entry from the
tx queue. This function will be used also when a message is cancelled.
Thus, handle the case in which state is MESSAGE_STATE_CANCELLED as well.
Based on patch from Yang Gu <gyagp0@gmail.com>
2011-03-18 18:31:14 -05:00
Lucas De Marchi
888e07863b
message: add cancelled state
...
Based on patch from Yang Gu <gyagp0@gmail.com>
2011-03-18 18:31:14 -05:00
Bertrand Aygon
0403b341ca
smsutil: fix a memory leak
...
This was reported by cppcheck.
2011-03-18 11:29:06 -05:00
Christian Lam
fd6cc036f6
src: add initial CDMA Connection Manager support
2011-03-17 14:11:50 -05:00
Jeevaka Badrappan
b5950e2391
sms: limit the sms sending retry
...
If sending of SMS fails, then oFono core will try to resend it after
n * 5 seconds(n = retry count). Due to this, conformance test case
27.22.8 sequence 1.4 fails(refer 31.124 spec). Plan is to limit the
failue codes for which the retry will be done. This patch allows the
retry if the failure is only due to network timeout. For all the
other failure cases, retry is not done.
2011-03-17 12:23:35 -05:00
Jeevaka Badrappan
7de1717d42
stk: fix issue with Get Inkey variable timeout
2011-03-16 21:36:11 -05:00
Denis Kenzior
c8b5143a03
call-forwarding: Don't update from sim if cached
...
If we have already cached the settings, then there's no need to update
them from the SIM, even if a SIM refresh was performed.
2011-03-15 21:22:35 -05:00
Andrzej Zaborowski
643144aafb
call-forwarding: update EFs changed by SIM refresh
2011-03-15 21:18:17 -05:00
Andrzej Zaborowski
2211583953
message-waiting: Watch for sim file refreshes
2011-03-15 20:55:51 -05:00
Denis Kenzior
788a91402e
sim: Handle an error condition better
2011-03-15 20:51:28 -05:00
Andrzej Zaborowski
9c2af56c18
sim: Watch for changes to EFimg files and EFiidf
2011-03-15 20:20:59 -05:00