Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

197
Visualizações
stm32h743 webserver how download text file from browser

I have set up an STM32H743 nucleo webserver which works OK by presenting a small webpage on a browser (I am using LWIP+CubeIDE).

I can give the webserver simple commands via CGI (see below) and thereby print something to the serial port. Unfortunately, I cannot seem to find a way download a file from the browser to the webserver and onwards to the serial port of the STM32. I don't need to store this data, just pass it through to the port. I am not an expert as you can see, but could someone point me into the right direction as regards the simplest way to do this? I don't really want to add any more hardware.

const char * valueCGIhandler(int iIndex, int iNumParams, char *pcParam[], char *pcValue[])
{
 uint32_t i=0;

 if (iIndex == 0)
   {
    
     if( strstr((*pcParam),"SETPOINT"))
     {  
         Println(&huart3,*pcValue);
     }
        
     }

 return "/index.shtml";
} 
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda