*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_unset_discovery_state_changed_cb(); // Deregister callback
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_unset_discovery_state_changed_cb(); // Deregister callback
* wifi_direct_activate(); // Activate Wi-Fi Direct
* wifi_direct_start_discovery(TRUE, 15); // Start discovery
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_unset_connection_state_changed_cb(); // Deregister callback 2
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_unset_connection_state_changed_cb(); // Deregister callback
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_unset_connection_state_changed_cb(); // Deregister callback
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_unset_connection_state_changed_cb(); // Deregister callback_1
int wifi_direct_create_group_with_ssid(const char *ssid);
/**
- * @brief Destorys the Wi-Fi Direct Group, asynchronously.
+ * @brief Destroys the Wi-Fi Direct Group, asynchronously.
* @details This function destroys the Wi-Fi Direct Group owned by a local device.
* If creating a Group is in progress, this function cancels that creating.
* @since_tizen 2.3
* {
* int res;
*
- * res = wifi_direct_destroy_group() // destroy autotonomous group
+ * res = wifi_direct_destroy_group() // destroy autonomous group
*
* if (res != WIFI_DIRECT_ERROR_NONE) {
* printf("Failed to destroy group\n");
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_unset_connection_state_changed_cb(); // Deregister callback_1
* int res;
* bool owner;
*
- * res = wifi_direct_is_group_owner(&owner); // destroy autotonomous group
+ * res = wifi_direct_is_group_owner(&owner); // destroy autonomous group
*
* if (res != WIFI_DIRECT_ERROR_NONE) {
* printf("Failed to get ownership role\n");
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_unset_connection_state_changed_cb(); // Deregister callback_1
* int res;
* bool owner;
*
- * res = wifi_direct_is_autonomous_group(&owner); // autotonomous group
+ * res = wifi_direct_is_autonomous_group(&owner); // autonomous group
*
* if (res != WIFI_DIRECT_ERROR_NONE) {
* printf("Failed to get ownership role\n");
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_unset_connection_state_changed_cb(); // Deregister callback_1
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_unset_discovery_state_changed_cb(); // Deregister callback
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_unset_discovery_state_changed_cb(); // Deregister callback
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_unset_connection_state_changed_cb(); // Deregister callback
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_unset_connection_state_changed_cb(); // Deregister callback
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_unset_discovery_state_changed_cb(); // Deregister callback
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_unset_discovery_state_changed_cb(); // Deregister callback
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
* ret = wifi_direct_set_req_wps_type(wps_type);
*
* if (ret != WIFI_DIRECT_ERROR_NONE) {
- * printf("Failed to set requeted wps types\n");
+ * printf("Failed to set requested wps types\n");
* return -1;
* }
*
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
* wifi_direct_activate(); // Activate Wi-Fi Direct
* wifi_direct_start_discovery(TRUE, 15); // Start discovery
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_unset_connection_state_changed_cb(); // Deregister callback 2
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
* ret = wifi_direct_foreach_persistent_groups(callback, NULL);
*
* if (ret != WIFI_DIRECT_ERROR_NONE) {
- * printf("Failed to set callback for persistatus of persistence group enabled\n");
+ * printf("Failed to set callback to get persistent groups\n");
* return -1;
* }
*
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_unset_service_state_changed_cb();
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_unset_service_state_changed_cb();
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_unset_service_state_changed_cb();
* int function(void)
* {
* int ret;
- * int intput;
+ * int input;
*
* printf("Enter the service id\n");
* scanf("%5d", &input);
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
* int function(void)
* {
* int ret;
- * bool avialability;
+ * bool availability;
* char *mac = NULL;
*
* printf("Input the peer mac\n");
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_deinitialize(); // Deinitialize Wi-Fi Direct
*
* // APP CODE HERE
*
- * // App must cleaup Wi-Fi Direct before exiting
+ * // App must clean up Wi-Fi Direct before exiting
*
* wifi_direct_deactivate(); // Deactivate Wi-Fi Direct
* wifi_direct_unset_discovery_state_changed_cb(); // Deregister callback