diff options
author | Jesper Larsen <jesper.larsen@ixonos.com> | 2013-07-17 09:14:13 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2013-07-17 10:19:11 -0500 |
commit | 33b4645f419938f8766e16b165b78b00dc00273b (patch) | |
tree | 4184424aa67d8ebe9af12cec402faf14a2d10523 /plugins | |
parent | a96aa11bb5bb314c003f054f433f709f65c16290 (diff) | |
download | ofono-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.c | 1 |
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); |