Common software API for various radio hardware