Modify API esp_wifi_nan_datapath_req() to return ndp_id after datapath is accepted/rejected

This commit is contained in:
Shyamal Khachane
2023-03-23 15:17:18 +05:30
parent 1343b908fa
commit 2f6517b44b
7 changed files with 64 additions and 46 deletions

View File

@@ -660,10 +660,10 @@ esp_err_t esp_wifi_get_country(wifi_country_t *country);
/**
* @brief Set MAC address of WiFi station or the soft-AP interface.
* @brief Set MAC address of WiFi station, soft-AP or NAN interface.
*
* @attention 1. This API can only be called when the interface is disabled
* @attention 2. Soft-AP and station have different MAC addresses, do not set them to be the same.
* @attention 2. Above mentioned interfaces have different MAC addresses, do not set them to be the same.
* @attention 3. The bit 0 of the first byte of MAC address can not be 1. For example, the MAC address
* can set to be "1a:XX:XX:XX:XX:XX", but can not be "15:XX:XX:XX:XX:XX".
*