I've a GSM module with me. And I'm also uing a GPS module with it . (Both with arduino)
I want to ask is there a way to estimate my location from my GSM mobile network. I don't want any precise location but only like in which state I'm or so.
I know it's not a programming related question but if anyone has any idea then it will be good.
From GSM you get the current GSM-cellID where you are currently booked in. then you have too look up that cellId in a DB which then delivers you the location.
The company SkyHook provides such a service, that e.g Apple's iphone uses.
A list of public cellID Data bases can be found here:
Public CellID Databases
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.
I need to deliver content with geolocation restrictions, so I need to know exactly what's the physical location of device.
Accordingly to Documentation there is two methods GetCurrentLocale() and
GetCountryCode(), however documentation relays on none of this methods can actually be used to get physical location..
GetCurrentLocale - Returns a string representing the current locale based on the user's language setting ...
GetCountryCode - This does not necessarily match the physical location of the device ...
So my question here is if it's safe to use any of these methods in order to apply geolocation restrictions?
No, you cannot know "exactly what's the physical location" of a Roku. It has no GPS, nor does it do location approximation based on WiFi SSIDs (that would be a privacy no-no).
The APIs you found return codes based on the player setup and are not reliable, since i can reset my player and change the country during new setup. What video services do instead is do geolocation by IP address, there are multiple external services that will help.
So i'm working on an iOS application that was going to use GPS location data to determine if a user was within a certain radius of a building and allow them to check-in.. I know setting up geo fences is fairly easy...
however
Is it possible to only allow users to checkin once a wireless signal for a particular Wifi network is detected instead? I would like to do this because we are in a building that doesn’t get GPS reception and only gets triangulation from the cell towers – this is going to lead to quite a wide radius...
Any thoughts?
You could solve your case with checking SSID of the Wifi the user is currently connected to.
if (SSID_of_currently_connected_wifi == SSID_value_for_building_wifi)
{
//user can check-in.
}
You can get SSID of currently connected Wifi with SystemConfiguration framework. See: https://stackoverflow.com/a/5198968/1677480.
You cannot get a list of available/detected Wifi network without private API's. See: https://stackoverflow.com/a/9684945/1677480.
If you will choose "GPS location" solution you can help yourself with my answer (based on distance between 2 GPS locations) here: https://stackoverflow.com/a/22036318/1677480.
In advance I am sorry for my English.
The task consists in defining, whether there is a person in a certain place (at certain office, for example), and to activate depending on it certain possibilities of the appendix.
At first I thought of definition of information on WiFi (or check of the same SSID, or automatic connection to the hidden network with set in the SSID appendix and the password), but, seemingly, not to make it without jailbreak (if somebody knows how - please, answer).
I think, GPS - not the best exit as it is possible to be out of the room, using it.
By the way, I already saw apps determining by WiFi of a point of access so it can be made somehow. I guess.
Actually, question. How it is better to define in the application, whether there is a device within, for example, premises of office?
Basically, if you know location coordinates you can safely use CoreLocation framework. Whether your target device supports region monitoring it will be perfect. It uses not only GPS, but WiFi and GSM as well
Look here: https://developer.apple.com/library/ios/documentation/CoreLocation/Reference/CLLocationManager_Class/CLLocationManager/CLLocationManager.html
If you really need to get network name you can play with CNCopyCurrentNetworkInfo function of CaptiveNetwork framework.
See:
https://developer.apple.com/library/ios/documentation/SystemConfiguration/Reference/CaptiveNetworkRef/Reference/reference.html
I've been googling this problem, but haven't gotten the wording right.
Basically I'm looking for an API, or some seeds of guidance in how I would go about writing a program where you get push notified if someone is in the same area as you based on GPS coordinates. In short: a realtime 4square not based on checking-in but based on GPS.
Part of me feels like this is something Apple may frown upon, but if the user is notified and making the decision to run the app, perhaps not.
Thanks in advance.
You're looking for the Bluetooth Bonjour type notifications found in GameKit. This has nothing to do with GPS and is instead based of short range radio (Bluetooth) which advertises itself using a zero conf protocol. The APIs basically give you the ability to broadcast your service (eg. "MyGame") over bluetooth and listen for others potentially broadcasting the same service.
If you're talking about geographic vicinity, you'll need to set up a central server where each device can register its location, and which will provide locations of nearby devices. A service like FourSquare does exactly this kind of thing.
Another way to look at 'vicinity' is network vicinity. You could have each device advertise itself via Bonjour and look for other devices doing the same.