Network Management in Heterogeneous Wireless Sensor Network Applications