Add wifi_direct_get_peer_vsie() API 53/168653/2
authorJiung <jiung.yu@samsung.com>
Tue, 30 Jan 2018 05:24:46 +0000 (14:24 +0900)
committerJiung <jiung.yu@samsung.com>
Tue, 6 Feb 2018 06:34:24 +0000 (15:34 +0900)
Change-Id: I63ea17a7f8981bf9b1d03212eb7d0f8dc4937316
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
include/wifi-direct.h
packaging/capi-network-wifi-direct.spec

index 16b14a6..e19878b 100755 (executable)
@@ -8145,6 +8145,32 @@ int wifi_direct_remove_vsie(wifi_direct_vsie_frames_e frame_id, const char *vsie
 int wifi_direct_get_connecting_peer_info(wifi_direct_discovered_peer_info_s **peer_info);
 
 /**
+ * @brief Gets the vendor specific information element (VSIE) of a peer.
+ * @since_tizen 5.0
+ * @privlevel public
+ * @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
+ *                   if Wi-Fi Direct information is available, else it will be NULL.
+ * @return @c 0 on success,
+ *         otherwise a negative error value
+ * @retval #WIFI_DIRECT_ERROR_NONE                  Successful
+ * @retval #WIFI_DIRECT_ERROR_INVALID_PARAMETER     Invalid parameter
+ * @retval #WIFI_DIRECT_ERROR_OPERATION_FAILED      Operation failed
+ * @retval #WIFI_DIRECT_ERROR_COMMUNICATION_FAILED  Communication failed
+ * @retval #WIFI_DIRECT_ERROR_PERMISSION_DENIED     Permission denied
+ * @retval #WIFI_DIRECT_ERROR_NOT_PERMITTED         Operation not permitted
+ * @retval #WIFI_DIRECT_ERROR_NOT_SUPPORTED         Not supported
+ * @retval #WIFI_DIRECT_ERROR_NOT_INITIALIZED       Not initialized
+ * @retval #WIFI_DIRECT_ERROR_RESOURCE_BUSY         Device or resource busy
+ * @pre Wi-Fi Direct service must be activated by wifi_direct_activate().
+ * @see wifi_direct_activate()
+ * @see wifi_direct_foreach_discovered_peers()
+ */
+int wifi_direct_get_peer_vsie(char *mac_address, char **vsie);
+
+/**
  * @}
  */
 
index b070f9a..d67effc 100644 (file)
@@ -3,7 +3,7 @@
 
 Name:       capi-network-wifi-direct
 Summary:    Network WiFi-Direct Library
-Version:    1.2.88
+Version:    1.2.89
 Release:    1
 Group:      Network & Connectivity/API
 License:    Apache-2.0