Code Monkey home page Code Monkey logo

Comments (3)

ustccw avatar ustccw commented on August 25, 2024

@BornaBiro Hello, you should use AT+SYSMSGFILTERCFG to set up system message filters and enable the filter by AT+SYSMSGFILTER=1. Here is a detailed example.

AT+SYSMSG usually used for Passthrough Mode, you can refer to the parameter explanation under the command for more details. In your case, AT works in Normal Transmission Mode.

from esp-at.

BornaBiro avatar BornaBiro commented on August 25, 2024

That was exactly what I used as a workaround in the meantime and it worked perfectly.

One this that I noticed with AT+SYSMSGFILTERCFG is, if there is head and tail regex sent as described here for passthrough mode for removing tail and header form the HTTPCGET on every received data, after sending AT+SYSMSGFILTERCFG with it's parameters and waiting for ">", I must send separate SPI transactions for head and tail data, otherwise ESP32 just hangs.

So, if I need to enable filter for the HTTPCGET to remove header and tail from every HTTP data I need to:

  1. Send AT+SYSMSGFILTERCFG=1,18,3\r\n
  2. Wait for response OK\r\n\r\n>
  3. Send ^+HTTPCGET:[0-9]*,
  4. Wait at least 5 milliseconds
  5. Send \r\n$

Is this is intended behavior? Because I did not see anywhere documented that head and tail data must be sent separately with some delay in between.

from esp-at.

ustccw avatar ustccw commented on August 25, 2024

@BornaBiro This is not the expected behavior. Could you mind providing your log port logs?
i would like to reproduce it next week, maybe.

from esp-at.

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.