Lines 2876-2888
Link Here
|
2876 |
specify a <acronym>RFCOMM</acronym> channel on the command |
2876 |
specify a <acronym>RFCOMM</acronym> channel on the command |
2877 |
line.</para> |
2877 |
line.</para> |
2878 |
|
2878 |
|
2879 |
<screen>&prompt.root; <userinput>rfcomm_sppd -a 00:07:E0:00:0B:CA -t /dev/ttyp6</userinput> |
2879 |
<screen>&prompt.root; <userinput>rfcomm_sppd -a 00:07:E0:00:0B:CA -t</userinput> |
2880 |
rfcomm_sppd[94692]: Starting on /dev/ttyp6...</screen> |
2880 |
rfcomm_sppd[94692]: Starting on /dev/pts/6... |
|
|
2881 |
/dev/pts/6</screen> |
2881 |
|
2882 |
|
2882 |
<para>Once connected, the pseudo tty can be used as serial |
2883 |
<para>Once connected, the pseudo tty can be used as serial |
2883 |
port:</para> |
2884 |
port:</para> |
2884 |
|
2885 |
|
2885 |
<screen>&prompt.root; <userinput>cu -l ttyp6</userinput></screen> |
2886 |
<screen>&prompt.root; <userinput>cu -l /dev/pts/6</userinput></screen> |
|
|
2887 |
|
2888 |
<para>The pseudo tty is printed on stdout and can be read by |
2889 |
wrapper scripts:</para> |
2890 |
|
2891 |
<programlisting>PTS=`rfcomm_sppd -a 00:07:E0:00:0B:CA -t` |
2892 |
cu -l $PTS</programlisting> |
2886 |
</sect3> |
2893 |
</sect3> |
2887 |
</sect2> |
2894 |
</sect2> |
2888 |
|
2895 |
|