mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-15 06:28:14 +08:00
修复代码错误
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
#include "system.h"
|
||||
#include "command_console/mico_cli.h"
|
||||
#include "json_c/json.h"
|
||||
#include "system_internal.h"
|
||||
|
||||
#ifndef MICO_PREBUILT_LIBS
|
||||
#include "mico_config.h"
|
||||
@@ -189,12 +188,6 @@ typedef enum{
|
||||
CONFIG_BY_USER, /**< Wlan configured by user defined functions. */
|
||||
} mico_config_source_t;
|
||||
|
||||
/** @brief Wlan connect err flag */
|
||||
typedef enum{
|
||||
EXIT_EASYLINK, /** Default value,exit easylink*/
|
||||
RESTART_EASYLINK, /** Restart easylink after connection err*/
|
||||
} mico_connect_fail_config_t;
|
||||
|
||||
/**
|
||||
* @brief Initialize MiCO system functions according to mico_config.h
|
||||
* @param in_context: The address of the core data.
|
||||
@@ -249,14 +242,6 @@ void mico_system_delegate_config_recv_ssid ( char *ssid, char *key );
|
||||
*/
|
||||
OSStatus mico_system_delegate_config_recv_auth_data( char * userInfo );
|
||||
|
||||
/**
|
||||
* @brief easylink timeout callback
|
||||
* @note This a delegate function, can be completed by developer.
|
||||
* @param context: system_context_t
|
||||
* @retval
|
||||
*/
|
||||
void mico_system_delegate_easylink_timeout( system_context_t *context );
|
||||
|
||||
/**
|
||||
* @brief Inform the application that Easylink configuration is success.
|
||||
* (MiCO has connect to wlan with the ssid and key)
|
||||
@@ -266,15 +251,6 @@ void mico_system_delegate_easylink_timeout( system_context_t *context );
|
||||
*/
|
||||
void mico_system_delegate_config_success( mico_config_source_t source );
|
||||
|
||||
/**
|
||||
* @brief Inform the application that Easylink configuration is success.
|
||||
* (MiCO has connect to wlan with the ssid and key)
|
||||
* @note This a delegate function, can be completed by developer.
|
||||
* @param source: The configuration mode used by EasyLink client,result : result of connect
|
||||
* @retval connect fail config
|
||||
*/
|
||||
mico_connect_fail_config_t mico_system_delegate_config_result( mico_config_source_t source, uint8_t result );
|
||||
|
||||
/**
|
||||
* @brief Start wlan configuration mode: Apple MFi WAC protocol
|
||||
* @param inContext: MiCO system core data, initialized by @ref mico_system_context_init
|
||||
@@ -288,7 +264,7 @@ OSStatus mico_easylink_wac( mico_Context_t * const inContext, mico_bool_t enable
|
||||
* @param enable: MICO_TRUE to start and MICO_FALSE to stop
|
||||
* @retval kNoErr is returned on success, otherwise, kXXXErr is returned.
|
||||
*/
|
||||
OSStatus mico_easylink( mico_Context_t * const in_context, mico_bool_t enable, mico_bool_t softap );
|
||||
OSStatus mico_easylink( mico_Context_t * const in_context, mico_bool_t enable );
|
||||
|
||||
/**
|
||||
* @brief Start wlan configuration mode: User mode, setup a routine that monitor wlan
|
||||
|
||||
Reference in New Issue
Block a user