summaryrefslogtreecommitdiffstats
path: root/Documentation/FAQ.wordpress
diff options
context:
space:
mode:
authorGravatar Rick Walsh <rickmwalsh@gmail.com>2015-05-25 21:26:58 +1000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-05-26 12:14:06 -0700
commitffa6a23590baff7272939fb2819789166ad95f38 (patch)
tree933f1ec997b8cc64159c2ea43ce149f8807bbf4a /Documentation/FAQ.wordpress
parented57442bf77838a7b3ff8c5c14d053b76499678b (diff)
downloadsubsurface-ffa6a23590baff7272939fb2819789166ad95f38.tar.gz
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 <rickmwalsh@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Documentation/FAQ.wordpress')
-rw-r--r--Documentation/FAQ.wordpress8
1 files changed, 4 insertions, 4 deletions
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:
&lt;controller&gt; is the Bluetooth controller, hci0
&lt;dev&gt; is the RFCOMM device file, rfcomm0
&lt;bdaddr&gt; 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:
<ul>
<li>Shearwater Petrel 2: channel 5
-<li>Shearwater Petrel 1: channel 0
-<li>OSTC Sport: Channel 0
+<li>Shearwater Petrel 1: channel 1
+<li>OSTC Sport: Channel 1
</ul>
E.g. to connect a Shearwater Petrel 2, set the dive computer to upload mode and enter:
<pre><code style="font-size: 8pt;">sudo rfcomm -i hci0 connect rfcomm0 00:11:22:33:44:55 5
@@ -203,7 +203,7 @@ Press CTRL-C for hangup</code></pre>
To connect a Shearwater Petrel 1 or OSTC Sport, set the dive computer to upload mode and enter:
<pre><code style="font-size: 8pt;">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</code></pre>
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.
<pre><code style="font-size: 8pt;">sdptool -i hci0 records 00:11:22:33:44:55