mirror of
https://github.com/niellun/FastCarPlay.git
synced 2026-06-11 02:47:47 +02:00
Protocol decoding script, more dongle settings
This commit is contained in:
@@ -171,6 +171,15 @@ void Protocol::onDevice(bool connected)
|
||||
sendFile("/etc/box_name", "CarPlay");
|
||||
if (Settings::autoconnect)
|
||||
sendInt(CMD_CONTROL, 1002);
|
||||
sendInt(CMD_CONTROL, Settings::bluetoothAudio ? 22 : 23);
|
||||
sendInt(CMD_CONTROL, Settings::wifi5 ? 25 : 24);
|
||||
int mic = 7;
|
||||
if (Settings::micType == 2)
|
||||
mic = 15;
|
||||
if (Settings::micType == 3)
|
||||
mic = 21;
|
||||
sendInt(CMD_CONTROL, mic);
|
||||
|
||||
if (Settings::encryption)
|
||||
sendEncryption();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user