-
Notifications
You must be signed in to change notification settings - Fork 53
Description
After reconnecting to a MetaWear device, the accelerometer/SensorFusion service does not resume streaming data. The connection is successful, but no sensor updates are received in the app.
Steps to Reproduce
Connect to a MetaWear device.
Start SensorFusion (e.g., correctedAcceleration().start() + sensorFusion.start()).
Confirm data is streaming.
Close or disconnect the app/device.
Reconnect to the same device.
Attempt to start SensorFusion again.
Expected Behavior
After reconnecting, SensorFusion should resume streaming motion/acceleration data as it does on the first connection.
Actual Behavior
Device reconnects successfully, but no data is streamed. The correctedAcceleration and other producers never emit values after reconnect.
Environment
SDK version: 3.4.0
React Native version: 0.78
Device: (e.g., Android 13, Pixel 6)
Notes
It seems like the SensorFusion service or data routes remain stuck after the first disconnect. Manual cleanup (removing routes / stopping modules) is not clearly documented in the SDK.