问题
I want to buy Samsung Gear S3 for development. I want to use raw data that Gear S3 has. I searched many sites, but I couldn't find how to get raw data from Gear S3 in Android using BLE. Any help please?
回答1:
The topic Seems vast. I haven't seen some example code to fetch data directly from hardware layer sensor of another device of another platform. I know You can transfer the data in application layer using common BLE protocol. In Tizen, you can chose your suitable platform Native (C/C++) or Web (js/HTML/CSS)
You can start from checking out the Tizen Native Sensor Guide, It discusses how to fetch sensor data from wearable device.
To get example on establishing Bluetooth LE connection with device, Tizen Native BLE guide would be helpful I guess. Android Bluetooth LE Guide covers sample for android part.
I passed sensor data from tizen wearable device to android, and that was using Samsung Accessory SDK. You can see the response here.
How to integrate Samsung Gear Steps in android Application?
Useful links I would consider:
Tizen Web Sensor guide
Tizen Web Human Activity Guide
Tizen Sensor API for wearable Native
Tizen Web Bluetooth API
来源:https://stackoverflow.com/questions/43606219/how-to-get-raw-dataheart-rate-etc-from-samsung-gear-s3-in-android