// #ifndef __ESP8266_CORE_H // #define __ESP8266_CORE_H // #ifdef __cplusplus // extern "C" { // #endif // #ifdef __ESP8266_CORE_H_GLOBAL // #define __ESP8266_CORE_H_EXTERN // #else // #define __ESP8266_CORE_H_EXTERN extern // #endif // /************************************************************************************************ // * Version * // ************************************************************************************************/ // /************************************************************************************************ // * How to use * // ************************************************************************************************/ // /************************************************************************************************ // * Enable config * // ************************************************************************************************/ // /************************************************************************************************ // * Includes * // ************************************************************************************************/ // #include // /************************************************************************************************ // * Defines * // ************************************************************************************************/ // /************************************************************************************************ // * Typedefs * // ************************************************************************************************/ // typedef enum // { // ESP8266_INIT_CMD_START = 0, // ESP8266_INIT_CMD_MODE, // ESP8266_INIT_CMD_JOIN, // ESP8266_INIT_CMD_MUX, // ESP8266_INIT_CMD_SERVER, // ESP8266_INIT_CMD_SEND // } ESP8266_INIT_CMD; // typedef struct // { // uint8_t is_used; // 0 未使用,1,使用 // uint8_t *cmd; // uint8_t *ack; // uint32_t tick; // uint16_t wait_time; // int32_t (*p_func)(uint8_t *cmd, uint8_t *ack, uint16_t wait_time) // } esp8266_cmd_cache; // /************************************************************************************************ // * Interfaces * // ************************************************************************************************/ // #ifdef __cplusplus // }; // #endif // #endif // __ESP8266_CORE_H