aboutsummaryrefslogtreecommitdiffstats
path: root/examples/dbt_repeater00.cpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-02-05 13:23:13 +0100
committerSven Gothel <[email protected]>2022-02-05 13:23:13 +0100
commitb85534b87ccac6a54dce9f1f16d86d0f1f8984af (patch)
tree73149052e015eab97b9e614007fb4236c36c40fa /examples/dbt_repeater00.cpp
parente570552af8de36d78e369591384082aa0b59e88b (diff)
dbt_repeater00: Fixed intendation for message (post from[*] -> to[*])
Note: The asterix '*' is added to mark the server EUI48
Diffstat (limited to 'examples/dbt_repeater00.cpp')
-rw-r--r--examples/dbt_repeater00.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/dbt_repeater00.cpp b/examples/dbt_repeater00.cpp
index caa70968..b804229d 100644
--- a/examples/dbt_repeater00.cpp
+++ b/examples/dbt_repeater00.cpp
@@ -294,7 +294,7 @@ class NativeGattToServerCharListener : public BTGattHandler::NativeGattCharListe
std::string devToClientS = nullptr != devToClient ? devToClient->getAddressAndType().address.toString() : "nil";
std::string devFromServerS = source->getAddressAndType().address.toString();
- fprintf_td(stderr, "%s* -> %s: Notify: handle %s\n",
+ fprintf_td(stderr, "%s* -> %s : Notify: handle %s\n",
devFromServerS.c_str(), devToClientS.c_str(), jau::to_hexstring(char_handle).c_str());
fprintf_td(stderr, " raw : %s\n", char_value.toString().c_str());
fprintf_td(stderr, " utf8: %s\n", jau::dfa_utf8_decode(char_value.get_ptr(), char_value.size()).c_str());
@@ -314,7 +314,7 @@ class NativeGattToServerCharListener : public BTGattHandler::NativeGattCharListe
std::string devToClientS = nullptr != devToClient ? devToClient->getAddressAndType().address.toString() : "nil";
std::string devFromServerS = source->getAddressAndType().address.toString();
- fprintf_td(stderr, "%s* -> %s: Indication: handle %s, confirmed %d\n",
+ fprintf_td(stderr, "%s* -> %s : Indication: handle %s, confirmed %d\n",
devFromServerS.c_str(), devToClientS.c_str(), jau::to_hexstring(char_handle).c_str(), confirmationSent);
fprintf_td(stderr, " raw : %s\n", char_value.toString().c_str());
fprintf_td(stderr, " utf8: %s\n", jau::dfa_utf8_decode(char_value.get_ptr(), char_value.size()).c_str());
@@ -353,7 +353,7 @@ class NativeGattToServerCharListener : public BTGattHandler::NativeGattCharListe
std::string serverSourceS = serverSource->getAddressAndType().address.toString();
std::string clientDestS = nullptr != clientDest ? clientDest->getAddressAndType().address.toString() : "nil";
- fprintf_td(stderr, "%s* -> %s: Write-Rsp: %s\n",
+ fprintf_td(stderr, "%s* -> %s : Write-Rsp: %s\n",
serverSourceS.c_str(), clientDestS.c_str(), AttErrorRsp::getErrorCodeString(error_code).c_str());
fprintf_td(stderr, " pdu : %s\n", pduReply.toString().c_str());
fprintf_td(stderr, "\n");