add connection indicator control; add sensor data synthesis for testing