SSID escaped characters

Terminal
Posts: 1
Joined: Fri Dec 02, 2016 4:46 pm

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

ESP_Xutao
Posts: 134
Joined: Tue Sep 27, 2016 5:42 pm

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".

Who is online

Users browsing this forum: No registered users and 57 guests