Skip to main content
Visitor II
October 14, 2019
Question

STM32MP157C-DK2 Bluetooth mesh

  • October 14, 2019
  • 1 reply
  • 1153 views

I have a STM32MP157C-DK2 eval kit and am looking into Bluetooth mesh. According to Murata the wireless \ bluetooth module that contains a Cypress part is mesh compliant and the board has v5.50 of BlueZ so theoretically the version of Linux supports it. Unfortunately it seems to have very minimal Bluetooth tools on the device (i.e. none) and I have been trying to get meshctl which seems to involve cross compiling in on ubuntu but without much success. Has anybody had any luck in doing this or have got mesh working?

    This topic has been closed for replies.

    1 reply

    ST Employee
    October 15, 2019

    Hi,

    In the Starter Package image, there are some BT tools (i.e. hcitool, hciconfig, bluetoothctl) but meshctl is not part of this default configuration.

    To get meshctl, you need to rebuild bluez5 with the Distribution Package which makes possible to customize userland and rebuild applications.

    Enable mesh support in bluez by adding the following line in <Yocto source tree>/layers/meta-st/meta-st-openstlinux/recipes-connectivity/bluez5/bluez5_%.bbappend:

    PACKAGECONFIG_append = " mesh"

    It will add meshctl in the built image.