Lines Matching refs:fprintf

73     fprintf(stderr, "Can only select either bond or discoverable, not both\n");  in main()
78 fprintf(stderr, in main()
85 fprintf(stderr, "Must specify one command\n"); in main()
90 fprintf(stderr, "Will be unable to catch signals\n"); in main()
93 fprintf(stdout, "Bringing up bluetooth adapter\n"); in main()
95 fprintf(stderr, "Unable to open Bluetooth HAL.\n"); in main()
101 fprintf(stdout, "BT adapter is up\n"); in main()
103 fprintf(stdout, "Starting to start discovery\n"); in main()
105 fprintf(stdout, "Started discovery for %d seconds\n", timeout_in_sec); in main()
109 fprintf(stdout, "Starting to cancel discovery\n"); in main()
111 fprintf(stdout, "Cancelled discovery after %d seconds\n", timeout_in_sec); in main()
116 fprintf(stdout, "BT adapter is up\n"); in main()
122 fprintf(stdout, "Set rc:%d device as discoverable for %d seconds\n", rc, in main()
132 fprintf(stderr, in main()
139 fprintf(stdout, "BT adapter is up\n"); in main()
143 fprintf(stdout, "Started bonding:%d for %d seconds\n", rc, timeout_in_sec); in main()
150 fprintf(stdout, "BT adapter is up\n"); in main()
152 fprintf(stdout, "Waiting for %d seconds\n", timeout_in_sec); in main()
158 fprintf(stdout, "BT adapter is up\n"); in main()
164 fprintf(stderr, "Unable to get adapter property\n"); in main()
177 fprintf(stdout, "BT adapter is up\n"); in main()
185 fprintf(stderr, "Unable to set adapter property\n"); in main()
192 fprintf(stderr, "Unable to get adapter property\n"); in main()
203 fprintf(stdout, "BT adapter is up\n"); in main()
219 fprintf(stderr, "Unable to listen for incoming RFCOMM socket: %d\n", in main()
227 fprintf(stderr, "Unable to listen for incoming SCO sockets: %d\n", error); in main()
230 fprintf(stdout, "Waiting for incoming SCO connections...\n"); in main()
236 fprintf(stderr, in main()
243 fprintf(stdout, "BT adapter is up\n"); in main()
253 fprintf(stderr, "Unable to connect to RFCOMM socket: %d.\n", error); in main()
259 fprintf(stdout, "Establishing SCO connection...\n"); in main()
265 fprintf(stderr, "Unable to connect to SCO socket: %d.\n", error); in main()
272 fprintf(stdout, "BT adapter is down\n"); in main()
277 fprintf(stderr, "Received SIGINT\n"); in sig_handler()
279 fprintf(stderr, "BT adapter is down\n"); in sig_handler()
285 fprintf(stderr, in usage()
290 fprintf(stderr, " bond: Discover actively advertising devices\n"); in usage()
291 fprintf(stderr, " discover: Discover actively advertising devices\n"); in usage()
292 fprintf(stderr, in usage()
294 fprintf(stderr, " up: Only bring up stack\n"); in usage()
295 fprintf(stderr, " sco_listen: Listen for incoming SCO connections\n"); in usage()
296 fprintf(stderr, in usage()
298 fprintf(stderr, " time: Time to hold in the specified mode\n"); in usage()
349 fprintf(stderr, "?? getopt returned character code 0%o ??\n", c); in parse_args()
354 fprintf(stderr, "non-option ARGV-elements: "); in parse_args()
355 while (optind < argc) fprintf(stderr, "%s ", argv[optind++]); in parse_args()
356 fprintf(stderr, "\n"); in parse_args()