mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
component/bt : cleanup demo warnings
This commit is contained in:
parent
5933ebc6b6
commit
c277735e6e
@ -6,5 +6,3 @@
|
|||||||
# lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable,
|
# lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable,
|
||||||
# please read the ESP-IDF documents if you need to do this.
|
# please read the ESP-IDF documents if you need to do this.
|
||||||
#
|
#
|
||||||
|
|
||||||
include $(IDF_PATH)/make/component_common.mk
|
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
#define TEST_DEVICE_NAME "ESP_GATTS_DEMO"
|
#define TEST_DEVICE_NAME "ESP_GATTS_DEMO"
|
||||||
|
|
||||||
#define TEST_MANUFACTURER_DATA_LEN 17
|
#define TEST_MANUFACTURER_DATA_LEN 17
|
||||||
static uint16_t test_service_uuid = GATTS_SERVICE_UUID_TEST;
|
|
||||||
static uint8_t test_service_uuid128[32] = {
|
static uint8_t test_service_uuid128[32] = {
|
||||||
/* LSB <--------------------------------------------------------------------------------> MSB */
|
/* LSB <--------------------------------------------------------------------------------> MSB */
|
||||||
//first uuid, 16bit, [12],[13] is the value
|
//first uuid, 16bit, [12],[13] is the value
|
||||||
@ -47,7 +46,7 @@ static uint8_t test_service_uuid128[32] = {
|
|||||||
0xfb, 0x34, 0x9b, 0x5f, 0x80, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00, 0xAB, 0xCD, 0xAB, 0xCD,
|
0xfb, 0x34, 0x9b, 0x5f, 0x80, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00, 0xAB, 0xCD, 0xAB, 0xCD,
|
||||||
};
|
};
|
||||||
|
|
||||||
static uint8_t test_manufacturer[TEST_MANUFACTURER_DATA_LEN] = {0x12, 0x23, 0x45, 0x56};
|
//static uint8_t test_manufacturer[TEST_MANUFACTURER_DATA_LEN] = {0x12, 0x23, 0x45, 0x56};
|
||||||
static esp_ble_adv_data_t test_adv_data = {
|
static esp_ble_adv_data_t test_adv_data = {
|
||||||
.set_scan_rsp = false,
|
.set_scan_rsp = false,
|
||||||
.include_name = true,
|
.include_name = true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user