Connection settings for streaming at 50hz
I've implemented a simple application that connects to the board and starts the gyro and accelerometer. Both are setup to stream at 50hz. With the default ble settings the 50hz cannot be kept, so I tweaked the settings to have some values that seem to work.
While these settings work after connecting, I do get an unexpected connection lost as soon as i stop the sensors. So basically this is my flow:
2) Start accelerometer/gyroscope
3) Stop accelerometer/gyroscope
4) Get "java.lang.RuntimeException: onConnectionStateChanged reported non-zero status: 8"
I guess this is due to my settings, so what settings should I use to be able to reach the 50hz and not run into the "8" error?
This discussion has been closed.