From c5390ecc2ca559ce5449c9ae44a97ea5c7262c8d Mon Sep 17 00:00:00 2001 From: Jaehyun Kim Date: Tue, 22 Oct 2019 20:35:31 +0900 Subject: [PATCH] Correct API reference Change-Id: Ibbac1607fe34b400cf97d0be606c889c7608d5da Signed-off-by: Jaehyun Kim --- include/wifi-direct.h | 192 +++++++++++++++++++++++++------------------------- 1 file changed, 96 insertions(+), 96 deletions(-) diff --git a/include/wifi-direct.h b/include/wifi-direct.h index ca5cec1..b81cd33 100644 --- a/include/wifi-direct.h +++ b/include/wifi-direct.h @@ -767,7 +767,7 @@ typedef void (*wifi_direct_state_changed_cb) (wifi_direct_state_e state, * @brief Initializes Wi-Fi Direct service. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @return @c 0 on success, * otherwise a negative error value * @retval #WIFI_DIRECT_ERROR_NONE Successful @@ -1281,7 +1281,7 @@ int wifi_direct_unset_peer_found_cb(void); * // Handle WPS PIN Display case here * } * - * if (wps_mode == WIFI_DIRECT_WPS_PIN_KEYPAD) { + * if (wps_mode == WIFI_DIRECT_WPS_TYPE_PIN_KEYPAD) { * printf("Connection type WPS PIN KEYPAD\n"); * // Handle WPS PIN Keypad case here * } @@ -1308,7 +1308,7 @@ int wifi_direct_unset_peer_found_cb(void); * printf("peer device disconnection response MAC %s\n", mac_address); * break; * - * case WIFI_DIRECT_CONNECTION_DISASSOCIATION_IND: + * case WIFI_DIRECT_DISASSOCIATION_IND: * if (error_code == WIFI_DIRECT_ERROR_NONE) * printf("peer device disassociation MAC %s\n", mac_address); * break; @@ -1801,7 +1801,7 @@ int wifi_direct_unset_state_changed_cb(void); * @brief Activates the Wi-Fi Direct service, asynchronously. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @return @c 0 on success, * otherwise a negative error value * @retval #WIFI_DIRECT_ERROR_NONE Successful @@ -1859,7 +1859,7 @@ int wifi_direct_activate(void); * @brief Deactivates the Wi-Fi Direct service, asynchronously. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @return @c 0 on success, * otherwise a negative error value * @retval #WIFI_DIRECT_ERROR_NONE Successful @@ -1917,7 +1917,7 @@ int wifi_direct_deactivate(void); * cycling between Scan and Listen. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @remarks The function can be called if the Wi-Fi Direct state is one of:\n * #WIFI_DIRECT_STATE_ACTIVATED\n * #WIFI_DIRECT_STATE_DISCOVERING\n @@ -2033,7 +2033,7 @@ int wifi_direct_start_discovery(bool listen_only, int timeout); * then will search only the devices on the channel 11. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @remarks The function can be called if the Wi-Fi Direct state is one of:\n * #WIFI_DIRECT_STATE_ACTIVATED\n * #WIFI_DIRECT_STATE_DISCOVERING\n @@ -2141,7 +2141,7 @@ int wifi_direct_start_discovery_specific_channel(bool listen_only, int timeout, * @brief Starts discovery to find all P2P capable devices with specified frequency, asynchronously. * @since_tizen 4.0 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @remarks The function can be called if the Wi-Fi Direct state is one of:\n * #WIFI_DIRECT_STATE_ACTIVATED\n * #WIFI_DIRECT_STATE_DISCOVERING\n @@ -2253,7 +2253,7 @@ int wifi_direct_start_discovery_specific_freq(bool listen_only, int timeout, int * wifi_direct_start_discovery() functions. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @return @c 0 on success, * otherwise a negative error value * @retval #WIFI_DIRECT_ERROR_NONE Successful @@ -2358,7 +2358,7 @@ typedef bool (*wifi_direct_discovered_peer_cb) (wifi_direct_discovered_peer_info * @brief Gets the information of discovered peers. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] callback The callback function to invoke * @param[in] user_data The user data to be passed to the callback function * @return @c 0 on success, @@ -2466,7 +2466,7 @@ int wifi_direct_foreach_discovered_peers(wifi_direct_discovered_peer_cb callback * and the availability of persistent data. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] mac_address The MAC address of remote device * @return @c 0 on success, * otherwise a negative error value @@ -2533,7 +2533,7 @@ int wifi_direct_foreach_discovered_peers(wifi_direct_discovered_peer_cb callback * printf("Connection in progress\n"); * break; * - * case WIFI_DIRECT_CONNECTON_RSP: + * case WIFI_DIRECT_CONNECTION_RSP: * printf("Connected\n"); * break; * @@ -2607,7 +2607,7 @@ int wifi_direct_connect(char *mac_address); * @brief Cancels the connection now in progress. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] mac_address The MAC address of rejected device * @return @c 0 on success, * otherwise a negative error value @@ -2762,7 +2762,7 @@ int wifi_direct_cancel_connection(char *mac_address); * @brief Disconnects all connected links to peers, asynchronously. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @return @c 0 on success, * otherwise a negative error value * @retval #WIFI_DIRECT_ERROR_NONE Successful @@ -2848,7 +2848,7 @@ int wifi_direct_disconnect_all(void); * @brief Disconnects the specified peer, asynchronously. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] mac_address The MAC address of remote device * @return @c 0 on success, * otherwise a negative error value @@ -2965,7 +2965,7 @@ typedef bool (*wifi_direct_connected_peer_cb) (wifi_direct_connected_peer_info_s * @brief Gets the information of connected peers. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] callback The callback function to invoke * @param[in] user_data The user data to be passed to the callback function * @return @c 0 on success, @@ -3038,7 +3038,7 @@ int wifi_direct_foreach_connected_peers(wifi_direct_connected_peer_cb callback, * In addition, a soft AP will be created, the WPS registrar and the DHCP server will be started. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @return @c 0 on success, * otherwise a negative error value * @retval #WIFI_DIRECT_ERROR_NONE Successful @@ -3112,7 +3112,7 @@ int wifi_direct_create_group(void); * In addition, a soft AP will be created, the WPS registrar and the DHCP server will be started. * @since_tizen 5.0 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] ssid Referred to as a network name, it is a name that identifies a wireless network * @return 0 on success, otherwise a negative error value * @retval #WIFI_DIRECT_ERROR_NONE Successful @@ -3138,7 +3138,7 @@ int wifi_direct_create_group_with_ssid(const char *ssid); * If creating a Group is in progress, this function cancels that creating. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @return @c 0 on success, * otherwise a negative error value * @retval #WIFI_DIRECT_ERROR_NONE Successful @@ -3211,7 +3211,7 @@ int wifi_direct_destroy_group(void); * @brief Checks whether this device is the group owner or not. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[out] is_group_owner Indicates whether this device is the group owner or not * @return @c 0 on success, * otherwise a negative error value @@ -3296,7 +3296,7 @@ int wifi_direct_is_group_owner(bool *is_group_owner); * then the current group is the autonomous group. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[out] is_autonomous_group Indicates whether the current group is the autonomous group or not * @return @c 0 on success, * otherwise a negative error value @@ -3378,7 +3378,7 @@ int wifi_direct_is_autonomous_group(bool *is_autonomous_group); * @details This device name is shown to other devices during device discovery. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @remarks The name set is only valid during activated state. * After Wi-Fi Direct is deactivated, this name will be same as the phone name. * @param[in] device_name The name of a local device @@ -3445,7 +3445,7 @@ int wifi_direct_set_device_name(const char *device_name); * @brief Gets the name of a local device. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @remarks @a device_name must be released with free(). * @param[out] device_name The name of a local device * @return @c 0 on success, @@ -3509,7 +3509,7 @@ int wifi_direct_get_device_name(char** device_name); * @brief Gets SSID (Service Set Identifier) of a local device. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @remarks @a ssid must be released using free(). * @param[out] ssid The SSID * @return @c 0 on success, @@ -3574,7 +3574,7 @@ int wifi_direct_get_ssid(char **ssid); * @brief Gets the name of network interface (for example: eth0, pdp0). * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @remarks @a name must be released using free(). * @param[out] name The name of the network interface * @return @c 0 on success, @@ -3639,7 +3639,7 @@ int wifi_direct_get_network_interface_name(char **name); * @brief Gets IP address of a local device. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @remarks @a ip_address must be released using free(). * @param[out] ip_address The IP address * @return @c 0 on success, @@ -3782,7 +3782,7 @@ int wifi_direct_get_ip_address(char **ip_address); * @brief Gets the Subnet Mask. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @remarks @a subnet_mask must be released using free(). * @param[out] subnet_mask The subnet mask * @return @c 0 on success, @@ -3830,7 +3830,7 @@ int wifi_direct_get_ip_address(char **ip_address); * * wifi_direct_get_ip_address(&ip); // get ip address * - * ret = wifi_direct_get_subnetmask(&subnet); // get subnet mask + * ret = wifi_direct_get_subnet_mask(&subnet); // get subnet mask * * if (ret != WIFI_DIRECT_ERROR_NONE) { * printf("Failed to get subnet mask\n"); @@ -3928,7 +3928,7 @@ int wifi_direct_get_subnet_mask(char **subnet_mask); * @brief Gets the Gateway address. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @remarks @a gateway_address must be released using free(). * @param[out] gateway_address The gateway address * @return @c 0 on success, @@ -4075,7 +4075,7 @@ int wifi_direct_get_gateway_address(char **gateway_address); * @brief Gets MAC address of a local device. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @remarks @a mac_address must be released using free(). * @param[out] mac_address The MAC address * @return @c 0 on success, @@ -4301,7 +4301,7 @@ int wifi_direct_get_state(wifi_direct_state_e *state); * @details If you call wifi_direct_start_discovery(), then your device can be discoverable. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[out] discoverable The status of discoverable: * (@c true = discoverable, @c false = non-discoverable) * @return @c 0 on success, @@ -4409,7 +4409,7 @@ int wifi_direct_is_discoverable(bool *discoverable); * it does not support specific channel but the initial 802.11. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[out] listen_only The status of listen only:(@c true = listen only, @c false = * cycling between Scan and Listen or not in discovery state) * @return @c 0 on success, @@ -4514,7 +4514,7 @@ int wifi_direct_is_listening_only(bool *listen_only); * @brief Gets the primary device type of a local device. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[out] type The primary device type * @return @c 0 on success, * otherwise a negative error value @@ -4593,7 +4593,7 @@ int wifi_direct_get_primary_device_type(wifi_direct_primary_device_type_e *type) * @brief Gets the secondary device type of a local device. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[out] type The secondary device type * @return @c 0 on success, * otherwise a negative error value @@ -4672,7 +4672,7 @@ int wifi_direct_get_secondary_device_type(wifi_direct_secondary_device_type_e* t * @brief Sets the WPS config PBC as preferred method for connection. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @return @c 0 on success, * otherwise a negative error value * @retval #WIFI_DIRECT_ERROR_NONE Successful @@ -4732,7 +4732,7 @@ int wifi_direct_activate_pushbutton(void); * @brief Sets or updates the WPS PIN number user expects. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] pin New pin to set. Application must set the new pin number before * @return @c 0 on success, * otherwise a negative error value @@ -4824,7 +4824,7 @@ int wifi_direct_activate_pushbutton(void); * // Handle WPS PIN Display case here * } * - * if (wps_mode == WIFI_DIRECT_WPS_PIN_KEYPAD) { + * if (wps_mode == WIFI_DIRECT_WPS_TYPE_PIN_KEYPAD) { * printf("Connection type WPS PIN KEYPAD\n"); * * // Set 8 digit WPS PIN here @@ -4859,7 +4859,7 @@ int wifi_direct_activate_pushbutton(void); * printf("peer device disconnection response MAC %s\n", mac_address); * break; * - * case WIFI_DIRECT_CONNECTION_DISASSOCIATION_IND: + * case WIFI_DIRECT_DISASSOCIATION_IND: * if (error_code == WIFI_DIRECT_ERROR_NONE) * printf("peer device disassociation MAC %s\n", mac_address); * break; @@ -4901,7 +4901,7 @@ int wifi_direct_set_wps_pin(char *pin); * @brief Gets the WPS PIN number. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @remarks @a pin must be released with free(). * @param[out] pin Pointer to store pin number. Application must free this memory * @return @c 0 on success, @@ -4999,7 +4999,7 @@ int wifi_direct_set_wps_pin(char *pin); * * } * - * if (wps_mode == WIFI_DIRECT_WPS_PIN_KEYPAD) { + * if (wps_mode == WIFI_DIRECT_WPS_TYPE_PIN_KEYPAD) { * printf("Connection type WPS PIN KEYPAD\n"); * // Handle WPS PIN Keypad case here * } @@ -5026,7 +5026,7 @@ int wifi_direct_set_wps_pin(char *pin); * printf("peer device disconnection response MAC %s\n", mac_address); * break; * - * case WIFI_DIRECT_CONNECTION_DISASSOCIATION_IND: + * case WIFI_DIRECT_DISASSOCIATION_IND: * if (error_code == WIFI_DIRECT_ERROR_NONE) * printf("peer device disassociation MAC %s\n", mac_address); * break; @@ -5068,7 +5068,7 @@ int wifi_direct_get_wps_pin(char **pin); * @brief Gets all the supported WPS (Wi-Fi Protected Setup) types at local device. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[out] wps_mode Supported WPS mode for local device * @return @c 0 on success, * otherwise a negative error value @@ -5156,7 +5156,7 @@ typedef bool(*wifi_direct_supported_wps_type_cb)(wifi_direct_wps_type_e type, vo * @brief Gets the supported WPS (Wi-Fi Protected Setup) types. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] callback The callback function to invoke * @param[in] user_data The user data to be passed to the callback function * @return @c 0 on success, @@ -5236,7 +5236,7 @@ int wifi_direct_foreach_supported_wps_types(wifi_direct_supported_wps_type_cb ca * @brief Gets the WPS (Wi-Fi Protected Setup) type. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[out] type The type of WPS * @return @c 0 on success, * otherwise a negative error value @@ -5312,7 +5312,7 @@ int wifi_direct_get_local_wps_type(wifi_direct_wps_type_e *type); * @brief Sets the requested WPS (Wi-Fi Protected Setup) type. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] type The type of WPS * @return @c 0 on success, * otherwise a negative error value @@ -5396,7 +5396,7 @@ int wifi_direct_set_req_wps_type(wifi_direct_wps_type_e type); * @brief Gets the requested WPS (Wi-Fi Protected Setup) type. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[out] type The type of WPS * @return @c 0 on success, * otherwise a negative error value @@ -5472,7 +5472,7 @@ int wifi_direct_get_req_wps_type(wifi_direct_wps_type_e *type); * @brief Sets the intent of the group owner. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @remarks The range of intent is 0 - 15. The higher the @a intent is, * the higher the probability to be the group owner is. * @param[in] intent The intent of the group owner @@ -5539,7 +5539,7 @@ int wifi_direct_set_group_owner_intent(int intent); * @brief Sets the intent of the group owner for each connection type. * @since_tizen 5.0 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @remarks The range of intent is 0 - 15. The higher the @a intent is, the higher the probability to be the group owner is. * @param[in] type The type of connection for a peer device * @param[in] intent The intent of the group owner @@ -5563,7 +5563,7 @@ int wifi_direct_set_go_intent_per_type(int type, int intent); * @brief Gets the intent of the group owner. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[out] intent The intent of the group owner * @return @c 0 on success, * otherwise a negative error value @@ -5626,7 +5626,7 @@ int wifi_direct_get_group_owner_intent(int *intent); * @brief Gets the intent of the group owner for each connection type. * @since_tizen 5.0 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] type The type of connection for a peer device * @param[out] intent The intent of the group owner * @return 0 on success, otherwise a negative error value @@ -5649,7 +5649,7 @@ int wifi_direct_get_go_intent_per_type(int type, int *intent); * @brief Sets the max number of clients. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] max The max number of clients * @return @c 0 on success, * otherwise a negative error value @@ -5716,7 +5716,7 @@ int wifi_direct_set_max_clients(int max); * @brief Gets the max number of clients. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] max The max number of clients * @return @c 0 on success, * otherwise a negative error value @@ -5781,7 +5781,7 @@ int wifi_direct_get_max_clients(int *max); * When creating Wi-Fi Direct Group, this password will be used. * @since_tizen 2.4 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @remarks A peer can connect to this group as Wi-Fi Infrastructured mode with a passphrase. * @param[in] passphrase new wpa password to set. Application must set the new password before. * @return @c 0 on success, @@ -5849,7 +5849,7 @@ int wifi_direct_set_passphrase(const char *passphrase); * @brief Gets the Wi-Fi Protected Access (WPA) password when creating Wi-Fi Direct Group. * @since_tizen 2.4 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @remarks @a passphrase must be released with free(). * @param[out] passphrase Pointer to store wpa password. Application must free this memory * @return @c 0 on success, @@ -5915,7 +5915,7 @@ int wifi_direct_get_passphrase(char **passphrase); * @brief Gets the operating channel. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[out] channel The operating channel * @return @c 0 on success, * otherwise a negative error value @@ -5978,7 +5978,7 @@ int wifi_direct_get_operating_channel(int *channel); * @brief Sets the Autoconnection mode. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] mode Describes the mode of connection. In case of TRUE \n * auto-connection will be taken care by framework * @return @c 0 on success, @@ -6009,7 +6009,7 @@ int wifi_direct_get_operating_channel(int *channel); * if (auto_connect) * ret = wifi_direct_set_autoconnection_mode(true); * else - * ret = wifi_direct_set_sutoconnection_mode(false); + * ret = wifi_direct_set_autoconnection_mode(false); * * if (ret != WIFI_DIRECT_ERROR_NONE) { * printf("Failed to set autoconnection mode\n"); @@ -6044,7 +6044,7 @@ int wifi_direct_set_autoconnection_mode(bool mode); * @brief Gets the Autoconnection mode status. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[out] mode Describes the auto connection mode of framework has set. * @return @c 0 on success, * otherwise a negative error value @@ -6104,7 +6104,7 @@ int wifi_direct_is_autoconnection_mode(bool *mode); * @brief Allows a device to connect automatically. * @since_tizen 2.4 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] mac_address Device MAC address to allow autoconnection * @return @c 0 on success, * otherwise a negative error value @@ -6248,7 +6248,7 @@ int wifi_direct_set_autoconnection_peer(char *mac_address); * while creating a group and establishing a connection. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] enabled The status of persistent group: (@c true = enabled, @c false = disabled) * @return @c 0 on success, * otherwise a negative error value @@ -6275,7 +6275,7 @@ int wifi_direct_set_autoconnection_peer(char *mac_address); * { * int ret; * - * ret = wifi_direct_set_persistence_group_enabled(true); + * ret = wifi_direct_set_persistent_group_enabled(true); * * if (ret != WIFI_DIRECT_ERROR_NONE) { * printf("Failed to set persistence group enabled\n"); @@ -6310,7 +6310,7 @@ int wifi_direct_set_persistent_group_enabled(bool enabled); * @brief Checks whether the persistent group is enabled or disabled. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[out] enabled The status of the persistent group: (@c true = enabled, @c false = disabled) * @return @c 0 on success, * otherwise a negative error value @@ -6390,7 +6390,7 @@ typedef bool(*wifi_direct_persistent_group_cb)(const char *mac_address, const ch * @brief Gets the persistent groups. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] callback The callback function to invoke * @param[in] user_data The user data to be passed to the callback function * @return @c 0 on success, @@ -6467,7 +6467,7 @@ int wifi_direct_foreach_persistent_groups(wifi_direct_persistent_group_cb callba * @brief Removes a persistent group. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] mac_address The MAC address of the persistent group owner * @param[in] ssid The SSID (Service Set Identifier) of the persistent group owner * @return @c 0 on success, @@ -6541,7 +6541,7 @@ int wifi_direct_remove_persistent_group(char *mac_address, const char *ssid); * @brief Starts wifi direct service discovery. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] mac_address The MAC address of servicing device. A broadcast \n * will be sent when MAC is SET to ZERO * @param[in] service_type Describes the type of service @@ -6661,7 +6661,7 @@ int wifi_direct_start_service_discovery(char *mac_address, wifi_direct_service_t * @brief Cancels an ongoing wifi direct service discovery. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] mac_address The MAC address of servicing device. A broadcast \n * will be sent when MAC is SET to ZERO * @param[in] service_type Describes the type of service @@ -6728,7 +6728,7 @@ int wifi_direct_start_service_discovery(char *mac_address, wifi_direct_service_t * wifi_direct_activate(); // Activate Wi-Fi Direct * * wifi_direct_start_service_discovery(NULL, - * WIFI_DIRECT_SERVICE_TYPE); // start broadcast service discovery + * WIFI_DIRECT_SERVICE_TYPE_ALL); // start broadcast service discovery * * function(); * @@ -6750,7 +6750,7 @@ int wifi_direct_cancel_service_discovery(char *mac_address, wifi_direct_service_ * @brief Registers for a service using Wi-Fi Direct Service Discovery. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] service_type Describes the type of service. * @param[in] info1 Describes the information of service. It is service-specific * @param[in] info2 Describes the information of service. It is service-specific @@ -6890,7 +6890,7 @@ int wifi_direct_register_service(wifi_direct_service_type_e service_type, char * * @brief Deregisters for a service used for Wi-Fi Direct Service Discovery. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] service_id A Service ID for which service has to be deregistered * @return @c 0 on success, * otherwise a negative error value @@ -6955,7 +6955,7 @@ int wifi_direct_deregister_service(unsigned int service_id); * @brief Initializes OR Deintializes the WiFi Direct Display (MIRACAST) service. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] enable Enables/Disables Service based on the value TRUE/FALSE * @return @c 0 on success, * otherwise a negative error value @@ -7017,7 +7017,7 @@ int wifi_direct_init_miracast(bool enable); * @brief Gets the information of a discovered peer. * @since_tizen 2.3 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] mac_address The MAC address of peer to get * @param[out] peer_info The peer information to be passed * @return @c 0 on success, @@ -7088,7 +7088,7 @@ int wifi_direct_get_peer_info(char *mac_address, wifi_direct_discovered_peer_inf * only in assigned listen channel. * @since_tizen 2.4 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @return @c 0 on success, * otherwise a negative error value * @retval #WIFI_DIRECT_ERROR_NONE Successful @@ -7150,7 +7150,7 @@ int wifi_direct_init_display(void); * @brief Disables Wi-Fi Display functionality & disables the support of WFD Information Element (IE). * @since_tizen 2.4 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @return @c 0 on success, * otherwise a negative error value * @retval #WIFI_DIRECT_ERROR_NONE Successful @@ -7215,7 +7215,7 @@ int wifi_direct_deinit_display(void); * @brief Sets the Wi-Fi Display parameters for the WFD IE of local device. * @since_tizen 2.4 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] type WFD Device Type: define the Role of WFD device like source or sink * @param[in] port Specifies Session Management Control Port number. It should be 2 bytes (0~65535) * @param[in] hdcp CP support bit: (@c 1 = enable the hdcp support, @c 0 = disable the hdcp support) @@ -7282,7 +7282,7 @@ int wifi_direct_set_display(wifi_direct_display_type_e type, int port, int hdcp) * @brief Sets the Wi-Fi Display Session Availability. * @since_tizen 2.4 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] availability Wi-Fi Display Session Availability * @return @c 0 on success, * otherwise a negative error value @@ -7351,7 +7351,7 @@ int wifi_direct_set_display_availability(bool availability); * @brief Gets the Wi-Fi Display parameters for the WFD IE of local device. * @since_tizen 5.0 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[out] type WFD device type: role of WFD device like source or sink * @param[out] port Session management control port number, it will be of 2 bytes (0~65535) * @param[out] hdcp CP support bit: (@c 1 = hdcp support is enabled, @c 0 = hdcp support is disabled) @@ -7421,7 +7421,7 @@ int wifi_direct_get_display(wifi_direct_display_type_e *type, int *port, int *hd * @brief Gets the Wi-Fi Display Session Availability. * @since_tizen 5.0 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[out] availability Wi-Fi display session availability * @return @c 0 on success, * otherwise a negative error value @@ -7487,7 +7487,7 @@ int wifi_direct_get_display_availability(bool *availability); * @brief Gets the information of a peer's Wi-Fi Display device type. * @since_tizen 2.4 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] mac_address MAC Address of the PEER * @param[out] type The information of a peer's Wi-Fi Display device type * if there's Wi-Fi Direct information, this will be NULL @@ -7558,7 +7558,7 @@ int wifi_direct_get_peer_display_type(char *mac_address, wifi_direct_display_typ * @brief Gets the information of a peer's Wi-Fi Display session availability. * @since_tizen 2.4 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] mac_address MAC Address of the PEER * @param[out] availability The information of a peer's Wi-Fi Display session availability * if there's Wi-Fi Direct information, this will be NULL @@ -7629,7 +7629,7 @@ int wifi_direct_get_peer_display_availability(char *mac_address, bool *availabil * @brief Gets the information of a peer's Wi-Fi Display HDCP support. * @since_tizen 2.4 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] mac_address MAC Address of the PEER * @param[out] hdcp The information of a peer's Wi-Fi Display HDCP support * if there's Wi-Fi Direct information, this will be NULL @@ -7700,7 +7700,7 @@ int wifi_direct_get_peer_display_hdcp(char *mac_address, int *hdcp); * @brief Gets the information of a peer's Wi-Fi Display RTSP control port. * @since_tizen 2.4 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] mac_address MAC Address of the PEER * @param[out] port The information of a peer's Wi-Fi Display RTSP control port * if there's Wi-Fi Direct information, this will be NULL @@ -7771,7 +7771,7 @@ int wifi_direct_get_peer_display_port(char *mac_address, int *port); * @brief Gets the information of a peer's Wi-Fi Display max throughput. * @since_tizen 2.4 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] mac_address MAC Address of the PEER * @param[out] throughput The information of a peer's Wi-Fi Display max throughput (Mbps) * if there's Wi-Fi Direct information, this will be NULL @@ -7842,7 +7842,7 @@ int wifi_direct_get_peer_display_throughput(char *mac_address, int *throughput); * @brief Enables / Disables automatic group removal feature when all peers are disconnected. * @since_tizen 3.0 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] enable Enables/Disables Group Removal feature based on the value TRUE/FALSE * @return @c 0 on success, * otherwise a negative error value @@ -7907,7 +7907,7 @@ int wifi_direct_set_auto_group_removal(bool enable); * @brief Sets the timer which is used to expire the connection session. * @since_tizen 3.0 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] seconds Set the connection session timer value in seconds * @return @c 0 on success, * otherwise a negative error value @@ -7973,7 +7973,7 @@ int wifi_direct_set_session_timer(int seconds); * @brief Gets the timer which is used to expire the connection session. * @since_tizen 3.0 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[out] seconds Connection session timer value * @return @c 0 on success, * otherwise a negative error value @@ -8036,7 +8036,7 @@ int wifi_direct_get_session_timer(int *seconds); * @brief Gets the information of a peer's RSSI value. * @since_tizen 3.0 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] mac_address MAC Address of the peer device * @param[out] rssi RSSI value of the peer device * @return @c 0 on success, @@ -8105,7 +8105,7 @@ int wifi_direct_get_peer_rssi(char *mac_address, int *rssi); * @brief Adds the Wi-Fi Vendor Specific Information Element (VSIE) to specific frame type. * @since_tizen 4.0 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @remarks @a vsie_str for @a frame_id will be in effect until Wi-Fi Direct is deactivated. * @param[in] frame_id frame ID for setting VSIE * @param[in] vsie_str VSIE data @@ -8180,7 +8180,7 @@ int wifi_direct_add_vsie(wifi_direct_vsie_frames_e frame_id, const char *vsie_st * @brief Gets the Wi-Fi Vendor Specific Information Elements (VSIE) from specific frame. * @since_tizen 4.0 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @remarks @a vsie_str must be released with free(). * @param[in] frame_id frame ID for setting VSIE * @param[out] vsie_str VSIE data @@ -8253,7 +8253,7 @@ int wifi_direct_get_vsie(wifi_direct_vsie_frames_e frame_id, char **vsie_str); * @brief Removes the Wi-Fi Vendor Specific Information Element (VSIE) from specific frame. * @since_tizen 4.0 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @remarks @a vsie_str for @a frame_id will be in effect until Wi-Fi Direct is deactivated. * @param[in] frame_id frame ID for removing VSIE * @param[in] vsie_str VSIE data @@ -8329,7 +8329,7 @@ int wifi_direct_remove_vsie(wifi_direct_vsie_frames_e frame_id, const char *vsie * @brief Gets the information of peer devices which is in the connecting state. * @since_tizen 4.0 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @remarks @a peer_info must be released with free(). * @param[out] peer_info connecting peer device data * @return @c 0 on success, @@ -8398,7 +8398,7 @@ int wifi_direct_remove_vsie(wifi_direct_vsie_frames_e frame_id, const char *vsie * * break; * - * case WIFI_DIRECT_CONNECTON_RSP: + * case WIFI_DIRECT_CONNECTION_RSP: * printf("Connected\n"); * break; * @@ -8471,7 +8471,7 @@ int wifi_direct_get_connecting_peer_info(wifi_direct_discovered_peer_info_s **pe * @brief Gets the vendor specific information element (VSIE) of a peer. * @since_tizen 5.0 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @remarks @a vsie must be released with free(). * @param[in] mac_address MAC Address of the PEER * @param[out] vsie The vendor specific information element (VSIE) of peer @@ -8497,7 +8497,7 @@ int wifi_direct_get_peer_vsie(char *mac_address, char **vsie); * @brief Sets the advertizing WPS (Wi-Fi Protected Setup) type. * @since_tizen 5.0 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] type The type of WPS. composition of #wifi_direct_config_method_type_e * for example #WIFI_DIRECT_CONFIG_METHOD_PBC|#WIFI_DIRECT_CONFIG_METHOD_PIN_DISPLAY * Use #WIFI_DIRECT_CONFIG_METHOD_DEFAULT to reset to default value @@ -8520,7 +8520,7 @@ int wifi_direct_set_wps_config_method(int type); * @brief Gets the advertizing WPS (Wi-Fi Protected Setup) type. * @since_tizen 5.0 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[out] type The type of WPS. composition of #wifi_direct_config_method_type_e * @return 0 on success, otherwise a negative error value * @retval #WIFI_DIRECT_ERROR_NONE Successful @@ -8542,7 +8542,7 @@ int wifi_direct_get_wps_config_method(int *type); * @brief Removes a persistent device. * @since_tizen 5.0 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @param[in] mac_address The MAC address of the persistent group owner * @return 0 on success, otherwise a negative error value * @retval #WIFI_DIRECT_ERROR_NONE Successful @@ -8563,7 +8563,7 @@ int wifi_direct_remove_persistent_device(char *mac_address); * @brief Removes all persistent devices. * @since_tizen 5.0 * @privlevel public - * @privilege http://tizen.org/privilege/wifidirect + * @privilege %http://tizen.org/privilege/wifidirect * @return 0 on success, otherwise a negative error value * @retval #WIFI_DIRECT_ERROR_NONE Successful * @retval #WIFI_DIRECT_ERROR_OPERATION_FAILED Operation failed -- 2.7.4