At the moment I'm using the following node library (https://github.com/IBM-Bluemix/iot-sensor-tag) to connect one Sensortag CC2650 (and later multiple) to a Raspberry Pi 3B. The environmental data from the sensor (like light, humidity, baro etc) I send out every 5 minutes (which is fine for now) but for the accel/gyro/magnetometer data I would like to capture the data when the Wake-On-Motion functionality is being triggered.
Do you have any idea on how to implement this? It feels like a question more people would have, but I can't find the answer while searching on the forum.
Thanks in advance for your response!