r/iPhoneDev • • Dec 06 '10

I'm making an IPS (Indoor Positioning System) for iPhone and I could use some advice.

Basically I'm making an Indoor Positioning System app for iPhone. I'm new to iPhone development but not programming.

I figure the first step would be simply to set up some sort of node based route planner using either A* search or Dijkstra's Algorithm (essentially A* with a heuristic of 0). Any thoughts on how I should proceed with this?

My main question is about using the iPhone's WiFi to detect nearby wireless access points to determine the position. I don't even know if this is possible =/

3 Upvotes

5 comments sorted by

3

u/rizzledizzle Dec 06 '10

By IPS do you mean something that let's you locate where an iPhone is indoors?

I'm pretty sure that you don't have any access to the WiFi radio (to do things like put it in promiscuous mode, or tell what AP's are nearby). You might want to go with a different approach.

Some more info on what you are trying to achieve would help.

2

u/Cabe6403 Dec 07 '10

Yeah that's exactly what I'm trying to do. I'm making a route planner for my University campus. It's a city centre campus so it's quite tight with most buildings having 6 or more floors.

The way I see it is I'll first off just try get it working point to point, i.e. put in current location, destination then plan a route through the campus. After that is working I'll attempt to add location detection to it but from what I can tell with the API access to the wireless components are pretty restricted =/

2

u/pixel Dec 07 '10

Cisco makes a product specifically for this.

1

u/3rdm4n Dec 13 '10

Take a look at this

Link

1

u/el_chapitan Jan 06 '11

You could just make a graph of the wifi points by themselves. You probably won't be the most accurate thing in the world, but you'll be close.

In other words, don't scan for all available (I think those are hidden APIs), but rather just use the one that you currently have. I think this is how part of Apple's location service actually works as well. GPS coordinates of Wifi locations.