Searched refs:LegacyScanMode (Results 1 – 2 of 2) sorted by relevance
31 enum LegacyScanMode { BT_SCAN_MODE_NONE = 0, BT_SCAN_MODE_CONNECTABLE = 1, BT_SCAN_MODE_CONNECTABLE… enum77 template <typename T, typename std::enable_if<std::is_same_v<T, hci::LegacyScanMode>, int>::type = …78 std::optional<hci::LegacyScanMode> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString()83 if (*raw_value < static_cast<int64_t>(hci::LegacyScanMode::BT_SCAN_MODE_NONE) || in FromLegacyConfigString()84 … *raw_value > static_cast<int64_t>(hci::LegacyScanMode::BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE)) { in FromLegacyConfigString()87 return static_cast<hci::LegacyScanMode>(*raw_value); in FromLegacyConfigString()
68 GENERATE_PROPERTY_GETTER_SETTER_REMOVER(LegacyScanMode, hci::LegacyScanMode, "ScanMode");