include_name=false in blufi_adv_data will not display the name. Since the mobile phone or computer display will have a cache, you can reset the network, or grab the original broadcast package to see that there is actually no name displayed. And other functions are normal and can be used.
static esp_ble_adv_data_t blufi_adv_data = {
.set_scan_rsp = false,
.include_name = false,
.include_txpower = true,
.min_interval = 0x0006, //slave connection min interval, Time = min_interval * 1.25 msec
.max_interval = 0x0010, //slave connection max interval, Time = max_interval * 1.25 msec
.appearance = 0x00,
.manufacturer_len = 0,
.p_manufacturer_data = NULL,
.service_data_len = 0,
.p_service_data = NULL,
.service_uuid_len = 16,
.p_service_uuid = blufi_service_uuid128,
.flag = 0x6,
};
include_name=false in blufi_adv_data will not display the name. Since the mobile phone or computer display will have a cache, you can reset the network, or grab the original broadcast package to see that there is actually no name displayed. And other functions are normal and can be used.
static esp_ble_adv_data_t blufi_adv_data = {
.set_scan_rsp = false,
.include_name = false,
.include_txpower = true,
.min_interval = 0x0006, //slave connection min interval, Time = min_interval * 1.25 msec
.max_interval = 0x0010, //slave connection max interval, Time = max_interval * 1.25 msec
.appearance = 0x00,
.manufacturer_len = 0,
.p_manufacturer_data = NULL,
.service_data_len = 0,
.p_service_data = NULL,
.service_uuid_len = 16,
.p_service_uuid = blufi_service_uuid128,
.flag = 0x6,
};
举报