send keys over WebSocket

This commit is contained in:
2025-07-20 17:38:02 -04:00
parent d25218898b
commit c7d70c669b
12 changed files with 1688 additions and 1127 deletions
+4
View File
@@ -2,6 +2,7 @@
#define SERVER_H_
#include "lwip/ip4_addr.h"
#include "lwip/pbuf.h"
#define STARTFILE 0x7fc6
#define ENDFILE 0x0464
@@ -26,10 +27,13 @@ const char * sendkeys_cgi(int iIndex, int iNumParams, char *pcParam[], char *pcV
const char * reboot_cgi(int iIndex, int iNumParams, char *pcParam[], char *pcValue[]);
uint16_t __time_critical_func(ssi_handler)(int iIndex, char *pcInsert, int iInsertLen);
void set_indicator(uint8_t const* buffer);
void send_indicators(void);
void urldecode(char *urlstring, char *dest);
bool net_config_load(net_config *wifi);
void net_config_write(net_config *wifi);
char *find_post_param(struct pbuf *p, const char *param, char *buf, size_t len);
const void ws_receive_handler(uint8_t *data, uint16_t len);
const void ws_open_handler(struct ws_state * wss);
#define FLASH_TARGET_OFFSET ((PICO_FLASH_SIZE_BYTES) - FLASH_SECTOR_SIZE)