Sending Gear 2 accelerometer data to phone or computer

1.2k views Asked by At

I'm able to see the accelerometer data on my gear 2 using what I've found here and now I'm trying to send that data to my phone or computer for real time analysis. this question discusses how to send the data with android wear but I can't find any documentation to send the data from a tizen OS.

2

There are 2 answers

1
Md. Armaan-Ul-Islam On

What you are looking for is Samsung Accessory SDK. Accessory SDK allows you to connect accessory devices to Android mobile devices. With Accessory SDK, you can connect bi-directionally from Tizen wearable to Android mobile and vice versa.

Please go through the Samples provided with the SDK download package. You can check out lots of samples with Tizen Data Provider App & Android Data Consumer apps and vise versa. You may also go through the programming guide and API references.

Accessory SDK

You may also find some idea from this post slightly similar to your query : How to integrate

In the Case of passing data to Computer you have to develop an application (on any platform you prefer) , Then use the Bluetooth communication protocol to communicate with the Gear.

1
RzR On

Are you talking about Gear2 or GearS2 ?

I can explain for both anyway.

For G2 use Samsung Accessory Protocol (SAP) and you need android as receiver then you can forward event to your system, there is maybe some other hackish solution but you need IP anyway because G2 is BT only.

See "developer resources" at:

https://wiki.tizen.org/wiki/Wearable

Watch this in action:

https://www.youtube.com/watch?v=UHGfl5VPGQc&t=8s&list=PLW_oRrdNdnFmbSu73bhbfohAJ7El82FN4&index=19

For GearS2 or GearS3. iotivity is what you need check:

http://www.slideshare.net/SamsungOSG/iotivity-on-tizen-how-to

Feel free to form wearable branches from:

https://github.com/tizenteam/iotivity-example

Note that GearS has wifi so you could use iotivity too ...

More info at:

https://wiki.iotivity.org/tizen