Wireless sensor networks for industrial applications