A Spatially Dependent Communication Model for Ubiquitous Systems