Tool/software:
I am porting CC33XX driver to imx91 som , the dev environment is Yocto Scarthgap , Please find attached my FW as well
- I am able to bring up the driver succesfully and its working in client mode, Can connect to other devices
- Peripheral mode doesnt work, i can start a Gatt Server and NRF Connect finds my device , sees my Service UUID but cant connect to it
- I am using Bluez v5.82
root@nitrogen91:~# hciconfig -a
hci0: Type: Primary Bus: UART
BD Address: F8:FB:90:13:DA:21 ACL MTU: 255:10 SCO MTU: 0:0
UP RUNNING
RX bytes:377 acl:0 sco:0 events:36 errors:0
TX bytes:323 acl:0 sco:0 commands:36 errors:0
[ 6445.680012] Bluetooth: hci0: unexpected cc 0x0c14 length: 1 < 249
Features: 0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00
Packet type: DM1 DH1 HV1
Link policy:
Link mode: PERIPHERAL ACCEPT
Can't read local name on hci0: Input/output error (5)
root@nitrogen91:~# btmgmt -i hci0 info
hci0: Primary controller
addr F8:FB:90:13:DA:21 version 12 manufacturer 13 class 0x000000
supported settings: powered connectable discoverable bondable le advertising secure-conn debug-keys privacy static-addr phy-configuration
current settings: powered connectable le advertising secure-conn
name cc33xxble
short name
When i configure bluez with --enable-experimental --enable-debug , i see the below errors
[ 7573.505317] Bluetooth: hci0: Opcode 0x2037 failed: -38 [ 7573.529791] Bluetooth: hci0: Opcode 0x2036 failed: -16