41 a->removeAllStatusListener();
47 mngr->removeAllChangedAdapterSetCallbacks();
59TEST_CASE(
"BTManager Bringup Test 00",
"[test][BTManager][bringup]" ) {
63 jau::fprintf_td(stderr,
"Direct-BT Native Version %s (API %s)\n", DIRECT_BT_VERSION, DIRECT_BT_VERSION_API);
73 jau::fprintf_td(stderr,
"%u: %s\n", i, adapters[i]->toString().c_str());
78 REQUIRE(
false == a->isInitialized() );
80 REQUIRE( BTRole::Master == a->getRole() );
81 REQUIRE( 4 <= a->getBTMajorVersion() );
Implementation of a dynamic linear array storage, aka vector.
constexpr size_type size() const noexcept
Like std::vector::size().
constexpr void clear() noexcept
Like std::vector::clear(), but ending with zero capacity.
std::shared_ptr< BTManager > BTManagerRef
void clear() noexcept
Clears internal list.
std::shared_ptr< BTAdapter > BTAdapterRef
Entry * get(const EUI48 &addr, const std::string &name, AddressNameEntryMatchFunc m) noexcept
Returns a matching BTSecurityRegistry::Entry with the given addr and/or name.
uint_fast32_t nsize_t
Natural 'size_t' alternative using uint_fast32_t as its natural sized type.
std::string get_platform_info(std::string &sb) noexcept
void clearProcessedDevices() noexcept
Clears internal list.
void clearWaitForDevices() noexcept
Clears internal list.
int fprintf_td(const uint64_t elapsed_ms, FILE *stream, const char *format,...) noexcept
Convenient fprintf() invocation, prepending the given elapsed_ms timestamp.
TEST_CASE("BTManager Bringup Test 00", "[test][BTManager][bringup]")
Testing BTManager bring up: