@@ -903,7 +903,7 @@ static int cmd_scan(const struct shell *sh, size_t argc, char *argv[])
903
903
options |= BT_LE_SCAN_OPT_FILTER_DUPLICATE ;
904
904
} else if (!strcmp (arg , "nodups" )) {
905
905
options &= ~BT_LE_SCAN_OPT_FILTER_DUPLICATE ;
906
- } else if (!strcmp (arg , "wl " )) {
906
+ } else if (!strcmp (arg , "fal " )) {
907
907
options |= BT_LE_SCAN_OPT_FILTER_ACCEPT_LIST ;
908
908
} else if (!strcmp (arg , "coded" )) {
909
909
options |= BT_LE_SCAN_OPT_CODED ;
@@ -987,12 +987,12 @@ static int cmd_advertise(const struct shell *sh, size_t argc, char *argv[])
987
987
} else if (!strcmp (arg , "non_discov" )) {
988
988
ad = NULL ;
989
989
ad_len = 0 ;
990
- } else if (!strcmp (arg , "wl " )) {
990
+ } else if (!strcmp (arg , "fal " )) {
991
991
param .options |= BT_LE_ADV_OPT_FILTER_SCAN_REQ ;
992
992
param .options |= BT_LE_ADV_OPT_FILTER_CONN ;
993
- } else if (!strcmp (arg , "wl -scan" )) {
993
+ } else if (!strcmp (arg , "fal -scan" )) {
994
994
param .options |= BT_LE_ADV_OPT_FILTER_SCAN_REQ ;
995
- } else if (!strcmp (arg , "wl -conn" )) {
995
+ } else if (!strcmp (arg , "fal -conn" )) {
996
996
param .options |= BT_LE_ADV_OPT_FILTER_CONN ;
997
997
} else if (!strcmp (arg , "identity" )) {
998
998
param .options |= BT_LE_ADV_OPT_USE_IDENTITY ;
@@ -1115,12 +1115,12 @@ static bool adv_param_parse(size_t argc, char *argv[],
1115
1115
param -> options |= BT_LE_ADV_OPT_USE_TX_POWER ;
1116
1116
} else if (!strcmp (arg , "scan-reports" )) {
1117
1117
param -> options |= BT_LE_ADV_OPT_NOTIFY_SCAN_REQ ;
1118
- } else if (!strcmp (arg , "wl " )) {
1118
+ } else if (!strcmp (arg , "fal " )) {
1119
1119
param -> options |= BT_LE_ADV_OPT_FILTER_SCAN_REQ ;
1120
1120
param -> options |= BT_LE_ADV_OPT_FILTER_CONN ;
1121
- } else if (!strcmp (arg , "wl -scan" )) {
1121
+ } else if (!strcmp (arg , "fal -scan" )) {
1122
1122
param -> options |= BT_LE_ADV_OPT_FILTER_SCAN_REQ ;
1123
- } else if (!strcmp (arg , "wl -conn" )) {
1123
+ } else if (!strcmp (arg , "fal -conn" )) {
1124
1124
param -> options |= BT_LE_ADV_OPT_FILTER_CONN ;
1125
1125
} else if (!strcmp (arg , "identity" )) {
1126
1126
param -> options |= BT_LE_ADV_OPT_USE_IDENTITY ;
@@ -2892,7 +2892,7 @@ static int cmd_auth_pairing_confirm(const struct shell *sh,
2892
2892
}
2893
2893
2894
2894
#if defined(CONFIG_BT_FILTER_ACCEPT_LIST )
2895
- static int cmd_wl_add (const struct shell * sh , size_t argc , char * argv [])
2895
+ static int cmd_fal_add (const struct shell * sh , size_t argc , char * argv [])
2896
2896
{
2897
2897
bt_addr_le_t addr ;
2898
2898
int err ;
@@ -2912,7 +2912,7 @@ static int cmd_wl_add(const struct shell *sh, size_t argc, char *argv[])
2912
2912
return 0 ;
2913
2913
}
2914
2914
2915
- static int cmd_wl_rem (const struct shell * sh , size_t argc , char * argv [])
2915
+ static int cmd_fal_rem (const struct shell * sh , size_t argc , char * argv [])
2916
2916
{
2917
2917
bt_addr_le_t addr ;
2918
2918
int err ;
@@ -2932,7 +2932,7 @@ static int cmd_wl_rem(const struct shell *sh, size_t argc, char *argv[])
2932
2932
return 0 ;
2933
2933
}
2934
2934
2935
- static int cmd_wl_clear (const struct shell * sh , size_t argc , char * argv [])
2935
+ static int cmd_fal_clear (const struct shell * sh , size_t argc , char * argv [])
2936
2936
{
2937
2937
int err ;
2938
2938
@@ -2946,7 +2946,7 @@ static int cmd_wl_clear(const struct shell *sh, size_t argc, char *argv[])
2946
2946
}
2947
2947
2948
2948
#if defined(CONFIG_BT_CENTRAL )
2949
- static int cmd_wl_connect (const struct shell * sh , size_t argc , char * argv [])
2949
+ static int cmd_fal_connect (const struct shell * sh , size_t argc , char * argv [])
2950
2950
{
2951
2951
int err ;
2952
2952
const char * action = argv [1 ];
@@ -3079,7 +3079,7 @@ static int cmd_auth_oob_tk(const struct shell *sh, size_t argc, char *argv[])
3079
3079
#define EXT_ADV_SCAN_OPT " [coded] [no-1m]"
3080
3080
#define EXT_ADV_PARAM "<type: conn-scan conn-nscan, nconn-scan nconn-nscan> " \
3081
3081
"[ext-adv] [no-2m] [coded] " \
3082
- "[whitelist: wl, wl -scan, wl -conn] [identity] [name] " \
3082
+ "[filter-accept-list: fal, fal -scan, fal -conn] [identity] [name] " \
3083
3083
"[name-ad] [directed "HELP_ADDR_LE"] [mode: low]" \
3084
3084
"[disable-37] [disable-38] [disable-39]"
3085
3085
#else
@@ -3103,14 +3103,14 @@ SHELL_STATIC_SUBCMD_SET_CREATE(bt_cmds,
3103
3103
SHELL_CMD_ARG (name , NULL , "[name]" , cmd_name , 1 , 1 ),
3104
3104
#if defined(CONFIG_BT_OBSERVER )
3105
3105
SHELL_CMD_ARG (scan , NULL ,
3106
- "<value: on, passive, off> [filter: dups, nodups] [wl ]"
3106
+ "<value: on, passive, off> [filter: dups, nodups] [fal ]"
3107
3107
EXT_ADV_SCAN_OPT ,
3108
3108
cmd_scan , 2 , 4 ),
3109
3109
#endif /* CONFIG_BT_OBSERVER */
3110
3110
#if defined(CONFIG_BT_BROADCASTER )
3111
3111
SHELL_CMD_ARG (advertise , NULL ,
3112
3112
"<type: off, on, scan, nconn> [mode: discov, non_discov] "
3113
- "[whitelist: wl, wl -scan, wl -conn] [identity] [no-name] "
3113
+ "[filter-accept-list: fal, fal -scan, fal -conn] [identity] [no-name] "
3114
3114
"[one-time] [name-ad]"
3115
3115
"[disable-37] [disable-38] [disable-39]" ,
3116
3116
cmd_advertise , 2 , 8 ),
@@ -3214,13 +3214,13 @@ SHELL_STATIC_SUBCMD_SET_CREATE(bt_cmds,
3214
3214
cmd_oob_remote , 3 , 2 ),
3215
3215
SHELL_CMD_ARG (oob - clear , NULL , HELP_NONE , cmd_oob_clear , 1 , 0 ),
3216
3216
#if defined(CONFIG_BT_FILTER_ACCEPT_LIST )
3217
- SHELL_CMD_ARG (wl - add , NULL , HELP_ADDR_LE , cmd_wl_add , 3 , 0 ),
3218
- SHELL_CMD_ARG (wl - rem , NULL , HELP_ADDR_LE , cmd_wl_rem , 3 , 0 ),
3219
- SHELL_CMD_ARG (wl - clear , NULL , HELP_NONE , cmd_wl_clear , 1 , 0 ),
3217
+ SHELL_CMD_ARG (fal - add , NULL , HELP_ADDR_LE , cmd_fal_add , 3 , 0 ),
3218
+ SHELL_CMD_ARG (fal - rem , NULL , HELP_ADDR_LE , cmd_fal_rem , 3 , 0 ),
3219
+ SHELL_CMD_ARG (fal - clear , NULL , HELP_NONE , cmd_fal_clear , 1 , 0 ),
3220
3220
3221
3221
#if defined(CONFIG_BT_CENTRAL )
3222
- SHELL_CMD_ARG (wl - connect , NULL , "<on, off>" EXT_ADV_SCAN_OPT ,
3223
- cmd_wl_connect , 2 , 3 ),
3222
+ SHELL_CMD_ARG (fal - connect , NULL , "<on, off>" EXT_ADV_SCAN_OPT ,
3223
+ cmd_fal_connect , 2 , 3 ),
3224
3224
#endif /* CONFIG_BT_CENTRAL */
3225
3225
#endif /* defined(CONFIG_BT_FILTER_ACCEPT_LIST) */
3226
3226
#if defined(CONFIG_BT_FIXED_PASSKEY )
0 commit comments