From ffa6a23590baff7272939fb2819789166ad95f38 Mon Sep 17 00:00:00 2001 From: Rick Walsh Date: Mon, 25 May 2015 21:26:58 +1000 Subject: Correct default RFCOMM channel in documentation The default RFCOMM channel is 1, not 0 as previously stated in FAQ and user manual. This patch corrects it. Signed-off-by: Rick Walsh Signed-off-by: Dirk Hohndel --- Documentation/FAQ.wordpress | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Documentation/FAQ.wordpress') diff --git a/Documentation/FAQ.wordpress b/Documentation/FAQ.wordpress index da918bb93..1d64d3f31 100644 --- a/Documentation/FAQ.wordpress +++ b/Documentation/FAQ.wordpress @@ -189,11 +189,11 @@ The command to establish an RFCOMM connection is: <controller> is the Bluetooth controller, hci0 <dev> is the RFCOMM device file, rfcomm0 <bdaddr> is the dive computer's MAC address, 00:11:22:33:44:55 -[channel] is the dive computer's Bluetooth channel we need to connect to. If you omit it, channel 0 will be assumed. Based on a limited number of user reports, the channel for different dive computers is probably: +[channel] is the dive computer's Bluetooth channel we need to connect to. If you omit it, channel 1 will be assumed. Based on a limited number of user reports, the channel for different dive computers is probably:
  • Shearwater Petrel 2: channel 5 -
  • Shearwater Petrel 1: channel 0 -
  • OSTC Sport: Channel 0 +
  • Shearwater Petrel 1: channel 1 +
  • OSTC Sport: Channel 1
E.g. to connect a Shearwater Petrel 2, set the dive computer to upload mode and enter:
sudo rfcomm -i hci0 connect rfcomm0 00:11:22:33:44:55 5
@@ -203,7 +203,7 @@ Press CTRL-C for hangup
To connect a Shearwater Petrel 1 or OSTC Sport, set the dive computer to upload mode and enter:
sudo rfcomm -i hci0 connect rfcomm0 00:11:22:33:44:55
 (enter password when prompted)
-Connected /dev/rfcomm0 to 00:11:22:33:44:55 on channel 0
+Connected /dev/rfcomm0 to 00:11:22:33:44:55 on channel 1
 Press CTRL-C for hangup
If you don't know what channel your dive computer uses, or the channel in the list above doesn't work, the command 'sdptool records' should help determine the appropriate channel. The output below is from a Shearwater Petrel 2.
sdptool -i hci0 records 00:11:22:33:44:55
-- 
cgit v1.2.3-70-g09d2