Lines Matching +full:scan +full:- +full:limit
11 * SPDX-License-Identifier: Apache-2.0
117 "non-resolvable"; in print_le_addr()
190 switch (data->type) { in data_cb()
194 memcpy(name, data->data, MIN(data->data_len, NAME_LEN - 1)); in data_cb()
210 for (int16_t i = len - 1; i >= 0; i--) { in print_data_hex()
235 print_data_hex(&scan_data[idx], scan_data_len - idx, SHELL_WARNING); in print_data_set()
242 strlen(scan_response_label), "", data->type); in data_verbose_cb()
244 switch (data->type) { in data_verbose_cb()
248 print_data_set(BT_UUID_SIZE_16, data->data, data->data_len); in data_verbose_cb()
254 if (data->data_len < BT_UUID_SIZE_16) { in data_verbose_cb()
257 data->data_len); in data_verbose_cb()
260 print_data_set(BT_UUID_SIZE_16, data->data, BT_UUID_SIZE_16); in data_verbose_cb()
261 if (data->data_len > BT_UUID_SIZE_16) { in data_verbose_cb()
263 print_data_set(1, data->data + BT_UUID_SIZE_16, in data_verbose_cb()
264 data->data_len - BT_UUID_SIZE_16); in data_verbose_cb()
269 print_data_set(BT_UUID_SIZE_32, data->data, data->data_len); in data_verbose_cb()
275 if (data->data_len < BT_UUID_SIZE_32) { in data_verbose_cb()
278 data->data_len); in data_verbose_cb()
281 print_data_set(BT_UUID_SIZE_32, data->data, BT_UUID_SIZE_32); in data_verbose_cb()
282 if (data->data_len > BT_UUID_SIZE_32) { in data_verbose_cb()
284 print_data_set(1, data->data + BT_UUID_SIZE_32, in data_verbose_cb()
285 data->data_len - BT_UUID_SIZE_32); in data_verbose_cb()
291 print_data_set(BT_UUID_SIZE_128, data->data, data->data_len); in data_verbose_cb()
297 if (data->data_len < BT_UUID_SIZE_128) { in data_verbose_cb()
300 data->data_len); in data_verbose_cb()
303 print_data_set(BT_UUID_SIZE_128, data->data, BT_UUID_SIZE_128); in data_verbose_cb()
304 if (data->data_len > BT_UUID_SIZE_128) { in data_verbose_cb()
306 print_data_set(1, data->data + BT_UUID_SIZE_128, in data_verbose_cb()
307 data->data_len - BT_UUID_SIZE_128); in data_verbose_cb()
313 shell_fprintf(ctx_shell, SHELL_INFO, "%.*s", data->data_len, data->data); in data_verbose_cb()
318 print_data_set(BT_ADDR_SIZE, data->data, data->data_len); in data_verbose_cb()
321 print_data_set(3, data->data, data->data_len); in data_verbose_cb()
324 print_data_set(1, data->data, data->data_len); in data_verbose_cb()
355 if (scan_filter.rssi_set && (scan_filter.rssi > info->rssi)) { in passes_scan_filter()
360 (scan_filter.pa_interval > BT_CONN_INTERVAL_TO_MS(info->interval))) { in passes_scan_filter()
367 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in passes_scan_filter()
408 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
414 le_addr, info->adv_type, info->rssi, name, in scan_recv()
415 (info->adv_props & BT_GAP_ADV_PROP_CONNECTABLE) != 0, in scan_recv()
416 (info->adv_props & BT_GAP_ADV_PROP_SCANNABLE) != 0, in scan_recv()
417 (info->adv_props & BT_GAP_ADV_PROP_DIRECTED) != 0, in scan_recv()
418 (info->adv_props & BT_GAP_ADV_PROP_SCAN_RESPONSE) != 0, in scan_recv()
419 (info->adv_props & BT_GAP_ADV_PROP_EXT_ADV) != 0, in scan_recv()
420 phy2str(info->primary_phy), phy2str(info->secondary_phy), in scan_recv()
421 info->interval, BT_CONN_INTERVAL_TO_US(info->interval), in scan_recv()
422 info->sid); in scan_recv()
426 "%*s[SCAN DATA START - %s]", in scan_recv()
428 scan_response_type_txt(info->adv_type)); in scan_recv()
430 shell_info(ctx_shell, "%*s[SCAN DATA END]", strlen(scan_response_label), ""); in scan_recv()
436 bt_addr_le_copy(&auto_connect.addr, info->addr); in scan_recv()
439 if ((info->adv_props & BT_GAP_ADV_PROP_CONNECTABLE) != 0U && auto_connect.connect_name) { in scan_recv()
455 shell_print(ctx_shell, "Scan timeout"); in scan_timeout()
473 bt_le_ext_adv_get_index(adv), adv, info->num_sent); in adv_sent()
481 bt_addr_le_to_str(info->addr, str, sizeof(str)); in adv_scanned()
494 bt_addr_le_to_str(bt_conn_get_dst(info->conn), str, sizeof(str)); in adv_connected()
546 bt_addr_le_to_str(info.le.dst, str, sizeof(str) - 2);
581 bt_addr_le_to_str(&oob->addr, addr, sizeof(addr)); in print_le_oob()
583 bin2hex(oob->le_sc_data.c, sizeof(oob->le_sc_data.c), c, sizeof(c)); in print_le_oob()
584 bin2hex(oob->le_sc_data.r, sizeof(oob->le_sc_data.r), r, sizeof(r)); in print_le_oob()
587 shell_print(sh, "%-29s %-32s %-32s", "addr", "random", "confirm"); in print_le_oob()
676 " to %d", param->interval_min, param->interval_max, in le_param_req()
677 param->latency, param->timeout); in le_param_req()
699 shell_print(ctx_shell, "Identity resolved %s -> %s", addr_rpa, in identity_resolved()
774 "manufacturer 0x%04x", ver_str(remote_info->version), in remote_info_available()
775 remote_info->version, remote_info->subversion, in remote_info_available()
776 remote_info->manufacturer); in remote_info_available()
783 sys_memcpy_swap(features, remote_info->le.features, in remote_info_available()
798 " RX (len: %d time: %d)", info->tx_max_len, in le_data_len_updated()
799 info->tx_max_time, info->rx_max_len, info->rx_max_time); in le_data_len_updated()
808 phy2str(info->tx_phy), phy2str(info->rx_phy)); in le_phy_updated()
866 const bool is_past_peer = info->conn != NULL; in per_adv_sync_sync_cb()
870 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in per_adv_sync_sync_cb()
873 conn_addr_str(info->conn, past_peer, sizeof(past_peer)); in per_adv_sync_sync_cb()
879 info->interval, BT_CONN_INTERVAL_TO_US(info->interval), in per_adv_sync_sync_cb()
880 phy2str(info->phy), info->service_data, in per_adv_sync_sync_cb()
883 if (info->conn) { /* if from PAST */ in per_adv_sync_sync_cb()
906 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in per_adv_sync_terminated_cb()
918 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in per_adv_sync_recv_cb()
921 bt_le_per_adv_sync_get_index(sync), le_addr, info->tx_power, in per_adv_sync_recv_cb()
922 info->rssi, info->cte_type, buf->len); in per_adv_sync_recv_cb()
930 bt_addr_le_to_str(biginfo->addr, le_addr, sizeof(le_addr)); in per_adv_sync_biginfo_cb()
935 bt_le_per_adv_sync_get_index(sync), le_addr, biginfo->sid, biginfo->num_bis, in per_adv_sync_biginfo_cb()
936 biginfo->sub_evt_count, biginfo->iso_interval, in per_adv_sync_biginfo_cb()
937 BT_CONN_INTERVAL_TO_US(biginfo->iso_interval), biginfo->burst_number, in per_adv_sync_biginfo_cb()
938 biginfo->offset, biginfo->rep_count, biginfo->max_pdu, biginfo->sdu_interval, in per_adv_sync_biginfo_cb()
939 biginfo->max_sdu, phy2str(biginfo->phy), biginfo->framing, in per_adv_sync_biginfo_cb()
940 biginfo->encryption ? "" : "not "); in per_adv_sync_biginfo_cb()
998 if (!strcmp(arg, "no-settings-load")) { in cmd_init()
1063 return -ENOEXEC; in cmd_hci_cmd()
1067 sizeof(hex_data) - hex_data_len); in cmd_hci_cmd()
1070 return -ENOEXEC; in cmd_hci_cmd()
1082 shell_hexdump(sh, rsp->data, rsp->len); in cmd_hci_cmd()
1125 return -EINVAL; in cmd_appearance()
1176 return -ENOEXEC; in cmd_id_reset()
1210 return -ENOEXEC; in cmd_id_delete()
1256 return -ENOEXEC; in cmd_id_select()
1282 shell_error(sh, "Bluetooth set active scan failed " in cmd_active_scan_on()
1286 shell_print(sh, "Bluetooth active scan enabled"); in cmd_active_scan_on()
1307 shell_error(sh, "Bluetooth set passive scan failed " in cmd_passive_scan_on()
1311 shell_print(sh, "Bluetooth passive scan enabled"); in cmd_passive_scan_on()
1326 shell_print(sh, "Scan successfully stopped"); in cmd_scan_off()
1350 } else if (!strcmp(arg, "no-1m")) { in cmd_scan()
1405 return -ENOEXEC; in cmd_scan_filter_set_name()
1417 const size_t max_cpy_len = sizeof(scan_filter.addr) - 1; in cmd_scan_filter_set_addr()
1424 return -ENOEXEC; in cmd_scan_filter_set_addr()
1436 return -ENOEXEC; in cmd_scan_filter_set_addr()
1464 err = -ERANGE; in cmd_scan_filter_set_rssi()
1497 err = -ERANGE; in cmd_scan_filter_set_pa_interval()
1544 /* Set BR/EDR Not Supported if LE-only device */ in ad_init()
1548 /* A privacy-enabled Set Member should advertise RSI values only when in in ad_init()
1584 data_array_size - ad_len, discoverable); in ad_init()
1597 audio_ad_len = audio_ad_data_add(&data_array[ad_len], data_array_size - ad_len, in ad_init()
1621 return -ENOEXEC; in cmd_advertise()
1636 } else if (!strcmp(argv[1], "scan")) { in cmd_advertise()
1656 } else if (!strcmp(arg, "fal-scan")) { in cmd_advertise()
1658 } else if (!strcmp(arg, "fal-conn")) { in cmd_advertise()
1662 } else if (!strcmp(arg, "no-name")) { in cmd_advertise()
1664 } else if (!strcmp(arg, "name-ad")) { in cmd_advertise()
1667 } else if (!strcmp(arg, "one-time")) { in cmd_advertise()
1669 } else if (!strcmp(arg, "disable-37")) { in cmd_advertise()
1671 } else if (!strcmp(arg, "disable-38")) { in cmd_advertise()
1673 } else if (!strcmp(arg, "disable-39")) { in cmd_advertise()
1688 return -ENOEXEC; in cmd_advertise()
1704 return -ENOEXEC; in cmd_advertise()
1731 } else if (!strcmp(arg, "dir-rpa")) { in cmd_directed_adv()
1733 } else if (!strcmp(arg, "disable-37")) { in cmd_directed_adv()
1735 } else if (!strcmp(arg, "disable-38")) { in cmd_directed_adv()
1737 } else if (!strcmp(arg, "disable-39")) { in cmd_directed_adv()
1741 return -ENOEXEC; in cmd_directed_adv()
1749 return -ENOEXEC; in cmd_directed_adv()
1764 if (!strcmp(argv[1], "conn-scan")) { in adv_param_parse()
1765 param->options |= BT_LE_ADV_OPT_CONNECTABLE; in adv_param_parse()
1766 param->options |= BT_LE_ADV_OPT_SCANNABLE; in adv_param_parse()
1767 } else if (!strcmp(argv[1], "conn-nscan")) { in adv_param_parse()
1768 param->options |= BT_LE_ADV_OPT_CONNECTABLE; in adv_param_parse()
1769 } else if (!strcmp(argv[1], "nconn-scan")) { in adv_param_parse()
1770 param->options |= BT_LE_ADV_OPT_SCANNABLE; in adv_param_parse()
1771 } else if (!strcmp(argv[1], "nconn-nscan")) { in adv_param_parse()
1780 if (!strcmp(arg, "ext-adv")) { in adv_param_parse()
1781 param->options |= BT_LE_ADV_OPT_EXT_ADV; in adv_param_parse()
1783 param->options |= BT_LE_ADV_OPT_CODED; in adv_param_parse()
1784 } else if (!strcmp(arg, "no-2m")) { in adv_param_parse()
1785 param->options |= BT_LE_ADV_OPT_NO_2M; in adv_param_parse()
1787 param->options |= BT_LE_ADV_OPT_ANONYMOUS; in adv_param_parse()
1788 } else if (!strcmp(arg, "tx-power")) { in adv_param_parse()
1789 param->options |= BT_LE_ADV_OPT_USE_TX_POWER; in adv_param_parse()
1790 } else if (!strcmp(arg, "scan-reports")) { in adv_param_parse()
1791 param->options |= BT_LE_ADV_OPT_NOTIFY_SCAN_REQ; in adv_param_parse()
1793 param->options |= BT_LE_ADV_OPT_FILTER_SCAN_REQ; in adv_param_parse()
1794 param->options |= BT_LE_ADV_OPT_FILTER_CONN; in adv_param_parse()
1795 } else if (!strcmp(arg, "fal-scan")) { in adv_param_parse()
1796 param->options |= BT_LE_ADV_OPT_FILTER_SCAN_REQ; in adv_param_parse()
1797 } else if (!strcmp(arg, "fal-conn")) { in adv_param_parse()
1798 param->options |= BT_LE_ADV_OPT_FILTER_CONN; in adv_param_parse()
1800 param->options |= BT_LE_ADV_OPT_USE_IDENTITY; in adv_param_parse()
1802 param->options |= BT_LE_ADV_OPT_USE_NAME; in adv_param_parse()
1803 } else if (!strcmp(arg, "name-ad")) { in adv_param_parse()
1804 param->options |= BT_LE_ADV_OPT_USE_NAME; in adv_param_parse()
1805 param->options |= BT_LE_ADV_OPT_FORCE_NAME_IN_AD; in adv_param_parse()
1807 param->options |= BT_LE_ADV_OPT_DIR_MODE_LOW_DUTY; in adv_param_parse()
1808 } else if (!strcmp(arg, "dir-rpa")) { in adv_param_parse()
1809 param->options |= BT_LE_ADV_OPT_DIR_ADDR_RPA; in adv_param_parse()
1810 } else if (!strcmp(arg, "disable-37")) { in adv_param_parse()
1811 param->options |= BT_LE_ADV_OPT_DISABLE_CHAN_37; in adv_param_parse()
1812 } else if (!strcmp(arg, "disable-38")) { in adv_param_parse()
1813 param->options |= BT_LE_ADV_OPT_DISABLE_CHAN_38; in adv_param_parse()
1814 } else if (!strcmp(arg, "disable-39")) { in adv_param_parse()
1815 param->options |= BT_LE_ADV_OPT_DISABLE_CHAN_39; in adv_param_parse()
1828 param->peer = &addr; in adv_param_parse()
1835 param->id = selected_id; in adv_param_parse()
1836 param->sid = 0; in adv_param_parse()
1837 if (param->peer && in adv_param_parse()
1838 !(param->options & BT_LE_ADV_OPT_DIR_MODE_LOW_DUTY)) { in adv_param_parse()
1839 param->interval_min = 0; in adv_param_parse()
1840 param->interval_max = 0; in adv_param_parse()
1842 param->interval_min = BT_GAP_ADV_FAST_INT_MIN_2; in adv_param_parse()
1843 param->interval_max = BT_GAP_ADV_FAST_INT_MAX_2; in adv_param_parse()
1858 return -ENOEXEC; in cmd_adv_create()
1864 return -ENOEXEC; in cmd_adv_create()
1889 return -ENOEXEC; in cmd_adv_param()
1895 return -ENOEXEC; in cmd_adv_param()
1918 return -EINVAL; in cmd_adv_data()
1928 if (strcmp(arg, "scan-response") && in cmd_adv_data()
1930 /* Maximum entries limit reached. */ in cmd_adv_data()
1932 "Maximum entries limit reached"); in cmd_adv_data()
1934 return -ENOEXEC; in cmd_adv_data()
1943 } else if (!strcmp(arg, "scan-response")) { in cmd_adv_data()
1946 "duplicate scan-response option"); in cmd_adv_data()
1947 return -ENOEXEC; in cmd_adv_data()
1954 sizeof(hex_data) - hex_data_len); in cmd_adv_data()
1956 if (!len || (len - 1) != (hex_data[hex_data_len])) { in cmd_adv_data()
1959 return -ENOEXEC; in cmd_adv_data()
1963 data[*data_len].data_len = len - 2; in cmd_adv_data()
1974 len = ad_init(&data[*data_len], AD_SIZE - *data_len, adv_set_opt[selected_adv]); in cmd_adv_data()
1978 return -ENOEXEC; in cmd_adv_data()
1992 return -ENOEXEC; in cmd_adv_data()
2008 return -EINVAL; in cmd_adv_start()
2022 if (!strcmp(arg, "num-events")) { in cmd_adv_start()
2037 return -ENOEXEC; in cmd_adv_start()
2045 return -ENOEXEC; in cmd_adv_start()
2055 return -EINVAL; in cmd_adv_stop()
2061 return -ENOEXEC; in cmd_adv_stop()
2075 return -EINVAL; in cmd_adv_delete()
2094 return -EINVAL; in cmd_adv_select()
2107 return -ENOEXEC; in cmd_adv_select()
2117 return -EINVAL; in cmd_adv_info()
2140 return -EINVAL; in cmd_adv_oob()
2166 return -EINVAL; in cmd_adv_rpa_expire()
2180 return -EINVAL; in cmd_per_adv()
2199 return -EINVAL; in cmd_per_adv()
2214 return -EINVAL; in cmd_per_adv_param()
2233 return -EINVAL; in cmd_per_adv_param()
2236 if (argc > 3 && !strcmp(argv[3], "tx-power")) { in cmd_per_adv_param()
2246 return -ENOEXEC; in cmd_per_adv_param()
2261 data_array_size - ad_len); in pa_ad_init()
2284 return -EINVAL; in cmd_per_adv_data()
2297 return -ENOEXEC; in cmd_per_adv_data()
2306 stack_ad_len = pa_ad_init(&ad[ad_len], ARRAY_SIZE(ad) - ad_len); in cmd_per_adv_data()
2310 return -ENOEXEC; in cmd_per_adv_data()
2319 return -ENOEXEC; in cmd_per_adv_data()
2339 shell_error(sh, "Selected per-adv-sync is not NULL"); in cmd_per_adv_sync_create()
2340 return -ENOEXEC; in cmd_per_adv_sync_create()
2346 return -ENOEXEC; in cmd_per_adv_sync_create()
2406 shell_error(sh, "Selected per-adv-sync is NULL"); in cmd_per_adv_sync_delete()
2407 return -EINVAL; in cmd_per_adv_sync_delete()
2431 return -ENOEXEC; in cmd_per_adv_sync_select()
2436 return -EINVAL; in cmd_per_adv_sync_select()
2449 return -ENOEXEC; in cmd_per_adv_sync_select()
2463 return -ENOEXEC; in cmd_past_subscribe()
2501 return -EINVAL; in cmd_past_subscribe()
2537 return -EINVAL; in cmd_past_unsubscribe()
2571 ARRAY_SIZE(per_adv_syncs) - 1, index); in cmd_per_adv_sync_transfer()
2576 return -EINVAL; in cmd_per_adv_sync_transfer()
2598 sh->ctx->active_cmd.syntax); in cmd_per_adv_set_info_transfer()
2599 return -ENOEXEC; in cmd_per_adv_set_info_transfer()
2625 shell_error(sh, "No connectable adv stored, please trigger a scan first."); in cmd_connect_le()
2644 } else if (!strcmp(arg, "no-1m")) { in cmd_connect_le()
2662 return -ENOEXEC; in cmd_connect_le()
2713 /* Set the name filter which we will use in the scan callback to in cmd_connect_le_name()
2719 "Bluetooth set scan filter name to %s failed (err %d)", in cmd_connect_le_name()
2726 shell_error(sh, "Bluetooth scan failed (err %d)", err); in cmd_connect_le_name()
2730 shell_print(sh, "Bluetooth active scan enabled"); in cmd_connect_le_name()
2732 /* Set boolean to tell the scan callback to connect to this name */ in cmd_connect_le_name()
2766 return -ENOEXEC; in cmd_disconnect()
2796 return -ENOEXEC; in cmd_select()
2867 return -ENOEXEC; in cmd_info()
2884 print_le_addr("Remote on-air", info.le.remote); in cmd_info()
2885 print_le_addr("Local on-air", info.le.local); in cmd_info()
2896 phy2str(info.le.phy->tx_phy), in cmd_info()
2897 phy2str(info.le.phy->rx_phy)); in cmd_info()
2902 info.le.data_len->tx_max_len, in cmd_info()
2903 info.le.data_len->tx_max_time, in cmd_info()
2904 info.le.data_len->rx_max_len, in cmd_info()
2905 info.le.data_len->rx_max_time); in cmd_info()
2932 sh->ctx->active_cmd.syntax); in cmd_conn_update()
2933 return -ENOEXEC; in cmd_conn_update()
2981 sh->ctx->active_cmd.syntax); in cmd_conn_data_len_update()
2982 return -ENOEXEC; in cmd_conn_data_len_update()
2998 phy = info.le.phy->tx_phy; in cmd_conn_data_len_update()
3028 sh->ctx->active_cmd.syntax); in cmd_conn_phy_update()
3029 return -ENOEXEC; in cmd_conn_phy_update()
3067 return -ENOEXEC; in cmd_chan_map()
3120 return -ENOEXEC; in cmd_oob_remote()
3159 return -ENOEXEC; in cmd_clear()
3189 return -ENOEXEC; in cmd_security()
3198 sec = *argv[1] - '0'; in cmd_security()
3203 return -ENOEXEC; in cmd_security()
3209 return -ENOEXEC; in cmd_security()
3213 if (!strcmp(argv[2], "force-pair")) { in cmd_security()
3217 return -ENOEXEC; in cmd_security()
3251 bt_addr_le_to_str(&info->addr, addr, sizeof(addr)); in bond_info()
3427 if (oob_info->type == BT_CONN_OOB_LE_SC) { in auth_pairing_oob_data_request()
3429 oob_info->lesc.oob_config != BT_CONN_OOB_REMOTE_ONLY in auth_pairing_oob_data_request()
3433 oob_info->lesc.oob_config != BT_CONN_OOB_LOCAL_ONLY in auth_pairing_oob_data_request()
3461 oob_config_str(oob_info->lesc.oob_config), addr); in auth_pairing_oob_data_request()
3530 feat->io_capability, feat->oob_data_flag, in pairing_accept()
3531 feat->auth_req, feat->max_enc_key_size, in pairing_accept()
3532 feat->init_key_dist, feat->resp_key_dist); in pairing_accept()
3695 return -ENOEXEC; in cmd_auth_cancel()
3708 return -ENOEXEC; in cmd_auth_passkey_confirm()
3720 return -ENOEXEC; in cmd_auth_pairing_confirm()
3794 } else if (!strcmp(arg, "no-1m")) { in cmd_fal_connect()
3843 shell_print(sh, "Passkey should be between 0-999999"); in cmd_fixed_passkey()
3844 return -ENOEXEC; in cmd_fixed_passkey()
3865 return -ENOEXEC; in cmd_auth_passkey()
3870 shell_print(sh, "Passkey should be between 0-999999"); in cmd_auth_passkey()
3871 return -EINVAL; in cmd_auth_passkey()
3892 return -ENOEXEC; in cmd_auth_passkey_notify()
3900 return -EINVAL; in cmd_auth_passkey_notify()
3923 return -EINVAL; in cmd_auth_oob_tk()
3946 return -EINVAL; in cmd_default_handler()
3955 #define EXT_ADV_SCAN_OPT " [coded] [no-1m]"
3957 "<type: conn-scan conn-nscan, nconn-scan nconn-nscan> " \
3958 "[ext-adv] [no-2m] [coded] [anon] [tx-power] [scan-reports] " \
3959 "[filter-accept-list: fal, fal-scan, fal-conn] [identity] [name] " \
3960 "[name-ad] [directed " HELP_ADDR_LE "] [mode: low] [dir-rpa] " \
3961 "[disable-37] [disable-38] [disable-39]"
3985 SHELL_CMD_ARG(init, NULL, "[no-settings-load], [sync]",
3989 SHELL_CMD_ARG(settings-load, NULL, HELP_NONE, cmd_settings_load, 1, 0),
3992 SHELL_CMD_ARG(hci-cmd, NULL, "<ogf> <ocf> [data]", cmd_hci_cmd, 3, 1),
3994 SHELL_CMD_ARG(id-create, NULL, HELP_ADDR, cmd_id_create, 1, 1),
3995 SHELL_CMD_ARG(id-reset, NULL, "<id> "HELP_ADDR, cmd_id_reset, 2, 1),
3996 SHELL_CMD_ARG(id-delete, NULL, "<id>", cmd_id_delete, 2, 0),
3997 SHELL_CMD_ARG(id-show, NULL, HELP_NONE, cmd_id_show, 1, 0),
3998 SHELL_CMD_ARG(id-select, NULL, "<id>", cmd_id_select, 2, 0),
4006 SHELL_CMD_ARG(scan, NULL,
4010 SHELL_CMD(scan-filter-set, &bt_scan_filter_set_cmds,
4011 "Scan filter set commands",
4013 SHELL_CMD(scan-filter-clear, &bt_scan_filter_clear_cmds,
4014 "Scan filter clear commands",
4016 SHELL_CMD_ARG(scan-verbose-output, NULL, "<value: on, off>", cmd_scan_verbose_output, 2, 0),
4020 "<type: off, on, scan, nconn> [mode: discov, non_discov] "
4021 "[filter-accept-list: fal, fal-scan, fal-conn] [identity] [no-name] "
4022 "[one-time] [name-ad] [appearance] "
4023 "[disable-37] [disable-38] [disable-39]",
4026 SHELL_CMD_ARG(directed-adv, NULL, HELP_ADDR_LE " [mode: low] "
4027 "[identity] [dir-rpa]",
4031 SHELL_CMD_ARG(adv-create, NULL, EXT_ADV_PARAM, cmd_adv_create, 2, 11),
4032 SHELL_CMD_ARG(adv-param, NULL, EXT_ADV_PARAM, cmd_adv_param, 2, 11),
4033 SHELL_CMD_ARG(adv-data, NULL, "<data> [scan-response <data>] "
4036 SHELL_CMD_ARG(adv-start, NULL,
4037 "[timeout <timeout>] [num-events <num events>]",
4039 SHELL_CMD_ARG(adv-stop, NULL, HELP_NONE, cmd_adv_stop, 1, 0),
4040 SHELL_CMD_ARG(adv-delete, NULL, HELP_NONE, cmd_adv_delete, 1, 0),
4041 SHELL_CMD_ARG(adv-select, NULL, "[adv]", cmd_adv_select, 1, 1),
4042 SHELL_CMD_ARG(adv-info, NULL, HELP_NONE, cmd_adv_info, 1, 0),
4044 SHELL_CMD_ARG(adv-oob, NULL, HELP_NONE, cmd_adv_oob, 1, 0),
4047 SHELL_CMD_ARG(adv-rpa-expire, NULL, HELP_ONOFF, cmd_adv_rpa_expire, 2, 0),
4050 SHELL_CMD_ARG(per-adv, NULL, HELP_ONOFF, cmd_per_adv, 2, 0),
4051 SHELL_CMD_ARG(per-adv-param, NULL,
4052 "[<interval-min> [<interval-max> [tx_power]]]",
4054 SHELL_CMD_ARG(per-adv-data, NULL, "[data]", cmd_per_adv_data, 1, 1),
4059 SHELL_CMD_ARG(per-adv-sync-create, NULL,
4063 SHELL_CMD_ARG(per-adv-sync-delete, NULL, "[<index>]",
4065 SHELL_CMD_ARG(per-adv-sync-select, NULL, "[adv]", cmd_per_adv_sync_select, 1, 1),
4069 SHELL_CMD_ARG(past-subscribe, NULL, "[conn] [skip <count>] "
4072 SHELL_CMD_ARG(past-unsubscribe, NULL, "[conn]",
4077 SHELL_CMD_ARG(per-adv-sync-transfer, NULL, "[<index>]",
4081 SHELL_CMD_ARG(per-adv-set-info-transfer, NULL, "",
4089 SHELL_CMD_ARG(auto-conn, NULL, HELP_ADDR_LE, cmd_auto_conn, 3, 0),
4091 SHELL_CMD_ARG(connect-name, NULL, "<name filter>",
4097 SHELL_CMD_ARG(conn-update, NULL, "<min> <max> <latency> <timeout>",
4100 SHELL_CMD_ARG(data-len-update, NULL, "<tx_max_len> [tx_max_time]",
4104 SHELL_CMD_ARG(phy-update, NULL, "<tx_phy> [rx_phy] [s2] [s8]",
4108 SHELL_CMD_ARG(channel-map, NULL, "<channel-map: XXXXXXXXXX> (36-0)",
4114 SHELL_CMD_ARG(security, NULL, "<security level BR/EDR: 0 - 3, "
4115 "LE: 1 - 4> [force-pair]",
4125 SHELL_CMD_ARG(auth-cancel, NULL, HELP_NONE, cmd_auth_cancel, 1, 0),
4126 SHELL_CMD_ARG(auth-passkey, NULL, "<passkey>", cmd_auth_passkey, 2, 0),
4128 SHELL_CMD_ARG(auth-passkey-notify, NULL, "<type>",
4131 SHELL_CMD_ARG(auth-passkey-confirm, NULL, HELP_NONE,
4133 SHELL_CMD_ARG(auth-pairing-confirm, NULL, HELP_NONE,
4136 SHELL_CMD_ARG(auth-oob-tk, NULL, "<tk>", cmd_auth_oob_tk, 2, 0),
4138 SHELL_CMD_ARG(oob-remote, NULL,
4141 SHELL_CMD_ARG(oob-clear, NULL, HELP_NONE, cmd_oob_clear, 1, 0),
4143 SHELL_CMD_ARG(fal-add, NULL, HELP_ADDR_LE, cmd_fal_add, 3, 0),
4144 SHELL_CMD_ARG(fal-rem, NULL, HELP_ADDR_LE, cmd_fal_rem, 3, 0),
4145 SHELL_CMD_ARG(fal-clear, NULL, HELP_NONE, cmd_fal_clear, 1, 0),
4148 SHELL_CMD_ARG(fal-connect, NULL, HELP_ONOFF EXT_ADV_SCAN_OPT,
4153 SHELL_CMD_ARG(fixed-passkey, NULL, "[passkey]", cmd_fixed_passkey,
4163 SHELL_CMD(ll-addr, NULL, "<random|public>", cmd_ll_addr_read),