7 years, 1 month ago.

Issues establishing UDP connection

For programs where setting one of modes as Station with other as IP, am I supposed to set same IP address or not. I've got different outcomes for both with one coming up as error for setting up UDP transmission on Coolterm. And am I expected to use the same code layout below for both programs.

// pc.printf("\n---------- Establishing UDP Connection ----------\r\n");
    strcpy(snd, "AT+CIPSTART=4,\"UDP\",\"xxx.xxx.xxx.xxx\",LLLL,PPPP,0\r\n");
    SendCMD();
    timeout=5;
    //getreply();
    //wait(5);
    //pc.printf(buf);
    wait(2);
   

LLLL used 8080 with PPPP 1112. /media/uploads/sc00486/error1.png

/media/uploads/sc00486/error2.png

Be the first to answer this question.