mirror of git://git.sysmocom.de/ofono
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:
parent
a96aa11bb5
commit
33b4645f41
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue