* @since_tizen 9.0
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_ALREADY_INITIALIZED Already initialized
* @retval #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed
+ * @retval #WIFI_AWARE_ERROR_OUT_OF_MEMORY Out of memory
* @see wifi_aware_deinitialize()
*/
int wifi_aware_initialize(void);
* @since_tizen 9.0
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_initialize()
*/
* @brief Called when Wi-Fi Aware is enabled.
* @details The following error codes can be received: \n
* #WIFI_AWARE_ERROR_NONE Successful \n
+ * #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported \n
+ * #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied \n
* #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter \n
* #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation \n
- * #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed \n
- * #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied \n
- * #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
+ * #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed
* @since_tizen 9.0
* @param[in] error The error code
* @param[in] user_data The user data passed from the request function
* @param[in] user_data The user data passed to the callback function
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
- * @retval #WIFI_AWARE_ERROR_ALREADY_ENABLED Already enabled
- * @retval #WIFI_AWARE_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
+ * @retval #WIFI_AWARE_ERROR_ALREADY_ENABLED Already enabled
+ * @retval #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed
+ * @retval #WIFI_AWARE_ERROR_OUT_OF_MEMORY Out of memory
* @see wifi_aware_disable()
*/
int wifi_aware_enable(wifi_aware_enabled_cb callback, void *user_data);
* @privilege %http://tizen.org/privilege/network.set
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
- * @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
- * @retval #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
+ * @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
+ * @retval #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed
* @see wifi_aware_enable()
*/
int wifi_aware_disable(void);
* @param[out] session The Wi-Fi Aware Session handle that is newly created on success
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
- * @retval #WIFI_AWARE_ERROR_OUT_OF_MEMORY Out of memory
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
+ * @retval #WIFI_AWARE_ERROR_OUT_OF_MEMORY Out of memory
*
* @par Here is an example of the usage:
* @code
* @param[in] session The Wi-Fi Aware Session handle
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_session_create()
* @param[in] user_data The user data to be passed to the callback function
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_session_unset_terminated_cb()
* @param[in] session The Wi-Fi Aware Session
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_session_set_terminated_cb()
* @param[in] session The Wi-Fi Aware Session handle
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
+ * @retval #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
* @retval #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed
- * @retval #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied
- * @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_session_publish()
* @see wifi_aware_session_subscribe()
*/
* @brief Called when publish request is finished.
* @details The following error codes can be received: \n
* #WIFI_AWARE_ERROR_NONE Successful \n
+ * #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported \n
+ * #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied \n
* #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter \n
* #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation \n
- * #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed \n
- * #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied \n
- * #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
+ * #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed
* @since_tizen 9.0
* @remarks The @a session should not be released.
* @param[in] session The Wi-Fi Aware Session handle
* @param[in] user_data The user data passed to the callback function
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
+ * @retval #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
* @retval #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed
- * @retval #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied
- * @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_session_stop()
*/
int wifi_aware_session_publish(wifi_aware_session_h session,
* @param[in] user_data The user data passed to the callback function
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
+ * @retval #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
* @retval #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed
- * @retval #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied
- * @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_session_publish()
*/
int wifi_aware_session_update_publish(wifi_aware_session_h session,
* @brief Called when Subscribe request is finished.
* @details The following error codes can be received: \n
* #WIFI_AWARE_ERROR_NONE Successful \n
+ * #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported \n
+ * #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied \n
* #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter \n
* #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation \n
- * #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed \n
- * #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied \n
- * #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
+ * #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed
* @since_tizen 9.0
* @remarks The @a session should not be released.
* @param[in] session The Wi-Fi Aware Session handle
* @param[in] user_data The user data passed to the callback function
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
+ * @retval #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
* @retval #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed
- * @retval #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied
- * @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_session_stop()
*/
int wifi_aware_session_subscribe(wifi_aware_session_h session,
* @param[in] user_data The user data passed to the callback function
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
+ * @retval #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
* @retval #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed
- * @retval #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied
- * @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_session_subscribe()
*/
int wifi_aware_session_update_subscribe(wifi_aware_session_h session,
* @param[in] user_data The user data to be passed to the callback function
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_session_unset_service_discovered_cb()
* @param[in] session The Wi-Fi Aware Session handle
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_session_set_service_discovered_cb()
* @brief Called when a message is sent to a peer.
* @details The following error codes can be received: \n
* #WIFI_AWARE_ERROR_NONE Successful \n
+ * #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported \n
+ * #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied \n
* #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter \n
* #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation \n
- * #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed \n
- * #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied \n
- * #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
+ * #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed
* @since_tizen 9.0
* @remarks The @a session should not be released.
* @param[in] session The Wi-Fi Aware Session handle
* @param[in] user_data The user data passed to the callback function
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
- * @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
- * @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
- * @retval #WIFI_AWARE_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
+ * @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
+ * @retval #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed
+ * @retval #WIFI_AWARE_ERROR_OUT_OF_MEMORY Out of memory
*/
int wifi_aware_session_send_message(
wifi_aware_session_h session,
* @param[in] user_data The user data passed to @a callback
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_session_unset_message_received_cb()
* @param[in] session The Wi-Fi Aware Session handle
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_session_set_message_received_cb()
* @param[in] origin The origin Peer handle
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
- * @retval #WIFI_AWARE_ERROR_OUT_OF_MEMORY Out of memory
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
+ * @retval #WIFI_AWARE_ERROR_OUT_OF_MEMORY Out of memory
*
* @par Here is an example of the usage:
* @code
* @param[in] peer The Peer handle
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_peer_clone()
* @param[out] mac The MAC address of the peer
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
- * @retval #WIFI_AWARE_ERROR_OUT_OF_MEMORY Out of memory
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
+ * @retval #WIFI_AWARE_ERROR_OUT_OF_MEMORY Out of memory
*
* @par Here is an example of the usage:
* @code
* @param[out] data_path The Data Path handle
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
- * @retval #WIFI_AWARE_ERROR_OUT_OF_MEMORY Out of memory
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
+ * @retval #WIFI_AWARE_ERROR_OUT_OF_MEMORY Out of memory
*
* @par Here is an example of the usage:
* @code
* @param[in] security_type The security type
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_data_path_create()
* @param[in] key The passphrase
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
- * @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
+ * @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
* @see wifi_aware_data_path_create()
*/
int wifi_aware_data_path_set_psk(wifi_aware_data_path_h data_path, const char *key);
* @param[in] key Pairwise Master Key. Its length shall be of length 32.
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
- * @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
+ * @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
* @see wifi_aware_data_path_create()
*/
int wifi_aware_data_path_set_pmk(wifi_aware_data_path_h data_path, const unsigned char *key);
* @param[in] port The port
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_data_path_create()
* @param[in] data_path The Data Path handle
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_data_path_create()
* @brief Called when Data Path open request is done.
* @details The following error codes can be received: \n
* #WIFI_AWARE_ERROR_NONE Successful \n
+ * #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported \n
+ * #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied \n
* #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter \n
* #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation \n
- * #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed \n
- * #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied \n
- * #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
+ * #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed
* @since_tizen 9.0
* @remarks The @a data_path should not be released.
* @param[in] data_path The Data Path handle
* @param[in] user_data The user data passed to the callback function
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
- * @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
- * @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
- * @retval #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
+ * @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
+ * @retval #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed
* @see wifi_aware_data_path_close()
*/
int wifi_aware_data_path_open(wifi_aware_data_path_h data_path,
* @param[in] data_path The Data Path handle
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
- * @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
- * @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
- * @retval #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
+ * @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
+ * @retval #WIFI_AWARE_ERROR_OPERATION_FAILED Operation failed
* @see wifi_aware_data_path_open()
*/
int wifi_aware_data_path_close(wifi_aware_data_path_h data_path);
* @param[out] port The port
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
- * @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
+ * @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
*/
int wifi_aware_data_path_get_peer_port(wifi_aware_data_path_h data_path, int* port);
* @param[out] ipv6_address The IPv6 address of a peer
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
- * @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
+ * @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
*
* @par Here is an example of the usage:
* @code
* @param[out] interface The interface name
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
- * @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
+ * @retval #WIFI_AWARE_ERROR_INVALID_OPERATION Invalid operation
*
* @par Here is an example of the usage:
* @code
* @param[in] user_data The user data passed to the callback function
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_data_path_unset_terminated_cb()
* @param[in] data_path The Data Path handle
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_data_path_set_terminated_cb()
* @param[out] publish The Wi-Fi Aware Publish handle.
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
- * @retval #WIFI_AWARE_ERROR_OUT_OF_MEMORY Out of memory
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
+ * @retval #WIFI_AWARE_ERROR_OUT_OF_MEMORY Out of memory
*
* @par Here is an example of the usage:
* @code
* @param[in] publish The Wi-Fi Aware Publish handle.
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_publish_create()
* @param[in] ttl The lifetime(seconds) of publish session. 0 means forever until canceled.
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_publish_create()
* @param[in] publish_type The Publish type
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_publish_create()
* @param[in] service_name UTF-8 name which identifies the service
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_publish_create()
* @param[in] len The length of service specific information
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
+ * @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_publish_create()
*/
* @param[in] len The whole length of match_filter
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
+ * @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_publish_create()
*/
* otherwise @c false if ranging is disabled.
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
+ * @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_publish_create()
*/
* @param[out] subscribe The Wi-Fi Aware Subscribe handle.
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
- * @retval #WIFI_AWARE_ERROR_OUT_OF_MEMORY Out of memory
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
+ * @retval #WIFI_AWARE_ERROR_OUT_OF_MEMORY Out of memory
*
* @par Here is an example of the usage:
* @code
* @param[in] subscribe The Wi-Fi Aware Subscribe handle.
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_subscribe_create()
* 0 means forever until wifi_aware_service_discovered_cb().
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_subscribe_create()
* @param[in] subscribe_type The Subscribe type
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_subscribe_create()
* @param[in] service_name UTF-8 name which identifies the service
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_subscribe_create()
* @param[in] len The length of service specific information
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_subscribe_create()
* @param[in] len The whole length of match_filter
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_subscribe_create()
* @param[in] distance The maximum distance
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_subscribe_create()
* @param[in] distance The minimum distance
* @return 0 on success, otherwise a negative error value
* @retval #WIFI_AWARE_ERROR_NONE Successful
+ * @retval #WIFI_AWARE_ERROR_NOT_SUPPORTED Not supported
* @retval #WIFI_AWARE_ERROR_INVALID_PARAMETER Invalid function parameter
* @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED Not initialized
* @see wifi_aware_subscribe_create()