Smart coffee machine with facial recognition and remote control
Dependencies: Camera_LS_Y201 EthernetInterface EthernetNetIf HTTPClient SRF05 TextLCD mbed-rtos mbed-src
Diff: ethernet.h
- Revision:
- 0:43669f623d43
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ethernet.h Wed Jan 15 11:09:52 2014 +0000 @@ -0,0 +1,19 @@ +#ifndef ETHERNET_H +#define ETHERNET_H + +#include "mbed.h" +#include "rtos.h" +#include "led.h" +#include "ecran_lcd.h" +#include "EthernetInterface.h" +#include "HTTPClient.h" + +bool preparationEthernet(); +bool connexionSocket(); +void deconnexionEthernet(); +void deconnexionSocket(); +bool envoyerRequete(char complement_url[200]); +bool envoyerRequete(char complement_url[200], char *reponse, int longueur_reponse); +void envoyerChaineSocket(char *chaine, int taille_chaine, char *reponse, int longueur_max_reponse); + +#endif \ No newline at end of file