rfcomm_sppd.c | 89 #include <netbt/rfcomm.h> 126 int n, lm, rfcomm, tty_in, tty_out; local in function:main 154 case 'c': /* RFCOMM channel */ 226 /* open RFCOMM */ 228 rfcomm = open_client(&laddr, &raddr, lm, psm, service); 230 rfcomm = open_server(&laddr, psm, channel, lm, service); 267 pfd[1].fd = rfcomm; 279 copy_data(tty_in, rfcomm); 282 copy_data(rfcomm, tty_out); 638 * interested in the L2CAP psm if provided, and the RFCOMM channe [all...] |