Exemple #1
0
/* ================================================================== *
 * Function: tick
 * Description: Periodically call to serve HTTP connections
 * Parameters: none
 * ================================================================== */
void Server::tick() {
    char buff[256];
    int len = 256;

    /* process incoming connections one at a time forever */
    webserver.processConnection(buff, &len);
}
void ProcessGarageDoorWebserver()
{
  char achBuffer[64];
  int nBufferLength = sizeof(achBuffer);

  AccessControlServer.processConnection(achBuffer, &nBufferLength);
}
void loop()
{
    char buff[64];
    int len = 64;
    
    /* process incoming connections one at a time forever */
    webserver.processConnection(buff, &len);
}