Skip to content

Button to reset AES-CCM counter after battery replacement #338

@AlanCui4080

Description

@AlanCui4080

Hi,
I'm using nRF to construct an encrypted BTHomev2 sensor.
When the device started, i generated an random counter initial value by internal RNG. That seems fine but when the battery ran out and user replaced it, the counter resetted to an other value, that will cause BTHomev2 integration refused to accept following advertisings. I must remove and completely restart HASS to solvethis problem.
Is there a way to reset internal counter tracking?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions