Just starting to interact with sensortile through Linux, would be very appreciated if any body could do me a favor
and let me have the gatt table, uuid,etc..
Is there any one who could help? please
sensortile is a multi-sensor device, giving us many physical data such as acceleration, temprature, etc. you can find out more about sensortile on official website: http://www.st.com/en/evaluation-tools/steval-stlkt01v1.htmlthere is also an example application (android/ios) for recieving and monitoring sensortile data. the android SDK and example app source code are available on github:https://github.com/STMicroelectronics-CentralLabs/STBlueMS_Android
while trying to use sensortile to catch some physical data (on a platform that's not android) i found out there is no datasheet or GATT table for using sensortile BLE; however there is some standard rules. i will attach a sample python script (uses bluepy) in a few days so you will see the raw data...
so here is the GATT table:
ProximityGesture::Motion Intensity:handle: 0x000d, char properties: 0x12, char value handle: 0x000e, uuid: 00140000-0001-11e1-ac36-0002a5d5c51bFeatureAcceleration::FeatureGyroscope::FeatureMagnetometer:handle: 0x0010, char properties: 0x10, char value handle: 0x0011, uuid: 00e00000-0001-11e1-ac36-0002a5d5c51bFeatureAccelerationEvent:handle: 0x0013, char properties: 0x12, char value handle: 0x0014, uuid: 00000400-0001-11e1-ac36-0002a5d5c51bFeatureMicLevel:handle: 0x0016, char properties: 0x10, char value handle: 0x0017, uuid: 04000000-0001-11e1-ac36-0002a5d5c51bFeatureMemsSensorFusionCompact:handle: 0x0019, char properties: 0x10, char value handle: 0x001a, uuid: 00000100-0001-11e1-ac36-0002a5d5c51bFeatureCompass:handle: 0x001c, char properties: 0x10, char value handle: 0x001d, uuid: 00000040-0001-11e1-ac36-0002a5d5c51bFeatureActivity:handle: 0x001f, char properties: 0x12, char value handle: 0x0020, uuid: 00000010-0001-11e1-ac36-0002a5d5c51bFeatureCarryPosition:handle: 0x0022, char properties: 0x12, char value handle: 0x0023, uuid: 00000008-0001-11e1-ac36-0002a5d5c51bFeatureMemsGesture:handle: 0x0025, char properties: 0x12, char value handle: 0x0026, uuid: 00000002-0001-11e1-ac36-0002a5d5c51bFeatureAudioADPCM:handle: 0x0028, char properties: 0x10, char value handle: 0x0029, uuid: 08000000-0001-11e1-ac36-0002a5d5c51bFeatureAudioADPCMSync:handle: 0x002b, char properties: 0x10, char value handle: 0x002c, uuid: 40000000-0001-11e1-ac36-0002a5d5c51b
each characteristic contains 3 description. you must write value 0x0100 to first description of each char (this is an standard method). then sensortile will send you data continuously as notification. you could enable multiple notifications at the same time. notifications will arrive as characteristic value. so you can distinguish notifications.
note1:for two first chars, data has following patern:2byte<time stamp> 2byte<acc data x> 2byte<acc data y> ... 2byte<mag data pitch>there is some more info about data structure and uuid prefixes at SDK git page:https://github.com/STMicroelectronics-CentralLabs/BlueSTSDK_Android/tree/b490d4d382e6f8dddbf9ce6e02414a53d576cd58
note2: each char data has a time stamp at two first bytes, except stream data (audio)
I tried to read the Sensor fusion values continuously but the values are not changing in correspondence to the sensor's orientation.
I am sure that the sensor is functioning properly as it is working perfectly with BlueMS app.
Can you please share the Python script which u have been mentioning in the previous post.
Retrieving data ...