From 0a56b748dfb2603dfd0ec75bbbd609f17000f1b5 Mon Sep 17 00:00:00 2001 From: Yulong Date: Fri, 5 May 2017 04:46:08 -0400 Subject: [PATCH] component/bt:change the ESP_PUBLIC_ADDR to BLE_ADDR_TYPE_PUBLIC. --- examples/bluetooth/gatt_client/main/gattc_demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/bluetooth/gatt_client/main/gattc_demo.c b/examples/bluetooth/gatt_client/main/gattc_demo.c index 48b1062a6d..17ca741028 100644 --- a/examples/bluetooth/gatt_client/main/gattc_demo.c +++ b/examples/bluetooth/gatt_client/main/gattc_demo.c @@ -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