sim900: Enable serial receiver

The read option must be set to 'on' in order for two-way
communication with SIM900 module to work.
This commit is contained in:
Jesper Larsen 2013-07-17 09:14:13 +02:00 committed by Denis Kenzior
parent a96aa11bb5
commit 33b4645f41
1 changed files with 1 additions and 0 deletions

View File

@ -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);