A near field communication framework for indoor navigation