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:
Christopher Collins
2017-07-05 19:16:56 -07:00
parent cf2ed30e46
commit fce1fbfb24
3 changed files with 1 additions and 14 deletions
+1
View File
@@ -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"
-8
View File
@@ -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;
-6
View File
@@ -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: >