esp32s2_fh4_test_board/main/app_main.h

48 lines
1.1 KiB
C

/**
* @file app_main.h
* @author impressionyang (impressionyang@outlook.com)
* @brief
* @version 0.1
* @date 2022-09-29
* _ _
* (_)_ _ ___ _______ ___ ___ (_)__ ___ __ _____ ____ ___ _
* / / ' \/ _ \/ __/ -_|_-<(_-</ / _ \/ _ \/ // / _ `/ _ \/ _ `/
* /_/_/_/_/ .__/_/ \__/___/___/_/\___/_//_/\_, /\_,_/_//_/\_, /
* /_/ /___/ /___/
* @copyright Copyright (c) 2022 impressionyang
*
* @par 修改日志:
* <table>
* <tr><th>Date <th>Version <th>Author <th>Description
* <tr><td>2022-09-29 <td>v1.0 <td>impressionyang <td>内容
* </table>
*/
#ifndef __APP_MAIN_H__
#define __APP_MAIN_H__
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _app_main_handle_
{
uint8_t have_network;
} app_main_handle_t;
/**
*
* @brief 获取网络连接状态
* @author impressionyang (impressionyang@outlook.com)
* @return uint8_t
*
* @details
*/
uint8_t app_main_handle_get_nework_state();
#ifdef __cplusplus
}
#endif
#endif//__APP_MAIN_H__