523回 发表于 2013-11-22 09:16:20

CSR8670如果完成BLE的搜索配对过程

CSR8670如果完成BLE的搜索配对过程,大家能给个示例不。

LXQ 发表于 2013-11-22 10:04:15

顶。。。。。

dragon20100708 发表于 2013-11-22 11:06:31

好好学习 天天向上

mupro 发表于 2013-11-22 11:11:58

好好学习 天天向上

whljsh 发表于 2013-11-22 11:31:42

同样求解!!

523回 发表于 2013-11-22 21:44:41

/*让设备可搜索并可见*/
    ConnectionWriteScanEnable(hci_scan_enable_inq_and_page);这个函数是用在BR上的,蓝牙2.0,3.0可见
但不懂BLE是怎么上IPHONE5搜索到的,我调用了以下函数,但IPHONE还是搜索不到
    uint8 pattern[] = {
      ble_ad_type_ssp_oob_class_of_device,
      ble_ad_type_complete_uuid16,
      ble_ad_type_complete_local_name,
      ble_ad_type_service_16bit_uuid};
   
   
    bool ret;

    ret = ConnectionBleAddAdvertisingReportFilter(BLE_FLAGS_GENERAL_DISCOVERABLE_MODE ,
                                                sizeof(pattern), sizeof(pattern), pattern);
    DEBUG(("xxxxxxxxxxxxxxx:%d",ret));
   
      ConnectionDmBleSetAdvertisingParamsReq( ble_adv_ind,TRUE,BLE_ADV_CHANNEL_ALL,0 );
ConnectionDmBleSetAdvertiseEnable(TRUE);

cnc2020 发表于 2013-11-28 22:52:44

好好学习:)

allenc0524 发表于 2013-11-29 09:01:57

學習中......

tzf520 发表于 2014-10-21 14:43:07

   不知道怎么开始,头疼

565656 发表于 2014-10-24 09:36:50

学习学习学习再学习。
页: [1] 2
查看完整版本: CSR8670如果完成BLE的搜索配对过程