Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Networking routing
Hi,
 
I am developing a website Using MVC 4, this website will be accessed by mobile (Smartphones) users only. Is it possible to trace or guess a user's current access point which is in the building?
Is there any Specific Network configuration of routers/access point required which we need to do for doing the same?
The website will be used only in building local network using Wi-fi. so, no internet connectivity required.
Posted 22-Apr-13 9:00am
Edited 23-Apr-13 1:38am
v2
Comments
Sergey Alexandrovich Kryukov at 22-Apr-13 15:54pm
   
How about thinking just a bit? :-)
—SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Yes, you can. Each package going up has to spend energy to work against gravitation. The energy needed to move up is equal to m×g×h, where g is the gravitational field of the Earth, the same as the acceleration of the free falling body and h is the elevation, and m is the mass of the package. When the package goes down, it spends equal amount of potential gravity in the gravitational field of the Earth. This way, if yo measure elevation between each floor and the energy of your packages in all situations, you can calculate the floor from each message was sent.
 
Everything else is just the matter of solving of algebraic equations you should know from middle school.
 
Good luck,
—SA
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

I Achived this by creating separate VLan for each access point. IP allocation was done by a common DHCP server, a different range of IP address for each access point, and for all access points maintained a database storing location for them. so just by getting user IP address I was able to resolve his location.
Also note that there was no router used for network setup, so I got user's mobile IP address directly.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 490
1 Maciej Los 305
2 Richard MacCutchan 270
3 Mathew Soji 220
4 BillWoodruff 210
0 OriginalGriff 8,834
1 Sergey Alexandrovich Kryukov 7,477
2 DamithSL 5,689
3 Maciej Los 5,329
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web01 | 2.8.1411028.1 | Last Updated 19 Oct 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100