SSID escaped characters
SSID escaped characters
Postby Terminal » Fri Dec 02, 2016 4:53 pm
When setting the SSID config in station mode to connect to a users Access point. In the AT command set docs for AT+CWJAP it talks about escaping specific characters - the comma, backslash and the quote. When setting from the NONOS SDK using the wifi_station_set_config_current call this isn't mentioned in the docs. Looking at the Espressif AT code on github it looks as though the AT call passes it through without adding the escaping for those characters which suggests they are needed. Could someone confirm if the wifi_station_set_config_current (preferably in version 1) call needs the quote, comma and backslash escaped? Thanks
Re: SSID escaped characters
Postby ESP_Xutao » Wed Dec 07, 2016 1:02 pm
Hi:
Do you want to use a chip(A) as AP,another(B) as STA,STA connect AP to use AT command ? If you want,first you should set station for B.AT+CWMODE=1 or AT+CWMODE=3,then you use AT+CWJAP="SSID","PASSWD" to connect.About wifi_station_set_config_current(),you can refer our sample code.LinK:https://github.com/espressif/esp8266-rtos-sample-code/blob/master/03Wifi/Soft_AP_DEMO/soft_ap/soft_ap.c.
sorry,I don't you means "escaped characters".
Do you want to use a chip(A) as AP,another(B) as STA,STA connect AP to use AT command ? If you want,first you should set station for B.AT+CWMODE=1 or AT+CWMODE=3,then you use AT+CWJAP="SSID","PASSWD" to connect.About wifi_station_set_config_current(),you can refer our sample code.LinK:https://github.com/espressif/esp8266-rtos-sample-code/blob/master/03Wifi/Soft_AP_DEMO/soft_ap/soft_ap.c.
sorry,I don't you means "escaped characters".
Who is online
Users browsing this forum: No registered users and 57 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.