ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
18
SPP client mode:
If you do not change the listen channel number, the service will automatically use the
default channel number. Make sure the server or client mode is using the same listen
channel number.
Use the following commands to set up the SPP client mode and request a connection to
SPP server.
$ sdptool add SP
Serial Port service registered
$ rfcomm connect hci0 5C:F3:70:24:4B:2E
Connected /dev/rfcomm0 to 5C:F3:70:24:4B:2E on channel 1
Press CTRL-C for hangup
To open the minicom serial communication program, use the following command:
$ minicom –s
Connect to the /dev/rfcomm0 serial device with the following settings:
+--------------------------------------------------------------+
| A
-
Serial Device
: /dev/rfcomm0 |
| B
-
Lockfile Location
: /var/lock |
| C
-
Callin Program
: |
| D
-
Callout Program
: |
| E
-
Bps/Par/Bits
: 115200 8N1 |
| F
-
Hardware Flow Control
: No |
| G
-
Software Flow Control
: No |
+--------------------------------------------------------------+
Serial port setting of EMIO-2531 module
Start a serial communication program on the host machine with the same
communication settings using the appropriate Bluetooth SPP device. Afterwards the
Bluetooth SPP device and the ARTiGO A820 will be able to communicate through the
programs (for example sending a keypress on one machine should be shown on the
other machine).