User Manual

Table Of Contents
Chapter 4. SPP-over-IP
Figure 4-9. Checking that Bluetooth Serial Port Profile is disabled.
4.2.2. Preparations
SPP-over-IP settings are modified in iWRAP servers’ configuration file
/etc/bluetooth.confwhich can be edited by navigating in WWW Setup to Setup
Bluetooth settings Edit startup script.
To enable SPP-over-IP, add lines similar to following to the end of that file (lines starting with #
are comments which can be left out):
# Forward incoming connection to IP 192.168.42.99 socket 7444
SET BLUETOOTH LISTEN 1 192.168.42.99:7444
# Add SDP record for Serial Port Profile
SDP ADD SPP 1 "SPP-over-IP"
In the example configuration above, RFCOMM channel 1 is used by the SPP-over-IP service.
You can, however, use any other free channel as well. The RFCOMM channel must be same in
both SDP ADD (see
SDP ADD for details of command syntax) and SET BLUETOOTH LISTEN
(see Table 7-1 for details of command syntax) configuration commands.
44