Home
last modified time | relevance | path

Searched refs:ble_netCfg_commands (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/ble_netconfig/
A Dblecfg_cli.c47 static const struct ble_netCfg_shell_cmd ble_netCfg_commands[] = { variable
62 for (i = 0; ble_netCfg_commands[i].cmd_name != NULL; i ++) { in BleCfg_cli_cmd_handler()
63 … BLECFG_LOG_INFO(" %s %s", ble_netCfg_commands[i].cmd_name, ble_netCfg_commands[i].help); in BleCfg_cli_cmd_handler()
68 for (i = 0; ble_netCfg_commands[i].cmd_name != NULL; i ++) { in BleCfg_cli_cmd_handler()
69 if (strlen(ble_netCfg_commands[i].cmd_name) == strlen(argv[1]) && in BleCfg_cli_cmd_handler()
70 … !strncmp(ble_netCfg_commands[i].cmd_name, argv[1], strlen(ble_netCfg_commands[i].cmd_name))) { in BleCfg_cli_cmd_handler()
71 if (ble_netCfg_commands[i].cb) { in BleCfg_cli_cmd_handler()
72 err = ble_netCfg_commands[i].cb(argc - 1, &argv[1]); in BleCfg_cli_cmd_handler()
75 BLECFG_LOG_INFO("%s execute fail, %d\n", ble_netCfg_commands[i].cmd_name, err); in BleCfg_cli_cmd_handler()

Completed in 2 milliseconds