Code Monkey home page Code Monkey logo

Comments (2)

ustccw avatar ustccw commented on August 25, 2024

@Luxin812 PTAL

from esp-at.

Luxin812 avatar Luxin812 commented on August 25, 2024

Answers checklist.

  • I have read the documentation ESP-AT Programming Guide and the issue is not addressed there.
  • I have used the latest released firmware or have updated my ESP-AT branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

After first BLE connection failure with broken pipe it cannot connect to anything without a reboot.

So it's getting stuck.

AT+BLEINIT=1

# ensure not connected
AT+BLEDISCONN=0
ERROR

# connection fails 
AT+BLECONN=0,"73:f7:7c:18:70:b1",1,5
+BLESCANDONE
+BLECONN:0,-1
ERROR

# ensure not connected
AT+BLEDISCONN=0
ERROR

# connect to any other
AT+BLECONN=0,"5f:29:72:aa:82:c4",1,5
+BLESCANDONE
+BLECONN:0,-1
ERROR

# same error to any other addresses without reboot

It doesn't even seem to wait for timeout period, fails instantly.

Reboot solves the issue. AT+BLEINIT=0 seems to simply reboot the system, which is slow.

AT+BLEINIT=0
ready

version

AT+GMR
AT+GMR
AT version:3.2.0.0(s-ec2dec2 - ESP32 - Jul 28 2023 07:05:28)
SDK version:v5.0.2-376-g24b9d38a24-dirty
compile time(6118fc22):Jul 28 2023 10:14:50
Bin version:v3.2.0.0(PICO-D4)

This issue has been fixed. Can you test it using release v3.4.0.0 or the latest firmware on the master branch to test it.

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.