Search found 42 matches

by Stational
Fri Jul 08, 2016 10:05 pm
Forum: ESP8266 SDK
Topic: 【Feedback】ESP8266 doesn't connect to WiFi?
Replies: 15
Views: 6912

Re: 【Feedback】ESP8266 doesn't connect to WiFi?

Router is set to 2.4GHz (otherwise my wlan-stick wouldn't recognize my WLAN). The scan acutally finds the SSID, lol :o scandone (3,"<the ssid name i am looking for>",-78,"d4:21:22:8d:27:23",1) reconnect If i use my wifi-connection code, i still get this: scandone no <ssid_name> f...
by Stational
Thu Jul 07, 2016 4:37 pm
Forum: ESP8266 SDK
Topic: 【Feedback】ESP8266 doesn't connect to WiFi?
Replies: 15
Views: 6912

Re: 【Feedback】ESP8266 doesn't connect to WiFi?

Okay, i changed the SSID to '12345678' but nothing has changed. I also made two constants for SSID and password. I went directly in front of the router and still the same messages. I made a test with the hotspot of my smartphone and it worked perfectly over 8 hours (untill i disconnected it)! I don'...
by Stational
Wed Jul 06, 2016 9:51 pm
Forum: ESP8266 SDK
Topic: 【Feedback】ESP8266 doesn't connect to WiFi?
Replies: 15
Views: 6912

Re: 【Feedback】ESP8266 doesn't connect to WiFi?

Thanks a lot for your reply,

now i directly went infront of my wlan router and i still get this messages:

no <ssid_name> found, reconnect after 1s
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 0 (19)
f r0,
by Stational
Wed Jul 06, 2016 2:35 pm
Forum: ESP8266 SDK
Topic: 【Feedback】ESP8266 doesn't connect to WiFi?
Replies: 15
Views: 6912

【Feedback】ESP8266 doesn't connect to WiFi?

Hello forum, i have the strange problem, that my ESP8266 module doesn't connect to my home wifi, even if it is placed 1 meter around the station it just doesn't work even though it connects flawlessly to a smartphone hotspot and to a TP-Link WiFi. It just tells me that the wifi can't be found. This ...
by Stational
Tue Jul 05, 2016 3:09 pm
Forum: ESP8266 SDK
Topic: [SOLVED] Problem with os_strcat and char-array
Replies: 3
Views: 1993

Re: Problem with os_strcat and char-array

Thanks a lot for your answer,

I found out, that this works also very well:

Code: Select all

os_sprintf(requestText, "GET /mySQLFunction.php?action=insert&value=%d / HTTP/1.1\r\nUser-Agent: curl/7.37.0\r\nHost: %s\r\nAccept: */*\r\n\r\n",adcRead,NET_DOMAIN);
by Stational
Mon Jul 04, 2016 7:35 pm
Forum: ESP8266 SDK
Topic: [SOLVED] Problem with os_strcat and char-array
Replies: 3
Views: 1993

[SOLVED] Problem with os_strcat and char-array

Hello, this is my attempt to create a HTTP Get request header: char requestText[120]; strcat(requestText, "GET /myPHP.php?action=insert&value="); strcat(requestText, adcValue); strcat(requestText, "/ HTTP/1.1\r\nUser-Agent: curl/7.37.0\r\nHost: "); strcat(requestText, NET_DOM...
by Stational
Mon Jul 04, 2016 6:36 pm
Forum: ESP8266 SDK
Topic: [SOLVED] HTTP GET Request - How?
Replies: 2
Views: 3639

Re: [SOLVED] HTTP GET Request - How?

Could you at least explain to me, where or how i have to define my request (such as: "http://www.mywebsite.org/myPHPFunction.php?myValue=5")? Currently this is my definition: #define pheadbuffer "GET / HTTP/1.1\r\nUser-Agent: curl/7.37.0\r\nHost: %s\r\nAccept: */*\r\n\r\n" #defin...
by Stational
Sun Jul 03, 2016 11:32 pm
Forum: ESP8266 SDK
Topic: [SOLVED] How can i login to a WiFi network?
Replies: 5
Views: 4151

Re: How can i login to a WiFi network?

Thanks alot pratik,

i knew something was wrong with the include files ^^

Now i can finally connect to a wifi-network :)
by Stational
Sun Jul 03, 2016 11:27 pm
Forum: ESP8266 SDK
Topic: [SOLVED] HTTP GET Request - How?
Replies: 2
Views: 3639

[SOLVED] HTTP GET Request - How?

Hi,

i would like to know how i can send HTTP Get requests to a website. Sadly, the API Guide doesn't help :(

Could you give me a little code snippet about how this can be done? On the web i only found code for NodeMCU and for arduino but no SDK-specific code.

Help is very much appreciated :)
by Stational
Sun Jul 03, 2016 8:52 pm
Forum: ESP8266 SDK
Topic: [SOLVED] How can i login to a WiFi network?
Replies: 5
Views: 4151

Re: How can i login to a WiFi network?

#include <ets_sys.h> #include <osapi.h> #include <gpio.h> #include <os_type.h> #include "driver/uart.h" #include "driver/esp_sta.h" LOCAL os_timer_t hello_timer; extern int ets_uart_printf(const char *fmt, ...); void ICACHE_FLASH_ATTR user_set_station_config(void){ char ssid[32]...

Go to advanced search