Lines Matching defs:channel
54 int service, int *channel, int *error);
69 int s, channel, detach, server, service,
74 channel = 0;
99 case 'C': /* RFCOMM channel */
100 channel = strtoul(optarg, &ep, 10);
102 channel = 0;
159 /* Check channel, if was not set then obtain it via SDP */
160 if (channel == 0 && service != 0)
162 &channel, &s) != 0)
163 errc(1, s, "Could not obtain RFCOMM channel");
166 if (channel <= 0 || channel > 30)
167 errx(1, "Invalid RFCOMM channel number %d", channel);
225 sock_addr.rfcomm_channel = channel;
254 lan.server_channel = channel;
267 * RFCOMM channel if requested. There is really no good reason
276 dun.server_channel = channel;
291 * Register SP (Serial Port) service on the same RFCOMM channel
312 sp.server_channel = channel;
386 sock_addr.rfcomm_channel = channel;
462 "\t-C channel RFCOMM channel to listen on or connect to (required)\n" \