aboutsummaryrefslogtreecommitdiffstats
path: root/api/direct_bt/BTAdapter.hpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-09-15 16:08:40 +0200
committerSven Gothel <[email protected]>2022-09-15 16:08:40 +0200
commit8dfa27ad2841aecb85200a15c834a8c770cc5dc6 (patch)
tree76121475b3560b67bbec7133499f842b63635ce4 /api/direct_bt/BTAdapter.hpp
parentd7017ae58eae5e3d832f853354c17bda73a60efc (diff)
BTAdapter: Align hasDevicesPausingDiscovery() -> getDevicesPausingDiscoveryCount() w/ getConnectedDeviceCount(), both return nsize_t
Diffstat (limited to 'api/direct_bt/BTAdapter.hpp')
-rw-r--r--api/direct_bt/BTAdapter.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/direct_bt/BTAdapter.hpp b/api/direct_bt/BTAdapter.hpp
index 2fe3e028..84d6e40c 100644
--- a/api/direct_bt/BTAdapter.hpp
+++ b/api/direct_bt/BTAdapter.hpp
@@ -482,13 +482,13 @@ namespace direct_bt {
bool addDevicePausingDiscovery(const BTDeviceRef & device) noexcept;
BTDeviceRef findDevicePausingDiscovery (const EUI48 & address, const BDAddressType & addressType) noexcept;
void clearDevicesPausingDiscovery() noexcept;
- bool hasDevicesPausingDiscovery() noexcept;
+ jau::nsize_t getDevicesPausingDiscoveryCount() noexcept;
bool addConnectedDevice(const BTDeviceRef & device) noexcept;
bool removeConnectedDevice(const BTDevice & device) noexcept;
int disconnectAllDevices(const HCIStatusCode reason=HCIStatusCode::REMOTE_USER_TERMINATED_CONNECTION ) noexcept;
BTDeviceRef findConnectedDevice (const EUI48 & address, const BDAddressType & addressType) noexcept;
- int getConnectedDeviceCount() const noexcept;
+ jau::nsize_t getConnectedDeviceCount() const noexcept;
bool addDiscoveredDevice(BTDeviceRef const &device) noexcept;