diff options
-rw-r--r-- | plugins/mbm.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/plugins/mbm.c b/plugins/mbm.c index 45ad8645..db70f168 100644 --- a/plugins/mbm.c +++ b/plugins/mbm.c @@ -258,8 +258,18 @@ static GAtChat *create_port(const char *device) GAtSyntax *syntax; GIOChannel *channel; GAtChat *chat; + GHashTable *options; + + options = g_hash_table_new(g_str_hash, g_str_equal); + if (options == NULL) + return NULL; + + g_hash_table_insert(options, "Baud", "115200"); + + channel = g_at_tty_open(device, options); + + g_hash_table_destroy(options); - channel = g_at_tty_open(device, NULL); if (channel == NULL) return NULL; |