summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJesper Larsen <jesper.larsen@ixonos.com>2013-07-17 09:14:13 +0200
committerDenis Kenzior <denkenz@gmail.com>2013-07-17 10:19:11 -0500
commit33b4645f419938f8766e16b165b78b00dc00273b (patch)
tree4184424aa67d8ebe9af12cec402faf14a2d10523 /plugins
parenta96aa11bb5bb314c003f054f433f709f65c16290 (diff)
downloadofono-33b4645f419938f8766e16b165b78b00dc00273b.tar.bz2
sim900: Enable serial receiver
The read option must be set to 'on' in order for two-way communication with SIM900 module to work.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sim900.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/sim900.c b/plugins/sim900.c
index 6cfed653..643de512 100644
--- 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);