Smart coffee machine with facial recognition and remote control

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

ethernet.h

Committer:
projetmacintel
Date:
2014-01-15
Revision:
0:43669f623d43

File content as of revision 0:43669f623d43:

#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