Hello,
I’m newbie in the HTTP communications and i want to send the data received from the SPI bus to a server using a HTTP connection. I have studied the user guide and I have saw the examples.
The sample code is:
AT+WIPCFG=1 // Istart IP stack
AT+WIPBR=1,6 // I open GPRS bearer
AT+WIPBR=2,6,11,"APN name" //I set APN name GPRS bearer
AT+WIPBR=2,6,0,"USER NAME" //I set user name (login)
AT+WIPBR=2,6,1,"PASSWORD" // I set password
AT+WIPBR=4,6,0 //start GPRS bearer
AT+WIPCREATE=2,1,"102.221.xxx.254",80 //create theTCP client on port 80,idx=1
AT+WIPDATA=2,1,1 //exchange data on socket index 1
My question is: How can i put the data saved in the buffer in the socket 1 for send it CAn I use the WIP_write function??
Thank you