mirror of
https://github.com/thelsing/knx.git
synced 2025-08-17 13:47:28 +02:00
tpuart: Best debug trace: Show the address with format x.y.z
This commit is contained in:
parent
0ab56359a1
commit
42a35dd8ce
@ -428,8 +428,13 @@ void TpUartDataLinkLayer::enabled(bool value)
|
|||||||
|
|
||||||
if (resetChip()){
|
if (resetChip()){
|
||||||
_enabled = true;
|
_enabled = true;
|
||||||
print("ownaddr ");
|
uint16_t source = _deviceObject.induvidualAddress();
|
||||||
println(_deviceObject.induvidualAddress(), HEX);
|
print("Individual Address ");
|
||||||
|
print((source >> 12) & 0x0F);
|
||||||
|
print(".");
|
||||||
|
print((source >> 8) & 0x0F);
|
||||||
|
print(".");
|
||||||
|
println(source & 0xFF);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
_enabled = false;
|
_enabled = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user