I have a bunch of computers in an area and I want to know positions of those computer. The place is wified so only thing through which they can be distinguished is by the IP address. Output would be coordinate of the computer given its IP address in context to the pre-defined origin.
So, this is kind of LPS (Local) as opposed to GPS.
I am seeing if Sun Spot can be used, but I have no idea how this can be accomplished.Any directions would be appreciated.
Thanks
Karan
You could use the access points (AP) BSSID (that is the MAC address) for tracking. If you don't have the data available, you can collect the data with Kismet. Then you can create a table that maps AP addresses to rooms.
If you have GPS reception in your rooms (for example if they have windows and are not in the inner of the building), you can also connect Kismet with gpsd to connect GPS coordinates with location. Yes, this is a 3D coordinate, if your GPS unit supports height data. Here is an example output:
<gps-point bssid="00:2F:F6:40:3C:C4" source="00:2F:6f:40:3C:C4"
time-sec="1314046060" time-usec="483219"
lat="23.144650" lon="78.417402" spd="0.000000" heading="179.680801"
fix="3" alt="541.559021"
signal_dbm="-26" noise_dbm="0"/>
For details on how to set up your GPS, see the documentation on Kismet homepage.
Related
i am using SIM7600G GSM module to get the location information without using GPS in it. Anyone know about how to find the location from GPRS SIM itself?!
If such information could have been obtained from a device it wouldn't be the SIM but the GSM hardware. What you can hope to get is the cell ID of the serving cell, typically using AT commands, but this is not always true for all devices.
Depending on your country, you can find the position (longitude, latitude) of the site bearing that cell (there exist some databases). Depending on site location, urban zone or rural zone, you can approximate the position of the device within the coverage area of the cell from some hundreds meters (urban) to few tens of kilometers (rural zone where the network is usually much less dense), the theoretical maximum being 35Km...
The only way to have a precise position is by using the GPS
I have a Chinese GPS TK206
He sends me to IP data which I can not decipher:
(087071820702BP05352887071820702130501J0d03 | 9542 | 26006 | 000000000001050000000010000000L00000000)
I know that the first part is the device's IMEI 087071820702
does anyone know how to read with the GPS coordinates?
I found a solution.
Given by me in the first post structure of the data is the only in cases when GPS is not found or does not change locations. When GPS is moving sends the correct structure with location
This is the TK103 protocol. More details can be found here: https://www.traccar.org/protocols/
Actually i build the travel app which helps to track the user location but if there is no internet how can i store the location ?is there any trick to findout the location with GSM ?
Yes It is very much possible but gets useless to you.
You can get the approximate (lati & longi) position(if operator allows, I dont think they do) but what would you do because It wouldn't be possible to communicate back to traveler/user. At most you can do is send user SMS.
Mobile network is consisting of up of a number of adjacent radio cells, each of which is characterized by an identifier made up of four data items:
Cell ID
LAC, or Local Area Code
MCC, an acronym for Mobile Country Code
MNC, or Mobile Network Code, which obviously identifies the phone company itself
For this reason, once a cell name and coordinates(latitude and longitude) are known, and considering the maximum distance allowed between this cell and a phone before the phone connects to a new cell, it is possible to find out, approximately, the most distant position of the phone itself.
Its not possible to use GSM.GSM service providers can get the location details but they don't share those data to public.
I am building an app which requires a user to be uniquely identified on the server without him logging in.
I have already evaluated the App Specific Hardware ID but that seems to be dependent on the hardware config of the machine and if the user even changes a network device, it will change.
Can the EasClientDeviceInformation class along with the Id property be used for this purpose?
Thanks,
Rajeev
From the MSDN article on the EasClientDeviceInformation.Id, the Id is a:
GUID truncated from the first 16 bytes of the SHA256 hash of the MachineID, User SID, and Package Family Name where the MachineID uses the SID of the local users group.
This means that the Id should be unique for each user account and machine combination. However, I imagine a cloned OS will have the same EasClientDeviceInformation.Id. If this is not a concern for your app, then it should be enough to use by itself.
The ASHWID, if you only use the components that shouldn't change, could be another option for you. MSDN has a detailed article on how to use it.
You should definitely ignore the audio, network and Bluetooth components, as I've found they get removed if you do something as trivial as turning on airplane mode, or unplug a headset.
My question is regarding the creation of regions for regionMonitoring in iOS 5. Can new regions be created based on user of the app's current location? Or do all regions need to be predefined by the developer in the applications binary?
I know you can have certain regions register based on the users current location, because the os puts a limit on the number of regions that the phone/app can be monitoring at one time, and you should only register the regions within close proximity to the users current location... but can a region (previously undefined) be created on the fly based on the users location?
use case example:
users app spins up coreLocation to get an accurate set of coordinates, once we have accurate coords, corelocation shuts down to save battery. An event needs to occur when the user leaves the area so we want to know when the user moves x units of distance. Can a region be created x units of distance around this users current location, so we can start monitoring for did exit region?
I put in a good amount of research but could not find an answer... and unfortunately I am not very familiar with regionMonitoring.
Thanks :)
Theoretically, You can monitor any region any time, these regions don't need to be predefined, you may use following code to create and monitor your required regions pragmatically,
CLLocationCoordinate2D center = CLLocationCoordinate2DMake(location.coordinate.latitude, location.coordinate.longitude);
CLRegion *region = [[CLRegion alloc] initCircularRegionWithCenter:center radius:50.0f identifier:identifier];
[self.locationManager startMonitoringForRegion:region desiredAccuracy:kCLLocationAccuracyBest];
PS: Region monitoring implementation is not as much useful as apple advertise, to my understanding it relies on cell change events (again to save the battery). I'm not happy even with the results of default Reminders app (location based reminders) both on iPhone 4 and 4s.