Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: chromeos/components/tether/ble_constants.h

Issue 2604063003: [CrOS Tether] Create BleScanner, a class which scan BLE advertisements and identifies nearby device… (Closed)
Patch Set: Add missing dependency. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromeos/components/tether/DEPS ('k') | chromeos/components/tether/ble_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMEOS_COMPONENTS_TETHER_BLE_CONSTANTS_H_ 5 #ifndef CHROMEOS_COMPONENTS_TETHER_BLE_CONSTANTS_H_
6 #define CHROMEOS_COMPONENTS_TETHER_BLE_CONSTANTS_H_ 6 #define CHROMEOS_COMPONENTS_TETHER_BLE_CONSTANTS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace chromeos { 10 namespace chromeos {
11 11
12 namespace tether { 12 namespace tether {
13 13
14 // The maximum number of devices to which to advertise concurrently. If more 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 15 // than this number of devices are registered, other advertisements must be
16 // stopped before new ones can be added. 16 // stopped before new ones can be added.
17 // 17 //
18 // Note that this upper limit on concurrent advertisements is imposed due to a 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 19 // hardware limit of advertisements (many devices have <10 total advertisement
20 // slots). 20 // slots).
21 extern const int kMaxConcurrentAdvertisements; 21 extern const uint8_t kMaxConcurrentAdvertisements;
22 22
23 // The service UUID used for BLE advertisements. 23 // The service UUID used for BLE advertisements.
24 extern const char kAdvertisingServiceUuid[]; 24 extern const char kAdvertisingServiceUuid[];
25 25
26 } // namespace tether 26 } // namespace tether
27 27
28 } // namespace chromeos 28 } // namespace chromeos
29 29
30 #endif // CHROMEOS_COMPONENTS_TETHER_BLE_CONSTANTS_H_ 30 #endif // CHROMEOS_COMPONENTS_TETHER_BLE_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chromeos/components/tether/DEPS ('k') | chromeos/components/tether/ble_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698