basic beacon ranging works