P.C.
P.C.

Reputation: 649

How can I create an IPhone app that accesses magnetometer data and transmits it to my desktop

I want to use an app for the iphone that accesses the magnetometer data and transmits it over bluetooth to my desktop for real-time use.

Will I be able to do this using TechBasic? https://itunes.apple.com/in/app/techbasic/id470781862?mt=8

Upvotes: 1

Views: 817

Answers (1)

Satish Azad
Satish Azad

Reputation: 2312

A CMMotionManager object is the gateway to the motion services provided by iOS. These services provide an app with accelerometer data, rotation-rate data, magnetometer data, and other device-motion data such as attitude.

Try to use CMMotionManager Class in iOS to read magnetometer data. Check This LINK-CMMotionManager

and Use CoreBluetooh Framework to transmit this data. Here is AppleCode Sample

Hope this will helps u.

Upvotes: 2

Related Questions