A proof-of-proximity framework for device pairing in ubiquitous computing environments