espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.33k stars 7.2k forks source link

[TW#27335] GBK编码中文的ssid不能连接 #2682

Closed KingCheng1987 closed 5 years ago

KingCheng1987 commented 5 years ago

----------------------------- Delete below -----------------------------

If your issue is a general question, starts similar to "How do I..", or is related to 3rd party development kits/libs, please discuss this on our community forum at esp32.com instead.

INSTRUCTIONS

Before submitting a new issue, please follow the checklist and try to find the answer.

If the issue cannot be solved after the steps before, please follow these instructions so we can get the needed information to help you in a quick and effective fashion.

  1. Fill in all the fields under Environment marked with [ ] by picking the correct option for you in each case and deleting the others.
  2. Describe your problem.
  3. Include debug logs on the monitor or the coredump.
  4. Provide more items under Other items if possible can help us better locate your problem.
  5. Use markup (buttons above) and the Preview tab to check what the issue will look like.
  6. Delete these instructions from the above to the below marker lines before submitting this issue.

----------------------------- Delete above -----------------------------

Environment

Problem Description

//Detailed problem description goes here.

Expected Behavior

Actual Behavior

Steps to repropduce

  1. step1
  2. ...

// It helps if you attach a picture of your setup/wiring here.

Code to reproduce this issue

// the code should be wrapped in the ```cpp tag so that it will be displayed better.
#include "esp_log.h"

void app_main()
{

}

// If your code is longer than 30 lines, GIST is preferred.

Debug Logs

我们是支付宝宝盒项目,现在遇到路由器是中文编码ssid的时候,从scan回来的ssid直接传给wifi模块连接,无法连接成功,麻烦确认并更新解决方案

Debug log goes here, should contain the backtrace, as well as the reset source if it is a crash.
Please copy the plain text here for us to search the error log. Or attach the complete logs but leave the main part here if the log is *too* long.

Other items if possible

liuzfesp commented 5 years ago

@KingCheng1987 could you let me know the detailed AP type? Then I can reproduce this issue myself.

KingCheng1987 commented 5 years ago

tenda 一些系列的路由器都可以设置ssid编码格式,例如下面这款,ssid设置为中文,格式设置为GBK即可 https://detail.tmall.com/item.htm?spm=a230r.1.14.20.20f728892logOW&id=543442584437&ns=1&abbucket=14&skuId=3280433857784

XinDeng11 commented 5 years ago

@KingCheng1987 We don't know how to set format to GBK in Tenda's router, could you give us a operation document?