Skip to content

[Q] _poll(): rx timeout 4 #3

@judge2005

Description

@judge2005

Description

My application uses the SPP bluetooth classic profile, as well as running a web server using web sockets.
Occassionally I get these messages on the console:

[ 18343][D][AsyncTCP.cpp:1131] _poll(): rx timeout 4

With this platformio.ini file it doesn't matter, everything keeps working (which is an improvement over the me-no-dev
async stack, which would just become unresponsive to network traffic):

platform = espressif32 @ 6.9.0
board = esp32-pico-devkitm-2
framework = arduino
platform_packages = framework-arduinoespressif32 @ 3.20016.0

However I noticed you are going to be end-of-lifing this, so I tried using this config:

platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10/platform-espressif32.zip
board = esp32-pico-devkitm-2
framework = arduino

instead (i.e. ESP-IDF 5.3.2 and arduino-esp32 3.1.0), but this brings me back to the server becoming unresponsive. In fact mDNS also stops working, and I suspect sntp does too. SPP keeps working fine.

Link:
Well its a complicated application. It runs BT SPP, ASyncWebServer and web sockets so probably also needs a client to make it happen, so at this point if you have suggestions about how I might narrow down the issue, I don't mind getting my hands dirty.

Edit: The code for the entire application is here: https://github.com/judge2005/TimeFliesBridge/blob/main/src/main.cpp

Board
esp32-pico-devkitm-2

Stack trace

No stack trace, just an unresponsive network stack.

BTW, thanks for keeping this project going - at this point I wouldn't have anything that worked reliably if you hadn't.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: QuestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions