iperf sample
ap_set_args
is only used within iperf sample.
Symbol previews are coming soon...
Symbols
loading (1/5)...
Files
loading (1/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
iperf sample
ap_set_args
ap_set_args variable
Syntax
Show:
Summary
Declaration
from
ap_cmd.c:26
static
ap_set_args_t
ap_set_args
;
Examples
References
from
examples
Code
Location
Referrer
static
ap_set_args_t
ap_set_args
;
ap_cmd.c:26
int
nerrors
=
arg_parse
(
argc
,
argv
,
(
void
*
*
)
&
ap_set_args
)
;
ap_cmd.c:30
cmd_do_ap_set()
arg_print_errors
(
stderr
,
ap_set_args
.
end
,
argv
[
0
]
)
;
ap_cmd.c:33
cmd_do_ap_set()
const
char
*
ssid
=
ap_set_args
.
ssid
->
sval
[
0
]
;
ap_cmd.c:39
cmd_do_ap_set()
const
char
*
pass
=
ap_set_args
.
password
->
sval
[
0
]
;
ap_cmd.c:45
cmd_do_ap_set()
if
(
ap_set_args
.
password
->
count
>
0
)
{
ap_cmd.c:46
cmd_do_ap_set()
if
(
ap_set_args
.
channel
->
count
>
0
)
{
ap_cmd.c:54
cmd_do_ap_set()
wifi_config
.
ap
.
channel
=
(
uint8_t
)
(
ap_set_args
.
channel
->
ival
[
0
]
)
;
ap_cmd.c:55
cmd_do_ap_set()
const
char
*
auth_str
=
ap_set_args
.
authmode
->
sval
[
0
]
;
ap_cmd.c:57
cmd_do_ap_set()
if
(
ap_set_args
.
authmode
->
count
>
0
)
{
ap_cmd.c:58
cmd_do_ap_set()
if
(
ap_set_args
.
max_conn
->
count
>
0
)
{
ap_cmd.c:61
cmd_do_ap_set()
wifi_config
.
ap
.
max_connection
=
ap_set_args
.
max_conn
->
ival
[
0
]
;
ap_cmd.c:62
cmd_do_ap_set()
ap_set_args
.
ssid
=
arg_str1
(
NULL
,
NULL
,
"<ssid>"
,
"SSID of AP"
)
;
ap_cmd.c:82
app_register_ap_set()
ap_set_args
.
password
=
arg_str0
(
NULL
,
NULL
,
"<pass>"
,
"password of AP"
)
;
ap_cmd.c:83
app_register_ap_set()
ap_set_args
.
authmode
=
arg_str0
(
"a"
,
"authmode"
,
"<authmode>"
,
"wifi auth type (ie. open | wep| wpa2 | wpa2_enterprise)"
)
;
ap_cmd.c:84
app_register_ap_set()
ap_set_args
.
channel
=
arg_int0
(
"n"
,
"channel"
,
"<channel>"
,
"channel of AP"
)
;
ap_cmd.c:85
app_register_ap_set()
ap_set_args
.
max_conn
=
arg_int0
(
"m"
,
"max_conn"
,
"<max_conn>"
,
"Max station number, default: 2"
)
;
ap_cmd.c:86
app_register_ap_set()
ap_set_args
.
end
=
arg_end
(
2
)
;
ap_cmd.c:87
app_register_ap_set()
.
argtable
=
&
ap_set_args
ap_cmd.c:93
app_register_ap_set()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
ap_set_args
is read by 2 functions:
All items filtered out
ap_set_args
cmd_do_ap_set()
app_register_ap_set()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out