ESP-IDF
+
0
/2 examples
SourceVu will show references to
esp_wifi_nan_publish_service()
from the following samples and libraries:
nan_console sample
nan_publisher sample
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_wifi_nan_publish_service()
esp_wifi_nan_publish_service() function
Start Publishing a service to the NAN Peers in vicinity @attention This API should be called after esp_wifi_nan_start().
Syntax
Show:
Summary
Declaration
Definition
from
esp_nan.h:76
uint8_t
esp_wifi_nan_publish_service
(
const
wifi_nan_publish_cfg_t
*
publish_cfg
,
bool
ndp_resp_needed
)
;
Implemented in
nan_app.c:825
Arguments
Argument
Description
publish_cfg
Configuration parameters for publishing a service.
ndp_resp_needed
Setting this true will require user response for every NDP Req using esp_wifi_nan_datapath_resp API.
Return value
- non-zero: Publish service identifier - zero: failed
Related Functions
Found 1 other functions taking a
wifi_nan_publish_cfg_t
argument:
Function
Description
esp_nan_internal_publish_service()
Start Publishing a service in the NAN cluster @attention This API should be called after esp_wifi_start() in NAN Mode.
Examples
esp_wifi_nan_publish_service()
is referenced by 2 libraries and example projects:
nan_console sample
nan_publisher sample
References
from
0/2
examples
Code
Location
uint8_t
esp_wifi_nan_publish_service
(
const
wifi_nan_publish_cfg_t
*
publish_cfg
,
bool
ndp_resp_needed
)
nan_app.c:825
uint8_t
esp_wifi_nan_publish_service
(
const
wifi_nan_publish_cfg_t
*
publish_cfg
,
bool
ndp_resp_needed
)
;
esp_nan.h:76
Call Tree
from
0/2
examples
esp_wifi_nan_publish_service()
calls 8 functions:
All items filtered out
esp_wifi_nan_publish_service()
esp_log_timestamp()
esp_log_write()
esp_nan_internal_publish_service()
wifi_osi_funcs_t::_mutex_lock
wifi_osi_funcs_t::_mutex_unlock
nan_find_own_svc_by_name()
nan_services_limit_reached()
nan_record_own_svc()
All items filtered out
Data Use
from
0/2
examples
esp_wifi_nan_publish_service()
reads 11 variables:
esp_log_level_t::ESP_LOG_ERROR
esp_log_level_t::ESP_LOG_WARN
esp_log_level_t::ESP_LOG_INFO
esp_log_level_t::ESP_LOG_DEBUG
esp_log_level_t::ESP_LOG_VERBOSE
wifi_nan_publish_cfg_t::service_name
wifi_funcs
TAG
s_nan_data_lock
nan_ctx_t::state
s_nan_ctx
All items filtered out
esp_wifi_nan_publish_service()
All items filtered out
Class Tree
from
0/2
examples
All items filtered out
All items filtered out
Override Tree
from
0/2
examples
All items filtered out
All items filtered out
Implementations
from
0/2
examples
All items filtered out
All items filtered out
Instances
from
0/2
examples
Lifecycle
from
0/2
examples
All items filtered out
All items filtered out