State-Based Communication Design for Wireless Control Systems