ESP-IDF
cmd_table
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
cmd_table
cmd_table variable
Syntax
Show:
Summary
Declaration
from
esp_local_ctrl_handler.c:41
static
esp_local_ctrl_cmd_t
cmd_table
[
]
=
{
{
.
cmd_num
=
LOCAL_CTRL_MSG_TYPE__TypeCmdGetPropertyCount
,
.
command_handler
=
cmd_get_prop_count_handler
}
,
{
.
cmd_num
=
LOCAL_CTRL_MSG_TYPE__TypeCmdGetPropertyValues
,
.
command_handler
=
cmd_get_prop_vals_handler
}
,
{
.
cmd_num
=
LOCAL_CTRL_MSG_TYPE__TypeCmdSetPropertyValues
,
.
command_handler
=
cmd_set_prop_vals_handler
}
}
;
Examples
References
from
examples
Code
Location
Referrer
static
esp_local_ctrl_cmd_t
cmd_table
[
]
=
{
esp_local_ctrl_handler.c:41
for
(
size_t
i
=
0
;
i
<
sizeof
(
cmd_table
)
/
sizeof
(
esp_local_ctrl_cmd_t
)
;
i
++
)
{
esp_local_ctrl_handler.c:188
lookup_cmd_handler()
if
(
cmd_table
[
i
]
.
cmd_num
==
cmd_id
)
{
esp_local_ctrl_handler.c:189
lookup_cmd_handler()
esp_err_t
ret
=
cmd_table
[
cmd_index
]
.
command_handler
(
req
,
resp
,
ctx
)
;
esp_local_ctrl_handler.c:241
esp_local_ctrl_command_dispatcher()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
cmd_table
is read by 2 functions:
All items filtered out
cmd_table
lookup_cmd_handler()
esp_local_ctrl_command_dispatcher()
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