Analytical modeling of detection capability in ultra-low power wireless sensor networks