esp_nan_internal_publish_service() function
Start Publishing a service in the NAN cluster @attention This API should be called after esp_wifi_start() in NAN Mode.
Arguments
publish_cfg
Configuration parameters for publishing a service.
id
Identifier for the Publish service.
cancel
Cancel the service identified by the id.
Return value
- ESP_OK: succeed - others: failed