9. Wireless support

JAGUAR SBC-RK3588-AMR features an M.2 Key-E socket (Fig. 2.1 Jaguar interfaces overview) which can be used for adding WiFi and Bluetooth support. This chapter shows how to connect to an existing WiFi network and how to scan Bluetooth devices.

9.2. Installing software dependencies

apt-get install network-manager wpasupplicant bluez
# Disable systemd-networkd and systemd-resolved to let NetworkManager handle everything
systemctl disable --now systemd-networkd
systemctl disable --now systemd-resolved
systemctl enable --now NetworkManager

9.3. Connecting to a Wifi network

You can show the available wifi networks using:

nmcli dev wifi

Connect to a network using the following command (replace the network name and password as appropriate):

nmcli dev wifi connect "CHERRY Example Wifi" password "hello-jaguar"

You should get a message like:

Device 'wlan0' successfully activated with '79ef39fc-8f49-4719-a8d9-4d6d789bb815'.

You should have connectivity over Wifi now. You can check the IP address you received using:

ip address show dev wlan0

Note

By default, nmcli is not available in our Yocto core-image-minimal image. However, it is available in our Yocto cherry-es-extended-image image.

9.4. Scanning Bluetooth devices

First set the HCI device up:

hciconfig hci0 up

Then scan devices:

hcitool scan