Added API and connectivity detection for the radio