Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App stuck due to 'SYNC missing' #45

Open
shmatul opened this issue Jul 4, 2021 · 0 comments
Open

App stuck due to 'SYNC missing' #45

shmatul opened this issue Jul 4, 2021 · 0 comments

Comments

@shmatul
Copy link

shmatul commented Jul 4, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant