Skip to content

BLE not compatible with my device #1143

@biubiutao

Description

@biubiutao

My env: Arduino
My board ESP32-C3 (revision v0.4)

Dependency Graph
|-- NimBLE-Arduino @ 2.5.0
|-- Preferences @ 3.3.8

Sketch: The example of Client

ERROR Code: Client busy or timeout

I'm trying to connect my Bluetooth BMS using an ESP32. In versions prior to Arduino ESP32 v2.x everything is fine, I can easily connect to BMS.

But when I change to NimBLE-Arduino which is more efficient and lightweight (That’s exactly what everyone was looking for), I can't connect to Bluetooth anymore. From v1.4.0 to v2.5.0 none of them work.

As far as I know Espressif move to Nimble in v3.0.0 (maybe not), so in Arduino ESP32 v3.x exactly the same as NimBLE-Arduino. I CANNOT get connected at all.

I try to refuse ConnParamsUpdateRequest just like "bool onConnParamsUpdateRequest(BLEClient *pClient, const ble_gap_upd_params *params) { return false; }", but nothing go better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions