esp_wifi_nan_get_own_svc_info() function
brief Get own Service information from Service ID OR Name. @attention If service information is to be fetched from service name, set own_svc_id as zero.
Arguments
own_svc_id
As input, it indicates Service ID to search for. As output, it indicates Service ID of the service found using Service Name.
svc_name
As input, it indicates Service Name to search for. As output, it indicates Service Name of the service found using Service ID.
num_peer_records
Number of peers discovered by corresponding service.
Return value
- ESP_OK: succeed - ESP_FAIL: failed
esp_wifi_nan_get_own_svc_info() calls 6 functions:
![]()
esp_wifi_nan_get_own_svc_info()
esp_wifi_nan_get_own_svc_info() reads 11 variables:
![]()
esp_wifi_nan_get_own_svc_info()