mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-17 16:36:03 +08:00
初始版本
This commit is contained in:
23
firmware/stm32-esp/user/show/esp8266_uart2.h
Normal file
23
firmware/stm32-esp/user/show/esp8266_uart2.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef _ESP8266_UART2_H_
|
||||
#define _ESP8266_UART2_H_
|
||||
|
||||
#include "stm32f10x.h"
|
||||
|
||||
#include "bsp_uart2.h"
|
||||
|
||||
#include "stdio.h"
|
||||
#include "string.h"
|
||||
#include "stdarg.h"
|
||||
|
||||
//#define TCP_Mode 1
|
||||
#define UDP_Mode 1
|
||||
|
||||
uint8_t ESP8266_SendStr(char* fmt,...);
|
||||
uint8_t ESP8266_SendData(uint8_t *tbuf, uint16_t len);
|
||||
uint8_t ESP8266_APInit(char *name, char *password);
|
||||
uint8_t ESP8266_STAInit(void);
|
||||
uint8_t ESP8266_STAConnect(char *name, char *password);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user