Smart coffee machine with facial recognition and remote control

Dependencies:   Camera_LS_Y201 EthernetInterface EthernetNetIf HTTPClient SRF05 TextLCD mbed-rtos mbed-src

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ethernet.h Source File

ethernet.h

00001 #ifndef ETHERNET_H
00002 #define ETHERNET_H
00003 
00004 #include "mbed.h"
00005 #include "rtos.h"
00006 #include "led.h"
00007 #include "ecran_lcd.h"
00008 #include "EthernetInterface.h"
00009 #include "HTTPClient.h"
00010 
00011 bool preparationEthernet();
00012 bool connexionSocket();
00013 void deconnexionEthernet();
00014 void deconnexionSocket();
00015 bool envoyerRequete(char complement_url[200]);
00016 bool envoyerRequete(char complement_url[200], char *reponse, int longueur_reponse);
00017 void envoyerChaineSocket(char *chaine, int taille_chaine, char *reponse, int longueur_max_reponse);
00018 
00019 #endif