ESP-IDF
own_svc_info
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
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
ESP-IDF
own_svc_info
own_svc_info struct
Syntax
Show:
Summary
Declaration
from
nan_app.c:58
struct
own_svc_info
{
char
svc_name
[
ESP_WIFI_MAX_SVC_NAME_LEN
]
;
uint8_t
svc_id
;
uint8_t
type
;
bool
ndp_resp_needed
;
uint8_t
num_peer_records
;
SLIST_HEAD
(
peer_list_t
,
peer_svc_info
)
peer_list
;
}
;
Fields
Field
Declared as
Description
own_svc_info::svc_name
char
[
ESP_WIFI_MAX_SVC_NAME_LEN
]
Name identifying a service.
own_svc_info::svc_id
uint8_t
Identifier for a service.
own_svc_info::type
uint8_t
Service type (Publish/Subscribe).
own_svc_info::ndp_resp_needed
bool
If enabled, NDP response is required.
own_svc_info::num_peer_records
uint8_t
Count of peer records associated with svc_id.
own_svc_info::peer_list
SLIST_HEAD
(
peer_list_t
,
peer_svc_info
)
List of peers matched for specific service.
Examples
References
from
examples
Code
Location
Scope
Referrer
struct
own_svc_info
{
nan_app.c:58
struct
own_svc_info
own_svc
[
ESP_WIFI_NAN_MAX_SVC_SUPPORTED
]
;
/**< Record of own service(s) */
nan_app.c:79
nan_ctx_t
nan_ctx_t::own_svc
static
struct
own_svc_info
*
nan_find_own_svc
(
uint8_t
svc_id
)
nan_app.c:107
nan_find_own_svc()
struct
own_svc_info
*
p_svc
=
NULL
;
nan_app.c:109
nan_find_own_svc()
static
struct
own_svc_info
*
nan_find_own_svc_by_name
(
const
char
*
svc_name
)
nan_app.c:126
nan_find_own_svc_by_name()
struct
own_svc_info
*
p_svc
=
NULL
;
nan_app.c:128
nan_find_own_svc_by_name()
struct
own_svc_info
*
p_own_svc
=
NULL
;
nan_app.c:148
nan_find_peer_svc()
struct
own_svc_info
*
p_own_svc
;
nan_app.c:193
nan_record_peer_svc()
struct
own_svc_info
*
p_own_svc
=
NULL
;
nan_app.c:239
nan_reset_service()
memset
(
p_own_svc
,
0
,
sizeof
(
struct
own_svc_info
)
)
;
nan_app.c:254
nan_reset_service()
struct
own_svc_info
*
p_svc
=
NULL
;
nan_app.c:288
nan_record_own_svc()
struct
own_svc_info
*
p_own_svc
=
nan_find_own_svc
(
evt
->
publish_id
)
;
nan_app.c:492
nan_app_action_ndp_indication()
struct
own_svc_info
*
p_own_svc
=
nan_find_own_svc
(
service_id
)
;
nan_app.c:929
esp_wifi_nan_cancel_service()
struct
own_svc_info
*
own_svc
=
NULL
;
nan_app.c:1077
esp_wifi_nan_get_own_svc_info()
struct
own_svc_info
*
own_record
=
NULL
;
nan_app.c:1112
esp_wifi_nan_get_peer_records()
struct
own_svc_info
*
own_svc
=
nan_find_own_svc_by_name
(
svc_name
)
;
nan_app.c:1188
esp_wifi_nan_get_peer_info()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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
Instance
Scope
Location
Project
nan_ctx_t::own_svc
nan_ctx_t
nan_app.c:79
return
nan_find_own_svc()
nan_app.c:107
return
nan_find_own_svc_by_name()
nan_app.c:126
Lifecycle
from
examples
All items filtered out
All items filtered out