aboutsummaryrefslogtreecommitdiff
path: root/stm32f091/esp8266.h
diff options
context:
space:
mode:
Diffstat (limited to 'stm32f091/esp8266.h')
-rw-r--r--stm32f091/esp8266.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/stm32f091/esp8266.h b/stm32f091/esp8266.h
index 0832e95..64910fd 100644
--- a/stm32f091/esp8266.h
+++ b/stm32f091/esp8266.h
@@ -3,6 +3,7 @@
#include <stm32f0xx_hal.h>
#include <stdlib.h>
#include <stdint.h>
+#include <stdbool.h>
#include "consts.h"
@@ -21,12 +22,11 @@ void USART1_IRQHandler(void);
/** @brief receive chunk complete */
void HAL_UART_RxCpltCallback(UART_HandleTypeDef* huart);
-/** @brief send response to incoming request on specific channel */
-void ws_esp8266_res_send(unsigned int channel, uint8_t* data, size_t size);
-
/** @brief send data to esp over uart with dma */
void ws_esp8266_send(uint8_t* data, size_t size);
+void ws_esp8266_start_receive();
+
// TODO: remove/update/document/refactor these functions
void ws_esp8266_ATsendCommand(uint8_t* data);
int ws_esp8266_checkOK(uint8_t *receiveData,int length);