save screen estate

This commit is contained in:
matthias.ringwald@gmail.com 2014-02-01 07:39:41 +00:00
parent 935fdfc9a4
commit 9445c11595

View File

@ -517,43 +517,34 @@ void show_usage(){
printf("SM: %s, MITM protection %u, OOB data %u, key range [%u..16]\n",
sm_io_capabilities, sm_mitm_protection, sm_have_oob_data, sm_min_key_size);
printf("---\n");
printf("a - advertisements off\n");
printf("A - advertisements on\n");
printf("b - bondable off\n");
printf("B - bondable on\n");
printf("c - connectable off\n");
printf("C - connectable on\n");
printf("d - discoverable off\n");
printf("D - discoverable on\n");
printf("p - privacy off\n");
printf("P - privacy on\n");
printf("x - directed connectable off\n");
printf("X - directed connectable on\n");
printf("a/A - advertisements off/on\n");
printf("b/B - bondable off/on\n");
printf("c/C - connectable off\n");
printf("d/D - discoverable off\n");
printf("p/P - privacy off\n");
printf("x/X - directed connectable off\n");
printf("---\n");
printf("1 - AD Manufacturer Specific Data\n");
printf("2 - AD Local Name\n");
printf("3 - AD Flags\n");
printf("4 - AD Service Data\n");
printf("5 - AD Service Solicitation\n");
printf("6 - AD Services\n");
printf("7 - AD Slave Preferred Connection Interval Range\n");
printf("8 - AD Tx Power Level\n");
printf("1 - AD Manufacturer Specific Data\n");
printf("2 - AD Local Name\n");
printf("3 - AD Flags\n");
printf("4 - AD Service Data\n");
printf("5 - AD Service Solicitation\n");
printf("6 - AD Services\n");
printf("7 - AD Slave Preferred Connection Interval Range\n");
printf("8 - AD Tx Power Level\n");
printf("---\n");
printf("s - send security request\n");
printf("z - send Connection Parameter Update Request\n");
printf("t - terminate connection\n");
printf("s - send security request\n");
printf("z - send Connection Parameter Update Request\n");
printf("t - terminate connection\n");
printf("---\n");
printf("e - IO_CAPABILITY_DISPLAY_ONLY\n");
printf("f - IO_CAPABILITY_DISPLAY_YES_NO\n");
printf("g - IO_CAPABILITY_NO_INPUT_NO_OUTPUT\n");
printf("h - IO_CAPABILITY_KEYBOARD_ONLY\n");
printf("i - IO_CAPABILITY_KEYBOARD_DISPLAY\n");
printf("o - OOB data offoff\n");
printf("O - OOB data on ('%s')\n", sm_oob_data);
printf("m - MITM protection off\n");
printf("M - MITM protecition on\n");
printf("k - encryption key range [ 7..16]\n");
printf("K - encryption key range [16..16]\n");
printf("e - IO_CAPABILITY_DISPLAY_ONLY\n");
printf("f - IO_CAPABILITY_DISPLAY_YES_NO\n");
printf("g - IO_CAPABILITY_NO_INPUT_NO_OUTPUT\n");
printf("h - IO_CAPABILITY_KEYBOARD_ONLY\n");
printf("i - IO_CAPABILITY_KEYBOARD_DISPLAY\n");
printf("o/O - OOB data off/on ('%s')\n", sm_oob_data);
printf("m/M - MITM protection off\n");
printf("k/k - encryption key range [7..16]/[16..16]\n");
printf("---\n");
printf("Ctrl-c - exit\n");
printf("---\n");