CuVoodoo STM32F1 firmware template
|
library to send data using ESP8266 WiFi SoC (API) More...
Go to the source code of this file.
Functions | |
void | radio_esp8266_setup (void) |
setup peripherals to communicate with radio More... | |
void | radio_esp8266_tcp_open (char *host, uint16_t port) |
establish TCP connection More... | |
void | radio_esp8266_send (uint8_t *data, uint8_t length) |
send data (requires established connection) More... | |
void | radio_esp8266_close (void) |
close established connection More... | |
Variables | |
volatile bool | radio_esp8266_activity |
a response has been returned by the radio | |
volatile bool | radio_esp8266_success |
the last command has succeeded | |
library to send data using ESP8266 WiFi SoC (API)
Definition in file radio_esp8266.h.
void radio_esp8266_close | ( | void | ) |
close established connection
Definition at line 142 of file radio_esp8266.c.
void radio_esp8266_send | ( | uint8_t * | data, |
uint8_t | length | ||
) |
send data (requires established connection)
[in] | data | data to send |
[in] | length | size of data to send |
Definition at line 126 of file radio_esp8266.c.
void radio_esp8266_setup | ( | void | ) |
setup peripherals to communicate with radio
Definition at line 72 of file radio_esp8266.c.
void radio_esp8266_tcp_open | ( | char * | host, |
uint16_t | port | ||
) |
establish TCP connection
[in] | host | host to connect to |
[in] | port | TCP port to connect to |
Definition at line 117 of file radio_esp8266.c.