Code Monkey home page Code Monkey logo

Comments (4)

XuXiangJun avatar XuXiangJun commented on July 17, 2024

这个需要与 Device 端约定
App 会对数据用这个 Key 进行 AES-128 加密, 设备端需要使用此 Key 进行解密
如果 Device 端没有进行解密处理的话,EspAES 参数只能传 null, 要不然 Device 无法识别加密数据

from esptouchforandroid.

imangohome avatar imangohome commented on July 17, 2024

@XuXiangJun 就是说有两种方式,一是和设备约定,可以传随意字符串,设备端自己解密,二是传一个null,设备端不用解密是吗

from esptouchforandroid.

XuXiangJun avatar XuXiangJun commented on July 17, 2024

并不是随便传的, AES-128 的 Key 是长度为 16 的 byte[]
需要使用 AES 加密的话可能需要 Device 端的开发能力

from esptouchforandroid.

imangohome avatar imangohome commented on July 17, 2024

@XuXiangJun 想请问一下,怎么可以每次智能配网只配一个设备啊

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.