Is there a way to do Reaction as described in Android SDK in C++/Python SDK?
I'm looking to have a device connect over BLE to my laptop, be setup to start logging accelerometer data, disconnect from BLE, and continue logging data. Anytime someone pushes the button, it should log that a button was pushed. After some time, the device reconnects over BLE to my laptop, downloads the data, and stops logging.
Is this possible with C++/Python SDK? It seems the Reaction commands is what I'm looking for, but I can't find anything similar in the C++ docs.
This discussion has been closed.
Comments
I'm not sure how a reaction fits in your use case. It sounds like you can accomplish what you need with the logging module:
https://mbientlab.com/cppdocs/0/mblmwdatasignal.html#logging
https://mbientlab.com/cppdocs/0/mblmwlogger.html
HI Tabchas,
I would recommend the WIndows MetaBase App for this.
If you want to code, I would also recommend the MetaHub. It already has JS and Python code built in for you that you can customize for the exact application you described above.