楼主可以试试下面这个方法:增加ret = aci_gap_delete_ad_type (0x0a);删除掉TX Power。
ret = aci_gap_set_discoverable(ADV_IND,Min_Inter,Max_Inter,CFG_BLE_ADDRESS_TYPE,NO_WHITE_LIST_USE, /
use white list /sizeof(local_name),(uint8_t
) local_name,BleApplicationContext.BleApplicationContext_legacy.advtServUUIDlen,BleApplicationContext.BleApplicationContext_legacy.advtServUUID,0,0);ret = aci_gap_delete_ad_type (0x0a);//ret = aci_gap_delete_ad_type (0xff);/ Update Advertising data
/ret = aci_gap_update_adv_data(sizeof(manuf_data), (uint8_t) manuf_data);
楼主可以试试下面这个方法:增加ret = aci_gap_delete_ad_type (0x0a);删除掉TX Power。
ret = aci_gap_set_discoverable(ADV_IND,Min_Inter,Max_Inter,CFG_BLE_ADDRESS_TYPE,NO_WHITE_LIST_USE, / use white list /sizeof(local_name),(uint8_t) local_name,BleApplicationContext.BleApplicationContext_legacy.advtServUUIDlen,BleApplicationContext.BleApplicationContext_legacy.advtServUUID,0,0);ret = aci_gap_delete_ad_type (0x0a);//ret = aci_gap_delete_ad_type (0xff);/ Update Advertising data /ret = aci_gap_update_adv_data(sizeof(manuf_data), (uint8_t) manuf_data);
举报