OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROMEOS_COMPONENTS_TETHER_BLE_CONSTANTS_H_ |
| 6 #define CHROMEOS_COMPONENTS_TETHER_BLE_CONSTANTS_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 namespace chromeos { |
| 11 |
| 12 namespace tether { |
| 13 |
| 14 // The maximum number of devices to which to advertise concurrently. If more |
| 15 // than this number of devices are registered, other advertisements must be |
| 16 // stopped before new ones can be added. |
| 17 // |
| 18 // Note that this upper limit on concurrent advertisements is imposed due to a |
| 19 // hardware limit of advertisements (many devices have <10 total advertisement |
| 20 // slots). |
| 21 extern const int kMaxConcurrentAdvertisements; |
| 22 |
| 23 // The service UUID used for BLE advertisements. |
| 24 extern const char kAdvertisingServiceUuid[]; |
| 25 |
| 26 } // namespace tether |
| 27 |
| 28 } // namespace chromeos |
| 29 |
| 30 #endif // CHROMEOS_COMPONENTS_TETHER_BLE_CONSTANTS_H_ |
OLD | NEW |