for a personal project I need to collect near GSM stations signal strength with the iPhone sensor. How can I access those data? Does Apple provide any framework like CMMotion for raw data coming accelerometer, gyroscope, etc.?
Thank you
I don't believe there is any officially supported API to allow you do this.
There are some techniques using private API's to do this - see this answer for an example: https://stackoverflow.com/a/40140991/334402
This approach may be ok for you if it is for a personal project.
Related
I've been researching a possible iOS-based app, developed in Unity, that would require a high-degree of positional accuracy (centimeters).
I expect I would need to connect, from the app, to an external GPS device using Bluetooth (or similar) and obtain NMEA sentences (or similar) containing location data.
My research has brought me to RTK, which is extremely accurate. From what I've seen already, it seems that normally GPS receivers which offer this operate themselves at normal GPS precision (2-2.5m). The correction to a high-accuracy location happens in software on a connected computer or tablet with a connection to an NTRIP server.
Assuming what I've said is correct, does anyone know of a GPS device that performs this RTK correction on the GPS device itself? Ideally I could just connect with Bluetooth or similar and get NMEA (or equivalent) data with high-accuracy location.
It may also be that I'm thinking about this incorrectly. On iOS, assuming there is an 3rd party app performing the RTK calculations, is there a standard way to obtain that high-accuracy location? Alternatively, are there GPS vendors that supply SDKs that would allow me to get to where I need to go?
Thanks very much,
Kieran
There is a recent module from U-Blox named ZED-F9P which has internal processing and is faster then RTKLib. Check this blog for performance
You can buy a board like ArduSimple's simpleRTK2B with an XBee module for WiFi/Blutooth or something similar from Sparkfun. You could also wait for the development board from U-Blox which is not yet available.
Hello All,
I am creating an iOS application which uses the accelerometer sensor. I am able to get the sensor data using CMMotionManager. I also want to get the sensor's hardware details like Sensor Name, Vendor, Type, Range, etc. I can get these values in Android, but I couldn't find a way to do it even after searching all over the internet. Is this possible to get those values in iOS?
I don't think you can get that information from iOS, mostly because there is only one vendor for iOS devices and that is Apple. On Android you can have many device providers and it makes sense to let you know more about that device tech specs, but not on iOS.
I sincerely hope I'm just missing something in the API, but is there a way to determine distance between 2 devices using Google Nearby Messages for iOS?
I understand that Nearby Messages uses a variety of mediums to determine if devices are in close proximity (wifi, BLE, sound) and whether they can connect, which may actually be why it doesn't offer a way to determine distance between devices, perhaps they simply can't do it reliably..
If anyone can offer insight as to how I might determine distance between devices using Google Nearby Messages API for iOS, or perhaps some other recommended way, I would be very grateful!
edit: I found the place in the Android API that includes distance as a property on messages. It might just be the case that the iOS API doesn't have distance yet, which is a bummer.
Precise distance isn't something the API on either iOS or Android supports at the moment. The most precision we provide is earshot (i.e. audio range) vs radio.
[Precise distance turns out to be quite a hard problem in general, and something we're often researching better solutions to...]
I am looking for a BLE that could send live sensor data from arduino to iOS custom apps, not the app that is already in the app store. I would like to create my own apps to receive the sensor data.
Or are there any other ways to achieve it?
Please help. Thank you.
You want to use Core Bluetooth. It's a fairly low-level API that lets you set up one device as a "central" and another device as a "peripheral". You can then transfer data back and forth. Do a search on "Core Bluetooth Overview" in the Xcode docs to get started.
As Computer_ACE suggested you should also check out the Arduino Stack Exchange, or you might want to go to the Arduio forums at https://www.arduino.cc.
EDIT
A quick google search on "iOS Arduino BLE example" found this link:
https://www.google.com/search?client=safari&rls=en&q=ios+arduino+BLE+example&ie=UTF-8&oe=UTF-8
I would like to take the raw infrared data from the heart rate sensor on the apple watch to do calculations. Is there a way for me to do this?
Read the Apple documentation here
You cannot access the heart rate sensor in the current SDK (watchOS1). Developers do have access to this sensor in watchOS2, currently in beta access for developers, which officially comes out to the public in November.