/**
* @brief Enumeration for Wi-Fi Direct discovery state.
* @since_tizen 2.3
- * @see wifi_direct_discovery_state_chagned_cb()
+ * @see wifi_direct_discovery_state_changed_cb()
* @see wifi_direct_peer_found_cb()
*/
typedef enum {
* @see wifi_direct_set_discovery_state_changed_cb()
* @see wifi_direct_unset_discovery_state_changed_cb()
*/
-typedef void (*wifi_direct_discovery_state_chagned_cb) (int error_code,
+typedef void (*wifi_direct_discovery_state_changed_cb) (int error_code,
wifi_direct_discovery_state_e discovery_state,
void *user_data);
* @pre Wi-Fi Direct service must be initialized by wifi_direct_initialize().
* @see wifi_direct_initialize()
* @see wifi_direct_unset_discovery_state_changed_cb()
- * @see wifi_direct_discovery_state_chagned_cb()
+ * @see wifi_direct_discovery_state_changed_cb()
*
*
* Here is an example of the usage:
* }
* @endcode
*/
-int wifi_direct_set_discovery_state_changed_cb(wifi_direct_discovery_state_chagned_cb cb, void* user_data);
+int wifi_direct_set_discovery_state_changed_cb(wifi_direct_discovery_state_changed_cb cb, void* user_data);
/**
* The function can be called even if there is another discovery in progress.
* All started processes will run simultaneously. Each process will receive
* #WIFI_DIRECT_DISCOVERY_FINISHED
- * event in wifi_direct_discovery_state_chagned_cb().
+ * event in wifi_direct_discovery_state_changed_cb().
* @param[in] listen_only The status of listen only: (@c true = listen only,
* @c false = cycling between Scan and Listen)
* @param[in] timeout Specifies the duration of discovery period, in seconds.
* @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().
- * @post wifi_direct_discovery_state_chagned_cb() will be invoked.
+ * @post wifi_direct_discovery_state_changed_cb() will be invoked.
* @see wifi_direct_activate()
* @see wifi_direct_cancel_discovery()
- * @see wifi_direct_discovery_state_chagned_cb()
+ * @see wifi_direct_discovery_state_changed_cb()
*
*
* Here is an example of the usage:
* The function can be called even if there is another discovery in progress.
* All started processes will run simultaneously. Each process will receive
* #WIFI_DIRECT_DISCOVERY_FINISHED
- * event in wifi_direct_discovery_state_chagned_cb().
+ * event in wifi_direct_discovery_state_changed_cb().
* @param[in] listen_only The status of listen only: (@c true = listen only,
* @c false = cycling between Scan and Listen)
* @param[in] timeout Specifies the duration of discovery period, in seconds.
* @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().
- * @post wifi_direct_discovery_state_chagned_cb() will be invoked.
+ * @post wifi_direct_discovery_state_changed_cb() will be invoked.
* @see wifi_direct_activate()
* @see wifi_direct_cancel_discovery()
- * @see wifi_direct_discovery_state_chagned_cb()
+ * @see wifi_direct_discovery_state_changed_cb()
*
*
* Here is an example of the usage:
* The function can be called even if there is another discovery in progress.
* All started processes will run simultaneously. Each process will receive
* #WIFI_DIRECT_DISCOVERY_FINISHED
- * event in wifi_direct_discovery_state_chagned_cb().
+ * event in wifi_direct_discovery_state_changed_cb().
* @param[in] listen_only Indicates mode in which the discovery service will work.
* If @c true, the service will only listen, otherwise
* it will cycle between scanning and listening
* @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().
- * @post wifi_direct_discovery_state_chagned_cb() will be invoked.
+ * @post wifi_direct_discovery_state_changed_cb() will be invoked.
* @see wifi_direct_activate()
* @see wifi_direct_cancel_discovery()
- * @see wifi_direct_discovery_state_chagned_cb()
+ * @see wifi_direct_discovery_state_changed_cb()
* @see wifi_direct_discovered_peer_cb()
*
*
* @retval #WIFI_DIRECT_ERROR_NOT_INITIALIZED Not initialized
* @retval #WIFI_DIRECT_ERROR_RESOURCE_BUSY Device or resource busy
* @pre Discovery must be started by wifi_direct_start_discovery().
- * @post wifi_direct_discovery_state_chagned_cb() will be invoked.
+ * @post wifi_direct_discovery_state_changed_cb() will be invoked.
* @see wifi_direct_start_discovery()
* @see wifi_direct_start_discovery_specific_channel()
* @see wifi_direct_start_discovery_specific_freq()
- * @see wifi_direct_discovery_state_chagned_cb()
+ * @see wifi_direct_discovery_state_changed_cb()
*
*
* Here is an example of the usage: