Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updating numbered headings
Table of Contents

1. Bluetooth in the Default Linux Configuration

Your i.MX 8M NAVQ Plus kit arrives with the Linux image ready for Bluetooth operation.

2. Configuring Bluetooth

Linux images starting from release 1.1.5-359 automatically configure Bluetooth at boot time, and no additional actions are needed for using Bluetooth in Linux after boot. Older releases require manual Bluetooth configuration steps described below:

  1. On the i.MX 8M Plus, issue the following command from the Linux shell:

    Code Block
    user@imx8mpnavq:/home/user# sudo hciattach ttymxc0 any 115200 flow
    Device setup complete
  2. Initialize the BT module, validate that the initialization has completed successfully:

    Code Block
    imx8mpnavq:/home/user# sudo hciconfig hci0 up
    user@imx8mpnavq:/home/user# hciconfig
    hci0:   Type: Primary  Bus: UART
            BD Address: D4:53:83:C4:E5:5B  ACL MTU: 1016:5  SCO MTU: 60:12
            UP RUNNING 
            RX bytes:833 acl:0 sco:0 events:58 errors:0
            TX bytes:3232 acl:0 sco:0 commands:58 errors:0

3. Verifying Bluetooth in Linux

When Linux boots, the BT interface is enabled and configured in the default image installed to the kit. Step through the following procedure to configure BT in your local environment and then validate it: