This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] CC33XX-SOFTWARE:IMX91 WiFi+BLE cc33xx 无法在 GATT 服务器模式下进行广播

Guru**** 2647235 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1569510/cc33xx-software-imx91-wifi-ble-cc33xx-cannot-advertise-in-gatt-server-mode

器件型号:CC33XX-SOFTWARE


工具/软件:

我正在将 CC33XX 驱动程序移植到 imx91 SoM ,开发环境是 Yocto Scarthgap ,请也查找附件我的固件

  • 我能够成功启动驱动程序、并且它在客户端模式下工作、可以连接到其他设备
  • 外设模式不起作用,我可以启动 GATT 服务器,NRF Connect 找到我的设备,看到我的服务 UUID 但无法连接到它
  • 我使用的是 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

使用--enable-experimental --enable-debug 配置 Bluez 时、会看到以下错误

[ 7573.505317] Bluetooth: hci0: Opcode 0x2037 failed: -38
[ 7573.529791] Bluetooth: hci0: Opcode 0x2036 failed: -16

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    此主题已分配、不久将会收到主题专家的回复

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我使用以下命令解决了此问题

    hcitool lerlon