GET /update?api_key doesn't return anything

squalo
Posts: 1
Joined: Sat Dec 21, 2019 6:04 am

GET /update?api_key doesn't return anything

Postby squalo » Sat Dec 21, 2019 6:09 am

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?

Her Mary
Posts: 415
Joined: Mon Oct 27, 2014 11:09 am

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

Postby Her Mary » Mon Dec 30, 2019 5:47 pm


Who is online

Users browsing this forum: No registered users and 1 guest