Skip to content

App stuck due to 'SYNC missing' #45

Description

@shmatul

Hello

After an app using the ant plus module is running for a few days (detecting heart rate sensors) -
the app occasionally get stuck and the following error is thrown - 'SYNC missing'.

I found that error in the 'ant.ts' file:

if (data.readUInt8(0) !== 0xA4) { throw 'SYNC missing'; }

My app is running on Raspberry Pi 4.

The only solution is to restart the hardware. Restarting the nodejs instance won't help.

I'd like to know what's the reason the module gets stuck and what can I do in order to solve it.

Thank you

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