Denis Kenzior
e40d6d708f
ussd: Fix use of non-cloned gatchat object
2011-04-18 09:46:20 -05:00
Jeevaka Badrappan
4258fb5915
atmodem: remove NULL check
2011-01-29 18:39:37 +01:00
Marcel Holtmann
66032172ef
atmodem: Use Qualcomm Gobi quirks for SMS, CBS and USSD
2011-01-22 11:36:43 +01:00
Marcel Holtmann
b7739919f8
atmodem: Use switch statements for USSD vendor quirks
2011-01-22 11:27:53 +01:00
Jeevaka Badrappan
b97676acc3
atmodem: M15 coding style fix
2011-01-12 08:06:58 -08:00
Lucas De Marchi
b82a7f8511
drivers: 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 11:37:09 -06:00
Denis Kenzior
c97489a161
ussd: Tweak buffer size
2010-09-15 12:11:08 -05:00
Denis Kenzior
f6a4d4a5ce
ussd: Rework ussd_request
...
- Only allocate variables which are needed
- Make sure buffers are big enough
- converted is a simple string, no need to use fancy printf magic
2010-09-14 22:05:32 -05:00
Denis Kenzior
82e6ddfd4b
ussd: Simplify ussd notification parser logic
2010-09-14 21:54:25 -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
Jeevaka Badrappan
09de3fdaab
ussd: Read current CSCS charset
2010-09-14 11:50:28 -05:00
Marcel Holtmann
3adf7a07ca
atmodem: Allow missing DCS parameter in USSD result
2010-08-17 00:49:23 +02:00
Marcel Holtmann
10466f6664
atmodem: Add Qualcomm specific USSD quirk
2010-08-16 22:38:38 +02:00
Marcel Holtmann
a79901e26f
atmodem: Add support for storing USSD vendor quirks
2010-08-16 22:21:52 +02:00
Denis Kenzior
3ea7893108
ussd: Use cb_data instead of custom structure
2010-08-16 15:04:26 -05:00
Marcel Holtmann
a8d3e7433a
atmodem: Remove useless NULL checks before g_free
2010-08-16 22:02:01 +02:00
Denis Kenzior
ac524be99f
atmodem: Use g_at_chat_clone
2010-08-12 16:40:40 -05:00
Denis Kenzior
c98b951fe6
Refactor: Remove atutil dump_response
...
No longer needed now that we have nice AT command tracing using
OFONO_AT_DEBUG=1
2010-02-08 12:28:23 -06:00
Denis Kenzior
1721f81fe9
Fix: Use snprintf instead of sprintf in atmodem
2010-02-05 11:59:24 -06:00
Marcel Holtmann
144080e749
Update copyright information
2010-01-01 17:00:10 -08:00
Denis Kenzior
2297bc926d
Style: Fix some remaining style issues in atmodem
2009-12-09 02:46:33 -06: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
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
Denis Kenzior
cbb36acee8
Rework DECLARE_FAILURE to be a bit nicer
2009-09-11 12:39:56 -05:00
Denis Kenzior
4c5791a500
Rename at.h to atmodem.h
2009-09-04 20:37:49 -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
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
e5577046f0
Add vendor flag capability to ussd
2009-09-01 18:14:58 -05:00
Denis Kenzior
8c92e3dd18
Remove modem member from cb_data
2009-08-19 18:35:08 -05:00
Denis Kenzior
5e957a7e3e
Port the USSD at driver to the new API
2009-08-17 13:46:34 -05:00
Denis Kenzior
cb75833fc8
Rename ofono_modem_userdata
2009-07-29 16:44:16 -05:00
Andrzej Zaborowski
64bde63431
Remove yet more unused variables.
2009-05-20 13:10:07 -05:00
Denis Kenzior
6d486b7fe1
Add initial implementation of AT modem driver
2009-05-10 23:40:24 -07:00