feat: implement OneNet communication and ESP8266 integration
break: switch to c8t6
This commit is contained in:
18
Core/Inc/esp8266.h
Normal file
18
Core/Inc/esp8266.h
Normal file
@ -0,0 +1,18 @@
|
||||
#ifndef _ESP8266_H_
|
||||
#define _ESP8266_H_
|
||||
|
||||
|
||||
#define REV_OK 0 //接收完成标志
|
||||
#define REV_WAIT 1 //接收未完成标志
|
||||
|
||||
|
||||
void ESP8266_Init(void);
|
||||
|
||||
void ESP8266_Clear(void);
|
||||
|
||||
void ESP8266_SendData(unsigned char* data, unsigned short len);
|
||||
|
||||
unsigned char* ESP8266_GetIPD(unsigned short timeOut);
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user