O'Reilly logo

Mastering Internet of Things by Peter Waher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding existing location information

To allow a controller to find things in its vicinity, we must register the location of the devices it wants to find. We can do this either using numeric longitude, latitude, and altitude values or using geographic reference tags. The longitude, latitude, and altitude values might be valuable if you do applications that are geographically sensitive. But they are difficult to use in smart city applications since vicinity is not defined by concepts of geographical distance, but by other concepts, such as room, apartment, office, department, address, and so on.

In our examples, we will use the second approach. We first check if we have these values available. If so, we add them to our metadata information ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required