Update bluetooth rfcomm_sppd documentation.
PR: 194691 Submitted by: tobias.rehbein@web.de Reviewed by: jhb
This commit is contained in:
parent
e5031bd37d
commit
0fe7bfaeb5
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=45975
1 changed files with 10 additions and 3 deletions
|
@ -2876,13 +2876,20 @@ Success, response: OK, Success (0x20)</screen>
|
|||
specify a <acronym>RFCOMM</acronym> channel on the command
|
||||
line.</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>rfcomm_sppd -a 00:07:E0:00:0B:CA -t /dev/ttyp6</userinput>
|
||||
rfcomm_sppd[94692]: Starting on /dev/ttyp6...</screen>
|
||||
<screen>&prompt.root; <userinput>rfcomm_sppd -a 00:07:E0:00:0B:CA -t</userinput>
|
||||
rfcomm_sppd[94692]: Starting on /dev/pts/6...
|
||||
/dev/pts/6</screen>
|
||||
|
||||
<para>Once connected, the pseudo tty can be used as serial
|
||||
port:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>cu -l ttyp6</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>cu -l /dev/pts/6</userinput></screen>
|
||||
|
||||
<para>The pseudo tty is printed on stdout and can be read by
|
||||
wrapper scripts:</para>
|
||||
|
||||
<programlisting>PTS=`rfcomm_sppd -a 00:07:E0:00:0B:CA -t`
|
||||
cu -l $PTS</programlisting>
|
||||
</sect3>
|
||||
</sect2>
|
||||
|
||||
|
|
Loading…
Reference in a new issue