solve link problems

pull/8738/head
paul-szczepanek-arm 2018-11-20 15:33:13 +00:00 committed by Vincent Coubard
parent e5e7f3edef
commit 75e6128776
2 changed files with 28 additions and 3 deletions

View File

@ -0,0 +1,25 @@
/* mbed Microcontroller Library
* Copyright (c) 2018 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "ble/gap/AdvertisingParameters.h"
namespace ble {
const uint32_t AdvertisingParameters::DEFAULT_ADVERTISING_INTERVAL_MIN = 0x400;
const uint32_t AdvertisingParameters::DEFAULT_ADVERTISING_INTERVAL_MAX = 0x800;
const uint32_t AdvertisingParameters::GAP_ADV_PARAMS_INTERVAL_MIN_NONCON = 0x00A0;
} // namespace ble

View File

@ -48,9 +48,9 @@ namespace ble {
*/
class AdvertisingParameters {
static const uint32_t DEFAULT_ADVERTISING_INTERVAL_MIN = 0x400;
static const uint32_t DEFAULT_ADVERTISING_INTERVAL_MIN;
static const uint32_t DEFAULT_ADVERTISING_INTERVAL_MAX = 0x800;
static const uint32_t DEFAULT_ADVERTISING_INTERVAL_MAX;
/**
* Minimum Advertising interval for scannable and nonconnectable
@ -58,7 +58,7 @@ class AdvertisingParameters {
*
* @note Equal to 100ms.
*/
static const uint32_t GAP_ADV_PARAMS_INTERVAL_MIN_NONCON = 0x00A0;
static const uint32_t GAP_ADV_PARAMS_INTERVAL_MIN_NONCON;
public:
/**