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
Zhenhua Zhang
0825070655
Fix: Invoke microphone_volume, not speaker
2009-11-11 15:51:23 -06:00
Denis Kenzior
7b9d72f2fe
Add SMS support to PalmPre plugin
2009-11-10 16:29:24 -06:00
Andrzej Zaborowski
aad6a76125
Add Palm Pre plugin
2009-11-10 16:29:23 -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
Marcel Holtmann
5097439602
Remove GTHREAD_CFLAGS and GTHREAD_LIBS usage
2009-11-10 20:43:47 +01:00
Andrzej Zaborowski
19187a0ee7
Properly skip over quoted values
...
Otherwise a left paren in a string can bring an obscure segfault.
2009-11-10 12:59:30 -06:00
Andrzej Zaborowski
b68c673d45
Update test script to newer api.
...
Also remove an unused "import".
2009-11-10 12:48:20 -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
53654ea528
Update network-api.txt to match implementation
2009-11-09 15:42:36 -06:00
Denis Kenzior
a4189db20f
Add basic state saving for SMS atom
...
Message ID and Reference number for concatenated messages should be
persisted.
2009-11-05 17:06:21 -06:00
Denis Kenzior
55425238b0
Add sample implementation of SMS history
2009-11-05 16:47:38 -06:00
Denis Kenzior
f14e7c30bc
Add hooks to call into sms history for SMS atom
2009-11-05 16:47:12 -06:00
Denis Kenzior
9afdf1a35b
Add SMS history capability
2009-11-05 16:46:43 -06:00
Denis Kenzior
61260c298f
Refactor: Make SendMessage async
...
This commit does two things. First it makes SendMessage an async
method, which returns only when the SMS message has been successfully
sent or failed.
This also adds a set number of tries that oFono will resubmit the PDU to
the SMSC. If any fragment fails to be submitted, the entire send
message attempt is deemed a failure and an error is returned to the caller.
2009-11-05 16:44:22 -06:00
Denis Kenzior
1fb5d7191e
Rename sms assembly path to sms_assembly from sms
...
Not to interfere with sms settings storage
2009-11-05 16:42:15 -06:00
Denis Kenzior
1cabf97fe8
Use localtime_r instead of localtime
2009-11-05 16:00:34 -06:00
Denis Kenzior
0cd98c5e9e
Fix: Update send-sms to the new API
2009-11-05 11:51:54 -06:00
Denis Kenzior
6297470cf0
Fix: Handle MBM hardware that fails on EMRDY?
2009-11-05 11:00:57 -06:00
Denis Kenzior
3c4dfdcb7f
Refactor: Move SMS SendMessage to 1 recipient only
2009-11-05 10:27:25 -06:00
Denis Kenzior
e75fef59f2
Fix: Load GPRS settings before finding netreg
...
GPRS Settings should be loaded before we try to find netreg atom and
potentially try to make the attach/detach decisions.
2009-11-05 10:25:59 -06:00
Denis Kenzior
24a7d9a673
Fix: Handle the case where only PLMN name is given
...
HFP does not allow the use of register / unregister or scan for operator
functionality. It only allows the name of the operator to be given, not
even an MCC/MNC. Handle this situation inside netreg atom.
2009-11-04 11:43:57 -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
ac5f67c46d
Add ability to restore GPRS contexts from settings
2009-11-02 16:02:09 -06:00
Denis Kenzior
8d7f5245b4
Save GPRS context settings
2009-11-02 16:02:09 -06:00
Denis Kenzior
1ff069be5a
Add Basic save/restore code for GPRS setting
2009-11-02 16:02:09 -06:00
Denis Kenzior
3c702b4d99
Limit the number of contexts that we manage
2009-11-02 16:02:09 -06:00
Denis Kenzior
708f7481b0
Update CreateContext API
2009-11-02 16:02:09 -06:00
Denis Kenzior
1f73c18257
Add utility to convert strings to context type
2009-11-02 16:02:09 -06:00
Denis Kenzior
bf8e486f02
Fix: Default to type internet
2009-11-02 16:02:09 -06:00
Marcel Holtmann
98ce3e3c8d
Release 0.9
2009-11-01 23:49:40 +09:00
Marcel Holtmann
3c24593c0c
Use ofono_info() for AT command debugging
2009-11-01 23:42:18 +09:00
Ryan M. Raasch
f92888fae7
Inserted the GSM syntax option in modem.conf
...
This is patch to allow the gsm syntax to be specified in the
modem.conf file. It is a 2nd version based on code change requests.
2009-11-01 23:29:03 +09:00
Denis Kenzior
cbe52b9a44
Fix: Quiet compiler warnings
2009-10-30 16:09:59 -05:00
Denis Kenzior
26804de94b
Add checking for valid APN format
2009-10-30 15:54:32 -05:00
Denis Kenzior
17696e133b
Add unit test for valid APN names
2009-10-30 15:52:38 -05:00
Denis Kenzior
ee92dc0b62
Add utility to test for valid APN names
2009-10-30 15:52:29 -05:00
Denis Kenzior
cc5701c76f
Add saving / restoring of netreg settings
2009-10-30 15:23:27 -05:00
Denis Kenzior
6b46d7d363
Add utilities for settings management
2009-10-30 15:22:06 -05:00
Denis Kenzior
6b19de8c07
Fix: Remove unused header include
2009-10-30 13:20:31 -05:00
Denis Kenzior
66653ecfb7
Add Mode property to NetworkRegistration
2009-10-30 12:38:12 -05:00
Denis Kenzior
fa33588d40
Fix: style issues
2009-10-30 12:37:23 -05:00