Code Monkey home page Code Monkey logo

Comments (4)

EspressifApp avatar EspressifApp commented on July 17, 2024

我测下来不行
关于EspTouch设备端的问题,可以去 idf 项目下提出: https://github.com/espressif/esp-idf/tree/master/examples/wifi/smart_config

from esptouchforandroid.

RuijinYao avatar RuijinYao commented on July 17, 2024

是这样的,现在我集成了你们的esptouch模块进我的app,然后客户使用app配网的时候,选择了一个开放网络,能正常获取到WiFi名跟 BSSID,但是现在我就很纠结,不知道开放网络需不需要输入密码?
最致命的是我app做了输入校验,必须要输入密码,
现在我这种问题该怎么解? 去掉输入校验,不输入密码?直接发送WiFi名跟BSSID?
byte[] password = ByteUtil.getBytesByString(pwd);

public static byte[] getBytesByString(String string) {
try {
return string.getBytes(ESPTOUCH_ENCODING_CHARSET);
} catch (UnsupportedEncodingException e) {
throw new IllegalArgumentException("the charset is invalid");
}
}
如果pwd为空,岂不是报空指针?
如果有时间可微信联系: y878117310

from esptouchforandroid.

EspressifApp avatar EspressifApp commented on July 17, 2024

应该允许用户不输入密码

from esptouchforandroid.

RuijinYao avatar RuijinYao commented on July 17, 2024

好了,开放网络情况下不用输入密码验证ok了

from esptouchforandroid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.