Zhenhua Zhang
fb0c157c11
Add initial glue code for hfp driver
2009-10-19 15:48:07 -05:00
Denis Kenzior
7f06b6ead7
Add test script for USSD
2009-10-16 17:46:29 -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
Denis Kenzior
feda620c94
Fix: Stop crashing when unrefing chat in callback
2009-10-16 17:46:28 -05:00
Marcel Holtmann
41c4abada0
Release 0.8
2009-10-16 22:18:31 +02:00
Denis Kenzior
eb2c60469c
Fix: Don't return NULL if message is empty
...
Empty SMS messages are in sms_decode_text are returned as NULL, e.g.
error. This shouldn't be the case, empty messages should be reported
and signaled.
2009-10-16 13:19:11 -05:00
Denis Kenzior
281065e249
Mention Marko's contribution
2009-10-16 13:07:35 -05:00
Andrzej Zaborowski
30b86c1dda
Fix: Skip over empty messages
2009-10-16 11:50:42 -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
2d992d7912
Always return a string from telephony_error_to_str.
...
So that it can be used as a printf argument directly.
2009-10-16 11:14:02 -05:00
Andrzej Zaborowski
5773e30373
Refactor: Move network registration status utils
...
Move the status to string functions to common.c so that they can be
reused in data connection related network registration code.
2009-10-16 11:12:43 -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
Marko Saukko
c6f4a39ab7
API: Documentation fixes
2009-10-16 11:01:09 -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
Denis Kenzior
a1ca46253f
Setup better debugging information for calypso
2009-10-15 16:15:18 -05:00
Denis Kenzior
9f9327e1e5
Fix: Quiet a warning on some compilers
2009-10-15 16:15:18 -05:00
Denis Kenzior
42b74e9db3
Multiplexer support for OpenMoko device
2009-10-15 16:15:18 -05:00
Denis Kenzior
389da0bb15
Fix: Do not leak chat memory
2009-10-15 16:15:18 -05:00
Denis Kenzior
43e5152934
Fix: Do not leak chat references in case of error
2009-10-15 16:15:17 -05:00
Denis Kenzior
20dc22a6c4
Fix: Cleanup debug formats
2009-10-15 16:15:17 -05:00
Denis Kenzior
d4d1617684
Fix: Do not send shutdown more than once
2009-10-15 16:15:17 -05:00
Denis Kenzior
a8af38d209
Fix: Be more paranoid in checking DLC validity
2009-10-15 16:15:17 -05:00
Denis Kenzior
350141ac9b
Update unit tests for GSM 07.10 implementation
2009-10-15 16:15:17 -05:00
Denis Kenzior
112d07e14e
Refactor: Add driver model to GAtMux
...
GAtMux can now be made to work with multiple multiplexing protocols.
Currently on the 27.010 (07.10) Advanced and Basic modes are supported.
However, further protocol support can be added by providing the
necessary driver functions for GAtMux
2009-10-15 16:15:17 -05:00
Denis Kenzior
90bdd961a7
Fix: Quiet compiler warning
2009-10-15 16:15:17 -05:00
Denis Kenzior
bcf962c79c
Forgot to add void* to get_data
2009-10-15 16:15:17 -05:00
Denis Kenzior
6bfd76123b
Forgot to add driverdata functions
2009-10-15 16:15:17 -05:00
Denis Kenzior
a4a54f6625
Refactor: Enable multiplexer drivers for GAtMux
2009-10-15 16:15:17 -05:00
Denis Kenzior
1575f2dcd1
Fix: Notify sources upon shutdown
2009-10-15 16:15:16 -05:00
Denis Kenzior
e4017db3bb
Update unit test for the new API
2009-10-15 16:15:16 -05:00
Denis Kenzior
74f350aaf7
Add mux setup step to phonesim plugin
2009-10-15 16:15:16 -05:00
Denis Kenzior
5826fc9c15
Add ability to open/close multiple DLCs
2009-10-15 16:15:16 -05:00
Denis Kenzior
b1ff21f059
Fixup unit test to the new API
2009-10-15 16:15:16 -05:00
Denis Kenzior
4734ebcb46
Refactor: Add convenience method to start 0710 MUX
...
Use an existing GAtChat that has been setup appropriately to conver the
channel into a MUX
2009-10-15 16:15:16 -05:00
Denis Kenzior
9aa2182261
Add ability to retrieve the atchat IOChannel
2009-10-15 16:15:16 -05:00
Denis Kenzior
556186eb35
Remove more unused code
2009-10-15 16:15:16 -05:00
Aki Niemi
876943e2b4
gisi: Add getter for sub-block data
...
Also fix indentation and change int->unsigned in the API.
2009-10-14 22:46:26 +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
Denis Kenzior
8778826638
Mention Pekka's contributions
2009-10-08 12:58:31 -05:00
Denis Kenzior
1a6f392d8f
Rename function to express its purpose better
2009-10-08 12:57:26 -05:00
Pekka Pessi
0063db3a74
Allow sending DTMF tones in alerting state
...
2nd stage dialing may be done before call gets connected.
2009-10-08 12:55:41 -05:00
Pekka Pessi
72d68e5001
Use swap_without_accept method, if present
2009-10-08 12:55:17 -05:00
Denis Kenzior
822b8d9e87
Mention Zhenhua's contributions
2009-10-08 12:54:26 -05:00
Denis Kenzior
4c5cf38ddb
Fix: Use DISC on dlc 0 instead of CLD
...
Some MUX implementations do not seem to support Multiplexer Closedown
(CLD) command. The standard specifies that sending DISC on DLC 0 should
act exactly the same as CLD.
2009-10-08 12:53:25 -05:00