Device information
• Head unit: BYD DiLink 3.0
• Platform: QCM6125, Android 10 (API 29)
• DiPlay version: 0.2.21 private beta
• Connection method: Wireless CarPlay (local offline MFi authentication, no remote fallback)
• Screen: 1920×1080, H.264 30 fps
Issue
During the wireless CarPlay connection process, the Bluetooth iAP2 handshake completes and MFi authentication succeeds. But after sending carplay-start-session, the iPhone never establishes an AirPlay TCP connection. The following error appears:
ERROR No AirPlay TCP after CarPlay StartSession
The program automatically retries several times. Each attempt times out after about 30 seconds and disconnects, then the cycle repeats. A CarPlay session is never established. Wired USB mode has not been tested.
Key findings from the diagnostic logs
The Bluetooth RFCOMM connection is normal, and local offline MFi authentication returns authentication-succeeded. iAP2 Wi-Fi configuration negotiation and wireless CarPlay capability exchange both complete normally. The iPhone reports wireless-carplay-update available=true.
The hotspot automatically selected the modem virtual network interface r_rmnet_data0 instead of the standard Wi-Fi softap0 interface.
This interface has only an IPv6 address; ipv4Usable=0, with no usable IPv4 address. The AirPlay listener on port 7000 and the Bonjour service start normally.
Log entry: manual hotspot interface override=none. The system is currently using automatic network interface detection, and it has selected the wrong interface.
There is also a secondary warning: an error reading network interface statistics, FileNotFoundException. This may be an Android 10 platform permissions issue and is probably not the root cause of this connection failure.
The head unit itself does not crash. The display, decoding and microphone permissions are all working normally.
Suspected root cause
DiPlay’s automatic network detection incorrectly selects the modem’s virtual rmnet interface. This interface only provides IPv6 and has no IPv4 address. Since the iPhone relies on IPv4 to establish an AirPlay session over wireless CarPlay, it never initiates a TCP connection, triggering the No AirPlay TCP timeout.
What I’ve tried (keep this section if applicable; delete it if not)
Tried restarting the head unit and iPhone, and deleting the Bluetooth pairing and pairing again. The issue still occurs.
Requested improvements
Add a mechanism to identify and prioritize the actual Wi-Fi SoftAP interface, softap0, to avoid selecting modem virtual interfaces in the rmnet series.
Add a setting to manually specify the hotspot network interface.
Add a diagnostic warning when the hotspot has no usable IPv4 address.
Attachment
The complete diplay-report.txt diagnostic report is attached.
If you need a shorter version (for comment boxes with a character limit):
Device: BYD DiLink 3.0, QCM6125, Android 10, DiPlay 0.2.21 beta. Wireless CarPlay Bluetooth and MFi authentication both succeed, but No AirPlay TCP after CarPlay StartSession repeatedly times out. Logs show that automatic detection selected the modem virtual interface r_rmnet_data0, with ipv4Usable=0 and IPv6 only. Suspect the wrong hotspot interface was selected, leaving no IPv4 and preventing the iPhone from initiating AirPlay TCP. Please prioritize detection of softap0 and add an option to manually specify the AP interface. See the attached diagnostic logs for details.
>!!<