esp_nan_internal_subscribe_service() function
Subscribe for a service within the NAN cluster @attention This API should be called after esp_wifi_start() in NAN Mode.
Arguments
subscribe_cfg
Configuration parameters for subscribing for a service.
id
Identifier for the Subscribe service.
cancel
Cancel the service identified by the id.
Return value
- ESP_OK: succeed - others: failed