I have purchased a Genuino 101 that I want to use to read sensor data (gyroscope & range). This data should then be sent to the Microsoft HoloLens where it can be processed. I am able to take the data and send it through just fine, up to a point. The issue is that eventually the Genuino stops sending data (and also seems to have stopped its main loop), which typically happens after 1-3 minutes, but only if a device is reading (being notified of) the characteristic value changes. Ideally the delay should be around 16ms to keep up with the 60 Hz refresh rate of the HoloLens, but it seems the lower this delay is, the faster it stops working.
I am using the Heart Rate Monitor example as a base (https://www.arduino.cc/en/Tutorial/Genuino101CurieBLEHeartRateMonitor Arduino - Genuino101CurieBLEHeartRateMonitor), simply inserting my own data and reducing the delay (down from 200). Just to reiterate; the data is parsed and logged just fine, until I connect to it using a Bluetooth device - either HoloLens or Android device. It's only after I connect and read the values (for example with Android app nRF Connect) that eventually the data stream stops and the Genuino 101 has to be power cycled to restart its main loop. The data I send over are 12 bytes, and at the moment with a 33ms delay.
Any idea what I might be doing wrong?
- What is
Thanks for contacting us!
We were checking your case and we would like to let you know that in this case we recommend you to post this question in the Arduino 101 forum: https://forum.arduino.cc/index.php?board=103.0 https://forum.arduino.cc/index.php?board=103.0, because you are using the Genuino 101 and also an Arduino example, so they might be able the give you a more accurate answer because they are in charge of this support.