Skip to content

Timeout too short on startup without EN pin #5

@boraozgen

Description

@boraozgen

Hello,

I am using a ESP32-WROOM-32 module on my board without the EN pin connection. On startup, I receive "ready" from the module, but then the library sends "AT+RST" and waits too short before going into timeout. I looked into it and in the case where EN pin is not connected, the timeout is set to 100ms, which is obviously too short:

setTimeout(100);

Setting it to 500ms fixes the issue. I can open PR if you approve the change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions