Page 1 of 1

GET /update?api_key doesn't return anything

Posted: Sat Dec 21, 2019 6:09 am
by squalo
Hi,

i am using ESP8266 with STM32F4. I am trying to send data to thingspeak using

Code: Select all

GET /update?api_key
command. I have to see

Code: Select all

>
in my buffer before use

Code: Select all

GET /update?api_key
command. And i can see

Code: Select all

>
in my buffer. Then, i use these lines to send data:

Code: Select all

sprintf(gidecekdeger,"GET /update?api_key=A0AISRD6SB8SKH4J&field1=%d\r\n",10);

HAL_UART_Transmit(&huart2, (uint8_t *)gidecekdeger,strlen(gidecekdeger), 500);

but these lines returns nothing. (i put a breakpoint, so i am sure that code reaches here)

where is my mistake?

Re: GET /update?api_key doesn't return anything

Posted: Mon Dec 30, 2019 5:47 pm
by Her Mary

Re: GET /update?api_key doesn't return anything

Posted: Wed Feb 12, 2020 12:38 pm
by annawoods
thank you Her Mary for your help