Skip to content

BLE connection will not be closed #798

@michapr

Description

@michapr

I have noted a high battery usage of the MHO-C401 sensors and one LYWSD03MMC with original firmware.

Looking for the power usage I have seen that after connection to the deices the connection after received notification will not be closed.
So, in my case, the connection will be live for 1:06 minutes (!!) - until next scan, where a
BLEDevice::deinit(true);
will kill all connections.
During this time the sensor take about 3-4mA (peaks between 1.5 and 5,5mA) what will drain the battery of course.

For MMC is the alternate firmware a solution, but for MHO-C401 not.

Not sure how it can be solved, if connection to device cannot be closed after received notification - maybe make a
BLEDevice:deinit(true)
after a defined time (as sample max 10 seconds after request)?

Thanks
Michael

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions