mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-11-06 12:32:46 +00:00
BLE Host - Remove BLE_EDDYSTONE syscfg setting.
This syscfg setting is unnecessary, as none of the eddystone code gets included in the final build if it isn't referenced. X-Original-Commit: b156b1f01288557cb6cdfc8642ce2d179ea420f8
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include <inttypes.h>
|
||||
#include "nimble/hci_common.h"
|
||||
#include "host/ble_att.h"
|
||||
#include "host/ble_eddystone.h"
|
||||
#include "host/ble_gap.h"
|
||||
#include "host/ble_gatt.h"
|
||||
#include "host/ble_hs_adv.h"
|
||||
|
||||
@@ -123,10 +123,6 @@ ble_eddystone_set_adv_data_gen(struct ble_hs_adv_fields *adv_fields,
|
||||
int
|
||||
ble_eddystone_set_adv_data_uid(struct ble_hs_adv_fields *adv_fields, void *uid)
|
||||
{
|
||||
#if !MYNEWT_VAL(BLE_EDDYSTONE)
|
||||
return BLE_HS_ENOTSUP;
|
||||
#endif
|
||||
|
||||
uint8_t *svc_data;
|
||||
int8_t tx_pwr;
|
||||
int rc;
|
||||
@@ -184,10 +180,6 @@ ble_eddystone_set_adv_data_url(struct ble_hs_adv_fields *adv_fields,
|
||||
uint8_t url_scheme, char *url_body,
|
||||
uint8_t url_body_len, uint8_t url_suffix)
|
||||
{
|
||||
#if !MYNEWT_VAL(BLE_EDDYSTONE)
|
||||
return BLE_HS_ENOTSUP;
|
||||
#endif
|
||||
|
||||
uint8_t *svc_data;
|
||||
int8_t tx_pwr;
|
||||
int url_len;
|
||||
|
||||
@@ -313,12 +313,6 @@ syscfg.defs:
|
||||
The rate that new random addresses should be generated (seconds).
|
||||
value: 300
|
||||
|
||||
# Miscellaneous features.
|
||||
BLE_EDDYSTONE:
|
||||
description: >
|
||||
Enables advertising of Eddystone beacons.
|
||||
value: 1
|
||||
|
||||
# Store settings.
|
||||
BLE_STORE_MAX_BONDS:
|
||||
description: >
|
||||
|
||||
Reference in New Issue
Block a user