diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-10-27 15:37:35 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-10-27 15:37:35 +0200 |
commit | 94e31069df88c3d5e50b4160705c2b7aa27e152b (patch) | |
tree | fac20382f2055fc47fdee182b0b12d3dc564a888 /stm32f091/esp8266.h | |
parent | 4dbb57fe63d3c59893d1a670fecdde7ea20c9a4a (diff) |
WIP server parser
Diffstat (limited to 'stm32f091/esp8266.h')
-rw-r--r-- | stm32f091/esp8266.h | 6 |
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); |