component/bt:change the ESP_PUBLIC_ADDR to BLE_ADDR_TYPE_PUBLIC.

This commit is contained in:
Yulong 2017-05-05 04:46:08 -04:00
parent 3453824bf2
commit 0a56b748df

View file

@ -72,7 +72,7 @@ static const char device_name[] = "Alert Notification";
static esp_ble_scan_params_t ble_scan_params = {
.scan_type = BLE_SCAN_TYPE_ACTIVE,
.own_addr_type = ESP_PUBLIC_ADDR,
.own_addr_type = BLE_ADDR_TYPE_PUBLIC,
.scan_filter_policy = BLE_SCAN_FILTER_ALLOW_ALL,
.scan_interval = 0x50,
.scan_window = 0x30