diff options
author | Sven Gothel <[email protected]> | 2020-10-16 04:31:06 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-10-16 04:31:06 +0200 |
commit | b477d8d7057d367feb0d87cccb212221b5992f82 (patch) | |
tree | 6fb66f2349363f871d15a121bd583841b2b39c39 /src/direct_bt/GATTNumbers.cpp | |
parent | 50fcf6a3781b4f3be7899c0e4a42c7b4a1505833 (diff) |
Extract common C++ Support Library inclusive Java JNI Binding to sub-project jaucpp, namespace jau
Diffstat (limited to 'src/direct_bt/GATTNumbers.cpp')
-rw-r--r-- | src/direct_bt/GATTNumbers.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/direct_bt/GATTNumbers.cpp b/src/direct_bt/GATTNumbers.cpp index ca7e1ff4..17448320 100644 --- a/src/direct_bt/GATTNumbers.cpp +++ b/src/direct_bt/GATTNumbers.cpp @@ -23,7 +23,6 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include <dbt_debug.hpp> #include <cstring> #include <string> #include <memory> @@ -33,8 +32,9 @@ #include <algorithm> -#include "GATTNumbers.hpp" +#include <jau/debug.hpp> +#include "GATTNumbers.hpp" using namespace direct_bt; @@ -381,7 +381,7 @@ std::string GattPeriphalPreferredConnectionParameters::toString() const noexcept std::string GattGenericAccessSvc::toString() const noexcept { std::string pcp(nullptr != prefConnParam ? prefConnParam->toString() : ""); - return "'"+deviceName+"'[appearance "+uint16HexString(static_cast<uint16_t>(appearance))+" ("+getAppearanceCatString(appearance)+"), "+pcp+"]"; + return "'"+deviceName+"'[appearance "+jau::uint16HexString(static_cast<uint16_t>(appearance))+" ("+getAppearanceCatString(appearance)+"), "+pcp+"]"; } GattPnP_ID::GattPnP_ID(const TROOctets &source) noexcept @@ -398,10 +398,10 @@ std::shared_ptr<GattPnP_ID> GattPnP_ID::get(const TROOctets &source) noexcept { } std::string GattPnP_ID::toString() const noexcept { - return "vendor_id[source "+uint8HexString(vendor_id_source, true)+ - ", id "+uint16HexString(vendor_id, true)+ - "], product_id "+uint16HexString(product_id, true)+ - ", product_version "+uint16HexString(product_version, true); + return "vendor_id[source "+jau::uint8HexString(vendor_id_source, true)+ + ", id "+jau::uint16HexString(vendor_id, true)+ + "], product_id "+jau::uint16HexString(product_id, true)+ + ", product_version "+jau::uint16HexString(product_version, true); } std::string GattDeviceInformationSvc::toString() const noexcept { |