Detecting coverage holes in wireless sensor networks