IanHarvey / bluepy

Python interface to Bluetooth LE on Linux
Other
1.59k stars 491 forks source link

Extracting Int Values for motion sensor and Raw Data [Thingy52] #377

Open jaxx99 opened 4 years ago

jaxx99 commented 4 years ago

Hello, I am trying to extract the data in the int format(readable) from the hex values received in motion data in thingy52.py What is proper method to extract values from the hex-strings received for data such as rawdata and rotation matrix? I see there are methods to extract data from other sensors such as pressure and tap but I am unable to figure out correct way to use the values for motion data

Example: Notification: Raw data: b'f3ffbdff02fceaff0500f6ff000000000000'