How to set up ccm for bluez-meshctl in yocto

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to set up ccm for bluez-meshctl in yocto

1,103 Views
fgu_bg
Contributor I

Hi there,

I am trying to set up bluetooth meshctl on my i.MX6 using yocto. I have added meshctl and required dependencies in my recipe, but the utility in my image does not start.

Waiting to connect to bluetoothd...Failed to parse provisioning database file prov_db.json

In reference manuals for Raspberry Pi (e.g. Developer-Study-Guide-How-to-Deploy-BlueZ-on-a-Raspberry-Pi-Board-as-a-Bluetooth-Mesh-Provisioner.pd...) the instructions indicate that I need to enable aes-ccm crypto in the kernel. Another post here also links my error to missing aes-ccm: Install meshctl on Raspberry Pi. Follow these instructions to install… | by Lup Yuen Lee 李立源 | Mediu...

In my image I don't see aes-ccm enabled if I run:

cat /proc/crypto | grep ccm

I do see other features for caam, for example:

imx-carbon:/tmp$ cat /proc/crypto | grep aes
name : cmac(aes)
driver : cmac(aes-arm)
name : xcbc(aes)
driver : xcbc-aes-caam
....

Am I looking in the right spot to see if CCM is enabled? How can I enable ccm in my Yocto recipes?

Thanks for the support!

0 Kudos
0 Replies