![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
AP mode
Dependencies: NetworkSocketAPI WizFi310Interface mbed
Fork of WizFi310_TCP_Echo_Server_Example by
Diff: tts.h
- Revision:
- 2:8d119e9b8f5a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tts.h Mon Oct 02 20:48:08 2017 +0000 @@ -0,0 +1,12 @@ +#pragma once +#include "TCPServer.h" +#include "WizFi310Interface.h" +#include "VS1053.h" +#include "resource.h" + +void url_encode(char *dst, const char* src ); +uint16_t strToUint16(char* str, int size); +void strcpy(unsigned char *dst, unsigned char *src); +bool extractVoiceData(TCPSocket *socket, int &content_length); +void playTTS(VS1053 *player, TCPSocket *socket, char* buf); +void playTTS(TCPSocket *socket, char* buf); \ No newline at end of file