Lines Matching full:timeout
249 static int create_device(int ctl, int csk, int isk, uint8_t subclass, int nosdp, int nocheck, int bootonly, int encrypt, int timeout)
278 req.idle_to = timeout * 60;
348 static void run_server(int ctl, int csk, int isk, uint8_t subclass, int nosdp, int nocheck, int bootonly, int encrypt, int timeout)
381 err = create_device(ctl, ncsk, nisk, subclass, nosdp, nocheck, bootonly, encrypt, timeout);
445 static void do_connect(int ctl, bdaddr_t *src, bdaddr_t *dst, uint8_t subclass, int fakehid, int bootonly, int encrypt, int timeout)
522 err = create_device(ctl, csk, isk, subclass, 1, 1, bootonly, encrypt, timeout);
534 static void do_search(int ctl, bdaddr_t *bdaddr, uint8_t subclass, int fakehid, int bootonly, int encrypt, int timeout)
565 do_connect(ctl, &src, &dst, subclass, fakehid, bootonly, encrypt, timeout);
581 do_connect(ctl, &src, &dst, subclass, 1, bootonly, 0, timeout);
645 "\t-t <timeout> Set idle timeout (in minutes)\n"
666 { "timeout", 1, 0, 't' },
700 int fakehid = 1, encrypt = 0, timeout = 30, lm = 0;
716 timeout = atoi(optarg);
803 do_search(ctl, &bdaddr, subclass, fakehid, bootonly, encrypt, timeout);
808 do_connect(ctl, &bdaddr, &dev, subclass, fakehid, bootonly, encrypt, timeout);
851 run_server(ctl, csk, isk, subclass, nosdp, nocheck, bootonly, encrypt, timeout);