oswald/linux-bt
2021-02-14 18:03:13 +01:00
..
l2cap_client.c initial commit to new repo 2021-02-14 18:03:13 +01:00
Makefile initial commit to new repo 2021-02-14 18:03:13 +01:00
README.txt initial commit to new repo 2021-02-14 18:03:13 +01:00

l2cap_client
License: GPLv3

This is a small test application to test the Bluetooth connection to
Oswald-MetaWatch. It opens a L2CAP connection to a give Bluetooth address.
After successful connection establishment it output all data received to
stdout and send data received from stdin (keyboard) to the watch. Input via
stdin is not in cbreak mode, i.e. input must be finished with CR before it
is sent to the watch.

Building
Simply type "make". Depend on libbluetooth and its development files.

Running
Start with Bluetooth address of the watch as cmdline argument:
	l2cap_client 11:22:33:44:55:66