蓝牙AIC8800不支持ble广播?

  • 您好,请执行hcitool cmd 0x03 0x0003 重启蓝牙设备后再执行 hciconfig hci0 leadv
  • [root@luckfox root]# hciattach -s 1500000 /dev/ttyS1 any 1500000 flow nosleep&
    [root@luckfox root]# [ 56.054692] of_dma_request_slave_channel: dma-names property of node '/serial@ff4b0000' missing or empty
    Device setup complete
    [ 56.054730] dw-apb-uart ff4b0000.serial: failed to request DMA, use interrupt mode

    [1]+ Done hciattach -s 1500000 /dev/ttyS1 any 1500000 flow nosleep
    [root@luckfox root]# hciconfig hci0 up
    [root@luckfox root]# hciconfig -a
    hci0: Type: Primary Bus: UART
    BD Address: DC:EC:4F:5D:7C:90 ACL MTU: 1021:9 SCO MTU: 255:4
    UP RUNNING
    RX bytes:1360 acl:0 sco:0 events:76 errors:0
    TX bytes:868 acl:0 sco:0 commands:76 errors:0
    Features: 0xbf 0xee 0xcd 0xfe 0xd8 0x3d 0x7b 0x87
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV3
    Link policy: RSWITCH SNIFF
    Link mode: PERIPHERAL ACCEPT
    Name: 'AIC8818'
    Class: 0x000000
    Service Classes: Unspecified
    Device Class: Miscellaneous,
    HCI Version: 5.2 (0xb) Revision: 0x14
    LMP Version: 5.2 (0xb) Subversion: 0x14
    Manufacturer: not assigned (2875)

    [root@luckfox root]# hcitool cmd 0x03 0x0003
    < HCI Command: ogf 0x03, ocf 0x0003, plen 0
    > HCI Event: 0x0e plen 4
    05 03 0C 00
    [root@luckfox root]# hcitool cmd 0x08 0x0008 02 01 06 09 03 4d 79 42 4c 45 44 65
    76 69 63 65
    < HCI Command: ogf 0x08, ocf 0x0008, plen 16
    02 01 06 09 03 4D 79 42 4C 45 44 65 76 69 63 65
    > HCI Event: 0x0e plen 4
    05 08 20 12
    [root@luckfox root]# hciconfig hci0 leadv
    PC可以扫描到设备,但设备的名称显示为N/A,请问还需要什么配置。
  • 很遗憾我们在 BLE 上的开发经验也有限,没有办法提供更多帮助