Denis Kenzior
ee1e9d14bd
Fix: Change the order of register & set_powered
2009-12-08 04:26:24 -06:00
Denis Kenzior
07bdfc6bce
Harden the CGREG parsing function
...
Sometimes the CGREG query and CGREG unsolicited notification get
intermixed. Since they have the same prefix, GAtChat clumps them
together. Make sure the parser skips the unsolicited notification.
2009-12-08 03:43:54 -06:00
Denis Kenzior
7c7f265ebc
Add experimental Option tech parsing
...
Option seems to implement their own commands for network technology
reporting. This is a first attempt to implement this for data gathering
purposes.
2009-12-07 17:14:57 -06:00
Denis Kenzior
5b12b25ce6
Add support for HSO signal quality reporting
2009-12-07 17:14:41 -06:00
Denis Kenzior
8b496ec7eb
Add Option HSO quirk
2009-12-07 17:14:41 -06:00
Denis Kenzior
e50efac7cc
Fix: Sometimes Option modems don't return info
...
When querying CGMI the Option modems sometimes just return OK, with no
manufacturer information given.
2009-12-07 17:14:41 -06:00
Denis Kenzior
ddad4d8067
Refactor: Calypso unsolicited signal strength
2009-12-07 17:14:40 -06:00
Denis Kenzior
18e8c906c5
Make sure to list calls in HFP voicecall driver
2009-12-04 16:52:32 -06:00
Zhenhua Zhang
62df556f28
Fix release clcc_source when voicecall is removed
...
Release the timer to avoid invoking the callback function after
voicecall driver is removed.
2009-12-04 16:52:32 -06:00
Zhenhua Zhang
d90c657bd4
Add hfp_send_dtmf to send tones for hfpmodem
2009-12-04 16:52:32 -06:00
Denis Kenzior
0fbaed38aa
Refactor: Run CLCC when initializing
...
When voicecall atom is initialized, we should run a CLCC query to
populate our call list. This also notifies the core of the new calls
2009-12-04 16:52:31 -06:00
Denis Kenzior
770586bfb7
Update atmodem voicecall driver to new world order
2009-12-04 16:52:31 -06:00
Denis Kenzior
7fa99301a0
Fix: Style
2009-12-04 16:52:31 -06:00
Denis Kenzior
a3539b5988
Update HFP voicecall driver to new world order
2009-12-04 16:52:31 -06:00
Denis Kenzior
341c631cd1
Remove: at_util callid APIs are no longer necessary
2009-12-04 16:52:31 -06:00
Denis Kenzior
8e258ff54b
Get rid of list_calls in hfp driver
2009-12-04 16:52:31 -06:00
Denis Kenzior
3d3a9eee84
Get rid of list_calls in calypso driver
2009-12-04 16:52:31 -06:00
Denis Kenzior
4d5eb77de5
Get rid of list_calls in isi driver
2009-12-04 16:52:30 -06:00
Denis Kenzior
fc030de2ec
Fix: Make sure to never overflow DNS variable
2009-12-01 20:38:26 -06:00
Denis Kenzior
8cd0990c66
Fix: Poll ENAP on older mbm hardware
2009-12-01 19:38:44 -06:00
Denis Kenzior
6389552fd5
Style: Fix whitespace
2009-12-01 17:36:48 -06:00
Denis Kenzior
3a189b1973
Fix: Fix parsing in MBM
2009-12-01 17:35:30 -06:00
Denis Kenzior
ab9e02bb30
Add experimental support for E2IPCFG
2009-12-01 17:25:20 -06:00
Denis Kenzior
72912d5eed
Fix: Don't decode error unnecessarily
2009-12-01 17:24:50 -06:00
Denis Kenzior
b96e33b692
Fix: Add username/password support to mbm context
2009-12-01 16:08:12 -06:00
Denis Kenzior
184eb91aa6
Fix: Make sure we don't overflow the buffer
2009-12-01 16:05:20 -06:00
Denis Kenzior
55572b6e69
Style: Use unsigned int instead of unsigned
2009-12-01 12:42:23 -06:00
Denis Kenzior
d91c61e621
Fix: None of this seems necessary for the Calypso
2009-11-26 07:44:25 -06:00
Zhenhua Zhang
64015ff4b8
Fix: Move CHLD from voicecall driver to plugin
...
According HFP v1.5 spec, AT+CHLD=? should be a part of SLC
connection. So we should not do it after SLC connection is
created.
2009-11-24 20:43:41 -06:00
Denis Kenzior
6e0eb3cfd5
Fix: Change order of init commands
...
This seems to make the calypso return from ATD right away instead of
waiting for connect/busy to be returned. It should now be possible to
hangup alerting calls.
2009-11-23 19:56:41 -06:00
Denis Kenzior
ca025eb905
Fix: Make sure we don't gobble up unsolicited
2009-11-23 19:55:59 -06:00
Zhenhua Zhang
f3fe75553a
Add mpty field to ofono_call
...
A field 'mpty' is added to ofono_call so that we can know
whether the call belongs to multiparty call or not. According
to 27.007 7.18, it is a defined return value of AT+CLCC.
2009-11-23 09:04:48 +01:00
Zhenhua Zhang
bbc2eecd6f
Fix: Poll CLCC to replace the code in call_held=1
...
When using CHLD=2x in multiparty call, call_held is 1 and we
should not swap all active->held. So we cannot save this pull
in private chat.
2009-11-20 09:37:37 +01:00
Denis Kenzior
9f931378c7
Fix: warnings
2009-11-18 18:07:11 -06:00
Denis Kenzior
19758e3520
Get rid of a few debugs
2009-11-18 18:07:11 -06:00
Denis Kenzior
b77d392bc8
Make HSO context driver use OWANCALL/OWANDATA
2009-11-18 18:07:11 -06:00
Denis Kenzior
efd34778d1
Add CALLBACK_WITH_SUCCESS
2009-11-18 18:07:11 -06:00
Denis Kenzior
8722828eb3
Parse the weird response of _OWANDATA
...
The strings are unquoted and preceded by space. Don't these people read
specs?
2009-11-18 18:07:11 -06:00
Denis Kenzior
0a9766cbab
Fix: Properly send & parse _OWANDATA
2009-11-18 18:07:10 -06:00
Denis Kenzior
0ef8ac7174
Fix: Send username and password properly
2009-11-18 18:07:10 -06:00
Denis Kenzior
781f9cc0d0
Add initial HSO GPRS context driver
2009-11-18 18:07:10 -06:00
Denis Kenzior
39b043a40a
Fix: Report status & tech in hfpmodem
2009-11-18 13:02:26 -06:00
Denis Kenzior
cbebad0cc7
Fix: Report the current operator as current
2009-11-18 13:02:02 -06:00
Denis Kenzior
62e22e383c
Update the MBM modem driver to the new API
2009-11-17 18:55:07 -06:00
Denis Kenzior
38ae7bd9aa
Update the AT modem driver to the new API
2009-11-17 18:54:46 -06:00
Denis Kenzior
1c3d41fafc
Fix: Don't drop dialing calls when call=0 signaled
2009-11-16 11:47:42 -06:00
Denis Kenzior
77b3048325
Fix: Don't double-swap calls when 3-way dialing
2009-11-16 11:23:48 -06:00
Denis Kenzior
534d7f89d2
Fix: Update the status to held properly
2009-11-16 11:19:23 -06:00
Denis Kenzior
957fc90d37
Refactor: Move repeated code to a function
2009-11-16 11:15:31 -06:00
Zhenhua Zhang
5e1067b8a2
Fix: Handle callsetup=0 when no waiting or dialing call
...
When call=1 and callsetup=0, if no waiting or dialing call, the call
is active and no need to notify status change.
2009-11-16 11:09:21 -06:00
Denis Kenzior
bfc9eb302f
Fix: Ignore repeated CCWAs in atmodem as well
2009-11-16 10:17:12 -06:00
Zhenhua Zhang
2cbb307013
Fix: Ignore repeated CCWA notify if have
...
Some phone like iPhone repeats CCWA notify. So we need to ignore
it when we already have waiting call.
2009-11-16 10:17:05 -06:00
Denis Kenzior
ea29ea9bd5
Fix: Set current element properly
...
When removing an element from the list, the current iterator was not
being updated properly. Most likely leading to double free.
2009-11-16 10:09:48 -06:00
Denis Kenzior
83ee938312
Style: Spacing
2009-11-16 10:02:52 -06:00
Denis Kenzior
d5ae0e557f
Add three-way calling support to HFP voice driver
2009-11-13 22:47:10 -06:00
Denis Kenzior
1a8dd438b2
Make sure the atmodem handles ATD properly
...
The driver must set any existing active calls to held
2009-11-13 15:34:41 -06:00
Zhenhua Zhang
e620a058fb
Fix: Fill in the phone number info for outgoing call
...
There're two cases of outgoing call: dial from HF or dial from
phone. We could receive callsetup=2 indicator in both case. So
adding AT+CLCC query to sync the outgoing call.
In the first case, we only need to sync the phone number. In
the second case, the phone is dialing from phone and we know
nothing. Create a new call and notify the core.
If phone does not support AT+CLCC and there's no call dialing
from HF, we fake a new call for it.
2009-11-13 11:15:13 -06:00
Marcel Holtmann
5fe640858a
Fix issue with missing masking of AT%CHLD
...
drivers/calypsomodem/voicecall.c: In function ‘calypso_release_specific’:
drivers/calypsomodem/voicecall.c:162: error: too few arguments for format
2009-11-13 04:33:29 +01:00
Denis Kenzior
72e0d2c578
Fix: On calypso use proprietory %CHLD=7X command
2009-11-12 19:16:32 -06:00
Zhenhua Zhang
9b084e9656
Use at_util_parse_clcc in atmodem
...
Replace parse_clcc by at_util_parse_clcc in atmodem voicecall.
2009-11-12 11:23:05 -06:00
Zhenhua Zhang
20e9ff8551
Add parse_clcc into atutil.c
...
So that it could be shared by atmodem and hfpmodem.
2009-11-12 11:22:31 -06:00
Zhenhua Zhang
3003ebd066
Fix: Set data to NULL in hfpmodem drivers
2009-11-12 11:21:00 -06:00
Zhenhua Zhang
c7fd6d13b6
Style: Use 1 instead of 0x1
2009-11-11 16:27:26 -06:00
Zhenhua Zhang
372edf4f21
Add call_compare_by_phone_number utility function
...
This utility will be used by HFP voicecall driver to compare
two calls. In some hardware, the call index may be shift when
a call transitions from waiting to incoming state (e.g. all other
held and active calls are released)
2009-11-11 16:24:54 -06:00
Denis Kenzior
95aafed445
Fix: Set data to NULL in drivers
2009-11-11 15:59:01 -06:00
Denis Kenzior
5335d2deb1
Fix: Don't leak data in SIM atom driver
2009-11-11 15:58:45 -06:00
Zhenhua Zhang
28c6bbb558
Add call volume support for hfpmodem
...
The call volume driver listens the speaker volume and microphone
gain from the AG. It also allow to synchronze the speaker and
microphone volume changes with the AG through AT+VGS and AT+VGM.
Volume level synchronization from HFP spec 1.5 Section 4.28.2
is performed on startup.
2009-11-11 15:53:55 -06:00
Denis Kenzior
27e32f12cd
Fix: Rename G1 quirk to QUALCOMM_MSM
2009-11-10 16:29:23 -06:00
Andrzej Zaborowski
d6c3a513c6
Work around Palm Pre SIM file reading quirk.
...
I'm not sure if MSM is not a too generic name but it seems the G1's
Qualcomm MSM suffers from similar problems.
2009-11-10 16:29:23 -06:00
Andrzej Zaborowski
3187db9352
Fix +CGEV: parsing
2009-11-10 12:48:08 -06:00
Andrzej Zaborowski
2888e7fc13
Accept ranges in +CSMS responses.
2009-11-10 12:45:11 -06:00
Andrzej Zaborowski
49c2f7b2e7
Fix: Don't bail if CREG/CGREG mode=2 is unsupported
2009-11-10 12:40:21 -06:00
Denis Kenzior
c63a0413cd
Fix: Minor style issues
2009-11-03 11:57:43 -06:00
Gustavo F. Padovan
1acd7f8b75
Create network registration driver for hfpmodem
...
This driver handles phone informations about registration status, signal
strength and roaming status listening +CIEV commands. It also gets the
Network Operator name with +COPS commands.
2009-11-03 11:49:35 -06:00
Zhenhua Zhang
ff2a8e6f7c
Fix: The use of cind_val / cind_pos was wrong
2009-11-03 11:26:08 -06:00
Zhenhua Zhang
2185106b32
Refactor: Get rid of mpty_call variable
2009-11-03 11:22:23 -06:00
Zhenhua Zhang
c40657216d
Fix: Remove some dead code
2009-11-03 11:19:39 -06:00
Denis Kenzior
89a4dc48d4
Update the isimodem driver to the new API
2009-10-29 15:29:55 -05:00
Denis Kenzior
673a0eaae1
Update the atmodem driver to the new API
2009-10-29 15:29:41 -05:00
Denis Kenzior
30cc6d6f4b
Fix: This hack is no longer necessary
2009-10-28 23:40:04 -05:00
Denis Kenzior
b3dccdfd54
Fix: Don't pass the indexes
...
These can be obtained inside the function anyway
2009-10-28 19:23:25 -05:00
Denis Kenzior
2c5ea9d4ee
Fix: No need to set this to NULL
2009-10-28 17:40:35 -05:00
Denis Kenzior
c41a8ced81
Cleanup: Fixup style
2009-10-28 17:40:06 -05:00
Zhenhua Zhang
4a36fc7c82
Add voicecall driver for Bluetooth HFP
...
HFP voicecall driver uses AT+CIEV indicator to notify call status
update according to Bluetooth HFP spec v1.5. This patch only adds single
call support.
2009-10-28 17:33:33 -05:00
Zhenhua Zhang
57aaf9813f
Refactor: Move alloc/release id to atutil.c
2009-10-28 17:31:44 -05:00
Zhenhua Zhang
17903940c5
Refactor: Move & Rename functions to atutil.c
...
Move and rename call_compare and call_compare_by_status to atutil.c.
These will be utilized by other drivers, including hfpmodem.
2009-10-28 17:30:02 -05:00
Denis Kenzior
bc72cca91b
Fix: notify_attached was only used when detached
...
The standard only specifies that the context might have been detached by
the network / mobile equipment. Not attached.
2009-10-26 16:55:03 -05:00
Denis Kenzior
1af138d6ec
Fix: Register for E2NAP notifications
2009-10-24 12:39:31 -05:00
Denis Kenzior
1a80f85994
Fix: ENAP=0 is the only way to use this
2009-10-24 12:39:31 -05:00
Denis Kenzior
ffd7c1920a
Fix: Some modems report PDP_type in a list
2009-10-23 17:05:57 -05:00
Denis Kenzior
a66de6880a
Add initial implementation of MBM gprs context
2009-10-23 17:05:56 -05:00
Denis Kenzior
3408fc5094
Register for CGEV indications in gprs context
2009-10-23 17:05:56 -05:00
Denis Kenzior
14c116be36
Remove unused code and make compiler happy
2009-10-23 17:05:56 -05:00
Denis Kenzior
d6161ddb61
Add basic atmodem gprs context implementation
2009-10-23 17:05:56 -05:00
Denis Kenzior
69c872f400
Refactor: Initialization code
2009-10-23 17:05:55 -05:00
Denis Kenzior
43256236a0
Add GPRS registration status implementation
2009-10-23 17:05:55 -05:00
Denis Kenzior
8cb2bb7608
Remove unused code
2009-10-23 17:05:55 -05:00
Denis Kenzior
88c0f77a58
Refactor: First round of renaming
2009-10-23 17:05:53 -05:00
Denis Kenzior
b2fd75014a
Refactor: rename data-connection to gprs
...
Keep the name specific to GSM, other implementations will probably
require their own interfaces
2009-10-23 17:05:53 -05:00
Andrzej Zaborowski
f43efa8a5f
Add GPRS support
...
This commit implements the GPRS context setup and teardown according to
doc/dataconnectionmanager-api.txt
One issue with the AT implementation of the api is that "Powered" (a
read-write property) can be set independently of "Attached" (read-only
property) and remain set when "Attached" is clear. The semantics would
be that the network doesn't have resources to let the modem attach,
but the modem waits for the resources to become available and then
attaches. On AT the modem is in this state only when executing +CGATT,
so currently the code will rerun +CGATT as soon as the previous one
returns with error, probably starving other commands. A possible
workaround would be for "Powered" to flip back to False after the modem
fails to attach once, or give up on having separate properties.
Alternatively we could re-try to attach periodically but on one modem
I've tried +CGATT fails after about 1 minute (that's the Calypso) and
on another only about 0.5s (Nokia phones with AT emulation).
When "Powered" is set and "RoamingAllowed" is clear and we manage to
attach and find that we're roaming, ofono resets "Powered".
We may want to catch the user trying to dial *99***1# which is the
backwards compatibility quirk for old modems (same way ofono parses
USSD strings).
2009-10-23 17:05:53 -05:00
Denis Kenzior
0faa8b3c42
Fix: Invalid call state transition
...
When an active and a waiting call exist, and the active is released the
waiting call becomes incoming. This wasn't properly handled by the
generic at driver.
2009-10-23 13:56:26 -05:00
Zhang, Zhenhua
fa10070bf9
Replace Glib type with standard C type
2009-10-23 13:40:49 -05:00
Denis Kenzior
f726596860
Rename: drivers/hfpmodem/hfp.[ch] to hfpmodem.[ch]
...
Be more consistent with other drivers
2009-10-19 22:13:19 -05:00
Denis Kenzior
c4594d2543
Fix: Make 'make distcheck' happy again
2009-10-19 17:07:23 -05:00
Denis Kenzior
5635703141
Refactor: Setup the HF features bitmap
...
Do not use magic numbers unless strictly necessary
2009-10-19 16:59:44 -05:00
Denis Kenzior
0ca88b36e7
Refactor: Don't store indicator names
...
We already know the indicators we're interested in from the
specification, malloc/free-ing the indicator names is thus pointless.
Instead save off the indicator index positions in an array. Parse the
current values instead of storing the unparsed list.
2009-10-19 16:58:13 -05:00
Zhenhua Zhang
fb0c157c11
Add initial glue code for hfp driver
2009-10-19 15:48:07 -05:00
Denis Kenzior
86cd4951b3
Fix: Use proper printf format for string precision
2009-10-16 17:46:29 -05:00
Denis Kenzior
210bb5cc0a
Cleanup: Fixup USSD to use cbs_decode_dcs
...
Don't decode by hand, use existing function
2009-10-16 17:46:28 -05:00
Andrzej Zaborowski
15c07346df
Parse +CUSD responses.
2009-10-16 17:46:28 -05:00
Andrzej Zaborowski
2974d69ddf
Fix: Emit debug message instead of an error
...
SMS storage is frequently empty at startup, if this is the case, do not
use ofono_error, use ofono_debug instead.
2009-10-16 11:14:26 -05:00
Andrzej Zaborowski
e6b8550328
Fix: Free converted string after use.
...
Also make sure we don't read beyond end of the string.
2009-10-16 11:09:42 -05:00
Aki Niemi
2a8159b21b
Fix conditional statement
2009-10-16 14:02:27 +03:00
Aki Niemi
9ca602c283
Fix: restrict keyword use breaking distcheck
2009-10-16 11:26:15 +03:00
Pekka Pessi
86b6cd91c9
isimodem/voicecall.c: initial version
...
Implementing all the voicecall methods. Tested with Nokia 2008 modems.
- problems in call creation are probably not reported properly
- deflect not implemented in modem, not properly tested
TODO: Clean up style issues and align with other drivers.
2009-10-16 11:18:52 +03:00
Aki Niemi
74cc9cb4b7
Refactor sub-sub-block handling
2009-10-16 11:18:52 +03:00
Alexander Kanavin
a781e3b1d9
Add isimodem drivers for call barring, forwarding and waiting
2009-10-14 22:05:13 +03:00
Pekka Pessi
d1d870ba7a
Refactor subblock iterators.
...
Always initialize iterators.
Try to avoid pointer arithmetics on NULL; in other words, move all pointer
arithmetics inside g_isi_sb_iter_init().
There are 4 different ways for representing sub blocks in ISI message:
- 8-bit sub_blocks count, 8-bit sub_block_id/sub_block_len
- 16-bit sub_blocks count, 8-bit sub_block_id/sub_block_len
- 8-bit sub_blocks count, 16-bit sub_block_id/sub_block_len
- 16-bit sub_blocks count, 16-bit sub_block_id/sub_block_len
The compact form g_isi_sb_iter_init() supports 8-bit sub_block count before
start of the sub blocks themselves and 8-bit sub_block_id and sub_block_len.
The full form g_isi_sb_iter_init_full() with explicit longhdr and sub_block
count supports all other cases.
2009-10-09 12:54:04 +03:00
Jukka Saunamaki
74c15989c9
Hack for reading EFSPN on isimodem sim driver
...
In the absence of low-level access to the SIM card, we're adding this
hack to expose the SPN using ISI's high-level access instead.
2009-10-07 14:45:46 +03:00
Denis Kenzior
ca60851774
Fix: Quiet a warning
2009-10-02 19:25:58 -05:00
Denis Kenzior
dcf4ac50b3
Make generic sim driver work with 3G SIMs
...
3G (UICC) based SIMs use a different response format than 2G sims. In
theory this also allows us to determine whether SIM filesystem format is
3G or 2G
2009-10-02 18:25:56 -05:00
Denis Kenzior
c8150fc120
Use small caps for 2G/3G functions
2009-10-02 18:25:56 -05:00
Denis Kenzior
c9a2eedc08
Add utility to parse 2G GET_RESPONSE data
...
This format is described in 51.011 and the older 11.11. It is not
supported by newer 3G UICC based devices & sim card combinations
2009-10-02 18:25:56 -05:00
Denis Kenzior
13c46b9781
Add at modem call volume driver
2009-09-29 14:56:22 -05:00
Denis Kenzior
d0501c5694
Be more numerically stable
2009-09-29 14:56:22 -05:00
Denis Kenzior
e5f02e427a
Use none_prefix in cssn
2009-09-29 14:56:22 -05:00
Andrzej Zaborowski
2a02f45c79
Add plugin interface for getting PIN lock state.
...
It may be useful to have the information of whether card is currently
locked and emit events when this changes but if we want to have it as a
property, we would need properties for all types of locks and it wouldn't
be all that useful.
2009-09-23 14:27:52 -05:00
Denis Kenzior
5fd083f6f4
Refactor: Do not use int instead of enum
...
27.007 does not define an enumeration for SIM PIN/PUK values. This
should be handled by ofono enum instead
2009-09-22 00:07:07 -05:00
Denis Kenzior
7d7732d637
Don't treat READY CPIN result differently
2009-09-22 00:07:07 -05:00
Denis Kenzior
3362de0010
Move SSN unsolicited notification activation
2009-09-22 00:07:06 -05:00
Denis Kenzior
63416e2851
Rearrange sim password enum
2009-09-22 00:07:06 -05:00
Andrzej Zaborowski
ee02b14836
Do PIN authentication
...
This adds checking whether PIN is required during SIM initialisation and
delaying the sim ready notifications until after correct PIN is given.
2009-09-22 00:07:06 -05:00
Denis Kenzior
12e77a3c70
Convert all the modem drivers to the new API
2009-09-17 10:15:34 -05:00
Aki Niemi
36198827ab
Miscellaneous clean-ups
2009-09-16 23:37:23 +03:00
Aki Niemi
866c394882
Add proper bootstrapping to phonebook driver
2009-09-16 23:37:23 +03:00
Aki Niemi
e3e5090b6a
Increase network scan/set timeout values
2009-09-16 23:37:23 +03:00
Andrzej Zaborowski
6d2cf926f3
Check received PDUs fit in the buffer, fix buffer size.
2009-09-16 04:53:44 -05:00
Aki Niemi
795e65ad53
Add proper bootstrap using g_isi_verify()
2009-09-15 15:37:01 +03:00
Aki Niemi
b6e37fb792
Remove version query; use gisi/client.h instead
2009-09-15 15:36:11 +03:00
Aki Niemi
bee4bf4d7d
Fix error reporting in phonebook driver
2009-09-15 11:17:39 +03:00
Aki Niemi
0aeb5f3dfd
Remove extra debug
2009-09-15 00:35:22 +03:00
Aki Niemi
af3f54ee43
Fix a possible but improbable leak
2009-09-15 00:20:54 +03:00
Marcel Holtmann
ee0555dda1
Fix compiler warnings on 64-bit systems
2009-09-14 14:10:15 -07:00
Aki Niemi
b2bdb41bc0
Fix to use gisi/iter.h to decode sub-blocks
2009-09-14 23:59:59 +03:00
Aki Niemi
e58d28f6b6
Adapt to changed sub-block iterator API
2009-09-14 23:43:57 +03:00
Aki Niemi
6c08fc8e50
Refactor to use gisi/iter.h
2009-09-14 16:21:35 +03:00
Aki Niemi
69ac9733f4
Modify to use the new alpha tag getter
2009-09-14 16:21:18 +03:00
Aki Niemi
d7459f45fc
Coding style clean-ups
2009-09-14 14:53:35 +03:00
Aki Niemi
ddbd19a4be
Use gisi/iter.h for decoding sub-blocks
2009-09-14 14:34:27 +03:00
Aki Niemi
ffaba2b637
Clean up IMSI decoding
2009-09-14 14:33:31 +03:00
Aki Niemi
cfd40b2313
Remove trailing WS
2009-09-14 13:00:45 +03:00
Aki Niemi
4904479214
Remove unnecessary debug
2009-09-14 12:54:16 +03:00
Aki Niemi
d83b325a40
Add basic bootsrap for the SMS driver
2009-09-14 12:52:21 +03:00
Aki Niemi
bc7df10c92
Add preliminary CBS driver
2009-09-14 12:51:48 +03:00
Aki Niemi
1c2f4b6097
Add proper bootstrapping for netreg driver
...
Use the ISI version query to bootstrap the netreg driver.
2009-09-14 12:45:54 +03:00
Aki Niemi
843f0c07e2
Remove unnecessary debugs
2009-09-14 12:44:59 +03:00
Aki Niemi
e79d5ad208
Fix registration status decoding
2009-09-12 22:39:50 +03:00
Aki Niemi
d2a42c71dd
Fixes for proper coding style
2009-09-12 21:44:11 +03:00
Aki Niemi
3bfa5c47c0
Fix signal strength value calculation
2009-09-12 19:30:58 +03:00
Aki Niemi
df8a202e94
Add IMSI retrieval to sim driver
...
Modified patch originally provided by Jukka Saunamäki.
2009-09-12 18:58:18 +03:00
Aki Niemi
6ee21a3fc1
Fix to use new success/failure callback macros
2009-09-12 18:57:16 +03:00
Aki Niemi
6d258f529e
Add implementation of netreg driver
2009-09-12 18:42:42 +03:00
Aki Niemi
7507b73767
Clean up macros for success/failure callbacks
2009-09-12 18:36:22 +03:00
Denis Kenzior
cbb36acee8
Rework DECLARE_FAILURE to be a bit nicer
2009-09-11 12:39:56 -05:00
Denis Kenzior
2bdf1f50a1
Ensure CBS is in a known state at startup
2009-09-10 17:44:36 -05:00
Denis Kenzior
6b91b3563b
Add atmodem cell broadcast driver
2009-09-10 16:13:16 -05:00
Andrzej Zaborowski
36d0c8451f
Read messages left over in ME storage on startup.
...
On modems that don't support +CMT (or for class 2 SMSes) the messages are
stored in the modem and then read and deleted from there in two separate
steps with no warranty that deletion succeeds or (more likely) power is
cut before the deletion happens. Over time the memory may become full
and if we don't want to deal with this condition we need to check on
startup if there are messages we haven't deleted.
We can't differentiate between those messages and those the user already
had on the SIM / modem before installing ofono or switching phones, so we
might want to deliver messages with REC READ status with some kind of
indication that these are potentially old so the UI doesn't emit spurious
alerts. We don't do this now and just deliver as usual.
2009-09-08 13:31:30 -05:00
Denis Kenzior
d74d6c2e06
Fix unused variable warning
2009-09-04 20:37:50 -05:00
Denis Kenzior
7362878e6c
Add calypso voicecalls driver
2009-09-04 20:37:50 -05:00
Denis Kenzior
4c5791a500
Rename at.h to atmodem.h
2009-09-04 20:37:49 -05:00
Denis Kenzior
5749b6e75d
Break common at utilities to atutils.c/.h
2009-09-04 20:37:49 -05:00
Denis Kenzior
2693c604a9
Remove unused declaration
2009-09-04 20:37:49 -05:00
Denis Kenzior
62bf46a5d4
Remove unused structure
2009-09-04 20:37:49 -05:00
Denis Kenzior
23484524df
Add quirk for network-registration for calypso
...
Support calypso-specific AT%CSQ notifications
2009-09-03 23:20:22 -05:00
Andres Salomon
aceaac4b7b
G1: Add an SMS quirk for CNMI mode
...
The G1 doesn't support mode2, despite advertising it.
The G1 chokes w/ an "Error 303" when we specify NMI mode 2. Adding a
quirk to drop that mode from the supported list (just use mode 1) allows
the G1 to properly deal with SMS.
2009-09-02 19:06:03 -07:00
Denis Kenzior
10d4c54c30
Change plugins to the new ofono_modem_create api
2009-09-02 17:39:23 -05:00
Denis Kenzior
58d0aa72b2
Rename isi drivers to isimodem
...
Be more consistent with directory naming
2009-09-01 22:35:14 -05:00
Denis Kenzior
a613105f91
Rename generic_at drivers to atmodem
...
Be more consistent with directory naming
2009-09-01 22:33:05 -05:00
Denis Kenzior
7ff85d9737
populate should return void
2009-09-01 22:29:02 -05:00
Denis Kenzior
9caa606bcc
Make remove functions not return anything
2009-09-01 22:27:08 -05:00
Denis Kenzior
422df0edfb
change int vendor to unsigned int vendor
2009-09-01 21:39:02 -05:00
Denis Kenzior
31a3d489d5
Add stub vendor.h file
2009-09-01 18:14:59 -05:00
Denis Kenzior
4064f4ba73
Add vendor flag capability to voicecalls
2009-09-01 18:14:59 -05:00
Denis Kenzior
e5577046f0
Add vendor flag capability to ussd
2009-09-01 18:14:58 -05:00
Denis Kenzior
afb0e2b854
Add vendor flag capability to ssn
2009-09-01 18:14:58 -05:00
Denis Kenzior
8d380f8fa0
Add vendor flag capability for sms
2009-09-01 18:14:58 -05:00
Denis Kenzior
aecf42646e
Add vendor flag capability to sim
2009-09-01 18:14:58 -05:00
Denis Kenzior
1fb9ecca46
Add vendor flag capability to phonebook
2009-09-01 18:14:58 -05:00
Denis Kenzior
271b042488
Add vendor flag capability to netreg
2009-09-01 18:14:58 -05:00
Denis Kenzior
c7d35dd039
Add vendor flag capability to devinfo
2009-09-01 18:14:58 -05:00
Denis Kenzior
933f803967
Add vendor flag to call-settings
2009-09-01 18:14:58 -05:00
Denis Kenzior
390bd82109
Add vendor parameter to call-meter
2009-09-01 18:14:57 -05:00
Denis Kenzior
7ee954b28a
Add vendor flag to call-forwarding
2009-09-01 18:14:57 -05:00
Denis Kenzior
15b1a733b0
Introduce vendor parameter to call-barring
2009-09-01 18:14:57 -05:00
Aki Niemi
74782318bd
Rename all files under drivers/isimodem/
2009-08-25 14:04:42 +03:00
Marcel Holtmann
70aab2a826
Convert to fully non-recursive build system
2009-08-24 23:49:40 -07:00
Marcel Holtmann
7d3d52009d
Use script to generate list of builtin plugin symbols
2009-08-24 19:05:41 -07:00
Aki Niemi
70440bcd0b
Add straw-man for rest of ISI modem driver
2009-08-24 15:47:17 +03:00
Aki Niemi
bc71ac101f
Fix typos
2009-08-24 13:14:52 +03:00
Aki Niemi
5562438c5c
Fix memory leak in ISI phonebook driver
2009-08-23 23:16:46 +03:00