mirror of https://github.com/ARMmbed/mbed-os.git
solve link problems
parent
e5e7f3edef
commit
75e6128776
|
|
@ -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
|
||||
|
|
@ -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:
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue