AP mode

Dependencies:   NetworkSocketAPI WizFi310Interface mbed

Fork of WizFi310_TCP_Echo_Server_Example by WIZnet

tts.h

Committer:
maru536
Date:
2017-10-03
Revision:
8:e26236864101
Parent:
2:8d119e9b8f5a

File content as of revision 8:e26236864101:

#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);