projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a96aa11
)
sim900: Enable serial receiver
author
Jesper Larsen
<jesper.larsen@ixonos.com>
Wed, 17 Jul 2013 07:14:13 +0000
(09:14 +0200)
committer
Denis Kenzior
<denkenz@gmail.com>
Wed, 17 Jul 2013 15:19:11 +0000
(10:19 -0500)
The read option must be set to 'on' in order for two-way
communication with SIM900 module to work.
plugins/sim900.c
patch
|
blob
|
history
diff --git
a/plugins/sim900.c
b/plugins/sim900.c
index
6cfed65
..
643de51
100644
(file)
--- a/
plugins/sim900.c
+++ b/
plugins/sim900.c
@@
-127,6
+127,7
@@
static GAtChat *open_device(struct ofono_modem *modem,
g_hash_table_insert(options, "XonXoff", "off");
g_hash_table_insert(options, "Local", "off");
g_hash_table_insert(options, "RtsCts", "off");
+ g_hash_table_insert(options, "Read", "on");
channel = g_at_tty_open(device, options);
g_hash_table_destroy(options);