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().
Arguments
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
Examples
esp_wifi_nan_publish_service() is referenced by 2 libraries and example projects: