A target device joins a wireless network by attempting to locate an
existing routing device in a predefined neighborhood of the wireless
network, designating the existing routing device as a master routing
device if the existing routing device is located in the predefined
neighborhood, where the master routing device is a primary recipient of
data from the target device, and attempting to locate endpoint devices in
the predefined neighborhood if the existing routing device is not located
in the predefined neighborhood.