From 33b4645f419938f8766e16b165b78b00dc00273b Mon Sep 17 00:00:00 2001 From: Jesper Larsen Date: Wed, 17 Jul 2013 09:14:13 +0200 Subject: sim900: Enable serial receiver The read option must be set to 'on' in order for two-way communication with SIM900 module to work. --- plugins/sim900.c | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins') 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); -- cgit v1.2.3