int wifi_aware_subscribe_set_match_filter(wifi_aware_subscribe_h subscribe, const unsigned char *match_filter, size_t len);
/**
- * @brief Sets the maximum distance between the found services
+ * @brief Sets the maximum distance.
* @since_tizen 6.0
+ * @remark Only for the services within the @a distance are searched.
* @param[in] subscribe The Wi-Fi Aware Subscribe handle
- * @param[in] distance The max distance between found services
+ * @param[in] distance The maximum distance
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE
* @see wifi_aware_subscrbie_create()
int wifi_aware_subscribe_set_max_distance(wifi_aware_subscribe_h subscribe, int distance);
/**
- * @brief Sets the minimum distance between the found services
+ * @brief Sets the minimum distance.
* @since_tizen 6.0
+ * @remark Only for the services at least at the @ a distance are searched.
* @param[in] subscribe The Wi-Fi Aware Subscribe handle
- * @param[in] distance The min distance between found services
+ * @param[in] distance The minimum distance
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE
* @see wifi_aware_subscrbie_create()
/**
* @brief Called whenever a matched service for the subscribe configurations is found.
* @since_tizen 6.0
- * @remkar If ranging is not supported or not enabled, @a distance would be 0.
+ * @remark If the publisher doesn't enabled ranging or the subscriber doesn't set both max and min distance,\n
+ * @a distance would be negative value.
* @param[in] session The Wi-Fi Aware Session handle
* @param[in] peer The found Peer information
* @param[in] service_specific_info Sequence of octets which were received from published service
/**
* @brief Sets a PMK for Wi-Fi Aware Data Path.
* @since_tizen 6.0
- * @remkar @key can be used only when security type is WIFI_AWARE_SECURITY_TYPE_PMK.
+ * @remark @key can be used only when security type is WIFI_AWARE_SECURITY_TYPE_PMK.
* @param[in] data_path The Data Path handle
* @param[in] key Pairwise Master Key. Its length shall be of length 32.
* @return 0 on success, otherwise a negative error value
void *user_data);
/**
- * @brief Starts to open a Wi-Fi Aware Data Path.
+ * @brief Requests to open a Wi-Fi Aware Data Path.
* @remarks The @a callback will be always invoked whether the open request succeeds or fails.
* @since_tizen 6.0
* @param[in] data_path The Data Path handle
/**
* @brief Gets a port of a peer.
- * @remarks This is only for Data Path Initiator.
* @since_tizen 6.0
* @param[in] data_path The Data Path handle
* @param[out] port The port