D-Link DSL-G684T Manual do Utilizador Página 42

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 118
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 41
42
void Parse_Request(void)
{
int j = 0, k = 0;
String temp = "";
inc_data_all = "";
post = 0;
get = 0;
while(j < 4000)
{
if((SPI_Uart_ReadByte(LSR) & 0x01))
{
incoming_data = SPI_Uart_ReadByte(RHR);
Serial.print(incoming_data,BYTE);
if ((inc_data_all.indexOf("POST") != -
1)&&(k==0))
{
post = 1;
get = 0;
k = 1;
}
if ((inc_data_all.indexOf("GET") != -
1)&&(k==0))
{
post = 0;
get = 1;
k = 1;
}
if (inc_data_all.indexOf("%") != -1)
{
inc_data_all = "";
}
else
{
inc_data_all += incoming_data;
}
Vista de página 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 117 118

Comentários a estes Manuais

Sem comentários