mirror of
				https://github.com/thelsing/knx.git
				synced 2025-10-26 10:26:25 +01: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()){
 | 
			
		||||
            _enabled = true;
 | 
			
		||||
            print("ownaddr ");
 | 
			
		||||
            println(_deviceObject.induvidualAddress(), HEX);
 | 
			
		||||
            uint16_t source = _deviceObject.induvidualAddress();
 | 
			
		||||
            print("Individual Address ");
 | 
			
		||||
            print((source >> 12) & 0x0F);
 | 
			
		||||
            print(".");
 | 
			
		||||
            print((source >> 8) & 0x0F);
 | 
			
		||||
            print(".");
 | 
			
		||||
            println(source & 0xFF);
 | 
			
		||||
        }
 | 
			
		||||
        else{
 | 
			
		||||
        	_enabled = false;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user