summaryrefslogtreecommitdiff
path: root/tools/rfcomm-tester.c
diff options
context:
space:
mode:
authorMarcin Kraglak <marcin.kraglak@tieto.com>2014-01-10 10:18:11 +0100
committerJohan Hedberg <johan.hedberg@intel.com>2014-01-16 12:23:15 +0200
commit11bd593fd79cdc4f434fd6b23b662e9d89e29e08 (patch)
tree50f1db9fa29e4fbc4a00efec297e7cacd5b51185 /tools/rfcomm-tester.c
parent81294e5f5ade03ae490aceffce0955e506ea0b16 (diff)
downloadbluez-11bd593fd79cdc4f434fd6b23b662e9d89e29e08.tar.gz
tools/rfcomm-tester: Initial version of rfcomm-tester
Add rfcomm-tester to tree.
Diffstat (limited to 'tools/rfcomm-tester.c')
-rw-r--r--tools/rfcomm-tester.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/tools/rfcomm-tester.c b/tools/rfcomm-tester.c
new file mode 100644
index 000000000..200d953aa
--- /dev/null
+++ b/tools/rfcomm-tester.c
@@ -0,0 +1,36 @@
+/*
+ *
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (C) 2014 Intel Corporation. All rights reserved.
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <glib.h>
+#include "src/shared/tester.h"
+
+int main(int argc, char *argv[])
+{
+ tester_init(&argc, &argv);
+
+ return tester_run();
+}