Cleanup previous patch and update docs
authorDenis Kenzior <denkenz@gmail.com>
Wed, 28 Oct 2009 21:38:55 +0000 (16:38 -0500)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 29 Oct 2009 08:07:24 +0000 (17:07 +0900)
gatchat/gattty.c
gatchat/gattty.h

index 64dd8ab..7d665e1 100644 (file)
@@ -218,7 +218,7 @@ static int open_device(const char *tty, GHashTable *options)
                                ok = set_parity(value, &ti);
                        else if (g_str_equal(key, "XonXoff"))
                                ok = set_xonxoff(value, &ti);
-                       else if (g_str_equal(key, "Rtscts"))
+                       else if (g_str_equal(key, "RtsCts"))
                                ok = set_rtscts(value, &ti);
                        else if (g_str_equal(key, "Local"))
                                ok = set_local(value, &ti);
index 861c4d7..c8e0c8f 100644 (file)
@@ -32,13 +32,14 @@ extern "C" {
  *
  * The following keys / values are recognized (all strings)
  *
- * "baud" - "300", "600", etc
- * "stopbits" - "1", "2"
- * "databits" - "7", "8"
- * "parity" - "none", "odd", "even"
- * "xonxoff" - "on", "off"
- * "rtscts" - "on", "off"
- * "local" - "on", "off"
+ * "Baud" - "300", "600", etc
+ * "Stopbits" - "1", "2"
+ * "Databits" - "7", "8"
+ * "Parity" - "none", "odd", "even"
+ * "XonXoff" - "on", "off"
+ * "RtsCts" - "on", "off"
+ * "Local" - "on", "off"
+ * "Read" - "on, "off"
  */
 GIOChannel *g_at_tty_open(const char *tty, GHashTable *options);