3 * AT chat library with GLib integration
5 * Copyright (C) 2008-2011 Intel Corporation. All rights reserved.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
30 * Opens a serial port given by tty. If options is NULL, then the serial port
31 * is opened in raw mode. Otherwise the options are parsed and set accordingly
33 * The following keys / values are recognized (all strings)
35 * "Baud" - "300", "600", etc
36 * "Stopbits" - "1", "2"
37 * "Databits" - "7", "8"
38 * "Parity" - "none", "odd", "even"
39 * "XonXoff" - "on", "off"
40 * "RtsCts" - "on", "off"
41 * "Local" - "on", "off"
44 GIOChannel *g_at_tty_open(const char *tty, GHashTable *options);
46 GIOChannel *g_at_tty_open_qcdm(const char *tty);
52 #endif /* __GATTTY_H */