blob: 3c8f83e51203983b5588db85ea85ff34da569ad1 [file] [log] [blame]
// Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_CONNECTIVITY_BLUETOOTH_CORE_BT_HOST_HCI_DEFAULTS_H_
#define SRC_CONNECTIVITY_BLUETOOTH_CORE_BT_HOST_HCI_DEFAULTS_H_
#include <cstdint>
// This file contains default values that are listed in the HCI specification
// for certain commands. These are informational and for testing purposes only;
// each higher-layer library defines its own defaults.
namespace bt {
namespace hci {
namespace defaults {
// 50 ms
constexpr uint16_t kLEConnectionIntervalMin = 0x0028;
// 70 ms
constexpr uint16_t kLEConnectionIntervalMax = 0x0038;
// 60 ms
constexpr uint16_t kLEScanInterval = 0x0060;
// 30 ms
constexpr uint16_t kLEScanWindow = 0x0030;
// 420 ms
constexpr uint16_t kLESupervisionTimeout = 0x002A;
} // namespace defaults
} // namespace hci
} // namespace bt
#endif // SRC_CONNECTIVITY_BLUETOOTH_CORE_BT_HOST_HCI_DEFAULTS_H_