* @return @c 0 on success,
* otherwise negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory
* @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission denied
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @see connection_profile_create()
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory
* @see connection_profile_destroy()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory
* @see connection_profile_get_name()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory
* @see connection_profile_get_id()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory
* @retval #CONNECTION_ERROR_ADDRESS_FAMILY_NOT_SUPPORTED Not supported address family
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory
* @retval #CONNECTION_ERROR_ADDRESS_FAMILY_NOT_SUPPORTED Not supported address family
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory
* @retval #CONNECTION_ERROR_ADDRESS_FAMILY_NOT_SUPPORTED Not supported address family
* @param[out] dhcp_server The DHCP Server address
* @return @c 0 on success, otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory
* @retval #CONNECTION_ERROR_ADDRESS_FAMILY_NOT_SUPPORTED Not supported address family
* @param[out] dhcp_lease_duration The DHCP lease duration in seconds
* @return @c 0 on success, otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_ADDRESS_FAMILY_NOT_SUPPORTED Not supported address family
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory
* @retval #CONNECTION_ERROR_ADDRESS_FAMILY_NOT_SUPPORTED Not supported address family
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory
* @retval #CONNECTION_ERROR_ADDRESS_FAMILY_NOT_SUPPORTED Not supported address family
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_ADDRESS_FAMILY_NOT_SUPPORTED Not supported address family
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_ADDRESS_FAMILY_NOT_SUPPORTED Not supported address family
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_ADDRESS_FAMILY_NOT_SUPPORTED Not supported address family
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_ADDRESS_FAMILY_NOT_SUPPORTED Not supported address family
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @see connection_update_profile()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_ADDRESS_FAMILY_NOT_SUPPORTED Not supported address family
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @post connection_opened_cb() is invoked when the state of profile is changed.
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @see connection_profile_state_changed_cb()
* @see connection_profile_set_state_changed_cb()
* @param[out] state The profile state
* @return 0 on success, otherwise negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @param[in] type The DNS config type
* @return 0 on success, otherwise negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @param[out] type The DNS config type
* @return 0 on success, otherwise negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* (also called a prefix, e.g. 8, 16, 24, 32)
* @return 0 on success, otherwise negative error value.
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* (also called a prefix, e.g. 8, 16, 24, 32)
* @return 0 on success, otherwise negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* otherwise @c false if a passphrase is not required
* @return @c 0 on success,
* otherwise a negative error value
- * @retval #CONNECTION_ERROR_NONE Successful
- * @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
+ * @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
+ * @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
*/
int connection_profile_is_wifi_passphrase_required(connection_profile_h profile,
bool *required);
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @see connection_update_profile()
* @return @c 0 on success,
* otherwise negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @return @c 0 on success,
* otherwise negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @return @c 0 on success,
* otherwise negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @see connection_update_profile()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @see connection_update_profile()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @see connection_update_profile()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @see connection_update_profile()
* @return @c 0 on success,
* otherwise negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @return @c 0 on success,
* otherwise negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
/**
* Not supported
*/
- CONNECTION_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED
+ CONNECTION_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED,
+
+ /**
+ * Already initialized (Since 5.0)
+ */
+ CONNECTION_ERROR_ALREADY_INITIALIZED = TIZEN_ERROR_CONNECTION|0x0409,
+
+ /**
+ * Not initialized (Sinece 5.0)
+ */
+ CONNECTION_ERROR_NOT_INITIALIZED = TIZEN_ERROR_CONNECTION|0x040A,
} connection_error_e;
/**
* @brief Creates a handle for managing data connections.
+ * @details If you do not use this function and use other functions,
+ * you will get the #CONNECTION_ERROR_NOT_INITIALIZED error.
+ * If you put an invalid handle, you will get the #CONNECTION_ERROR_INVALID_PARAMETER error.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/network.get
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_ALREADY_INITIALIZED Already initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory
* @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission denied
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @see connection_create()
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_ADDRESS_FAMILY_NOT_SUPPORTED Not supported address family
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_ADDRESS_FAMILY_NOT_SUPPORTED Not supported address family
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_INVALID_OPERATION Invalid operation
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission denied
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission denied
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission denied
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission denied
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission denied
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission denied
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission denied
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_ITERATOR_END End of iteration
*/
* @return @c true if next element exists,
* otherwise @c false if next element doesn't exist
* @exception #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @exception #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @see get_last_result()
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
*/
int connection_destroy_profile_iterator(connection_profile_iterator_h profile_iterator);
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission denied
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission denied
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission denied
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission denied
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission denied
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_ALREADY_EXISTS Already exists
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission denied
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_ALREADY_EXISTS Already exists
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission denied
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_ALREADY_EXISTS Already exists
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission denied
* @param[in] user_data The user data passed to the callback function
* @return 0 on success, otherwise negative error value.
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission denied
* @return @c 0 on success,
* otherwise a negative error value
* @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_NOT_INITIALIZED Not initialized
* @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
* @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission denied