Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDL Core FAQ

Here are a few of the most common questions new developers have around the SDL Core project.

What OS should I use to get started?

Currently the SDL Core repo is built for Ubuntu 18.04 as our default environment.

I'm getting a lot of compilation errors, how do I get past them?

The most common errors come from dependancies issues. Ensure your system has all the required packages to compile the project. Try running the following commands:

sudo apt-get update
sudo apt-get install git cmake build-essential libavahi-client-dev libsqlite3-dev chromium-browser libssl-dev libudev-dev libgtest-dev libbluetooth3 libbluetooth-dev bluez-tools libpulse-dev

I'm experiencing choppy audio through bluetooth, what should I do?

The default SDL Core repo actually performs an SDP on loop. Because SDP queries are a resource intensive operation it can cause the audio coming from the phone to become very choppy. This can be fixed by doing the following:

First, navigate to this line that reads:

    : TransportAdapterImpl(new BluetoothDeviceScanner(this, true, 0),

Change it to:

    : TransportAdapterImpl(new BluetoothDeviceScanner(this, false, 0),

That will cause the SDP queries to not be performed by default. This means you will need to create a way to perform SDP queries using an event trigger. So in the HMI implementation you will need to tie an event (button press or voice command) to sending the following RPC message to the Core service:

    return ({
        'jsonrpc': '2.0',
        'method': 'BasicCommunication.OnStartDeviceDiscovery'
    })

What is the integration time of SDL in an infotainment system?

Timing is dependent on the OEM or Supplier implementing SDL, and also dependent on factors such as OS, hardware, etc.

View on GitHub.com
Previous Section Next Section