I am new to using forum please correct me for any mistake. i am using ENC28j60 with ESP32 ,. I want to send data as a client to a webhost . the problem i am facing is data is sent sometimes and not sent sometimes how do i detect where is problem
please help me i am using this setup first time
Shyam_Solanke:
I did that with ethernet client .read() response is coming a square shape
did anyone know what does that mean
read() reads 1 byte. read everything. until you close the connection, the received bytes are waiting to be read and flll the memory. and http responses are usually long.
you reuse the connection so there is nothing to clean the received data and you read them by one byte per request.
Note: I am the maintainer of the UIPEthernet library. For new projects with enc28j60 use my EthernetENC library.
Juraj:
read() reads 1 byte. read everything. until you close the connection, the received bytes are waiting to be read and flll the memory. and http responses are usually long.
you reuse the connection so there is nothing to clean the received data and you read them by one byte per request.
Note: I am the maintainer of the UIPEthernet library. For new projects with enc28j60 use my EthernetENC library.
thank you Mr Juraj for your quick responses
where can i get your library can you send me a link and also can i get a sample code