mirror of
				https://github.com/thelsing/knx.git
				synced 2025-10-26 10:26:25 +01:00 
			
		
		
		
	move comment
This commit is contained in:
		
							parent
							
								
									255ee7f1c4
								
							
						
					
					
						commit
						fb5fb42d8a
					
				@ -107,6 +107,16 @@ uint64_t sixBytesToUInt64(uint8_t* data)
 | 
			
		||||
    return l;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// The CRC of the Memory Control Block Table Property is a CRC16-CCITT with the following
 | 
			
		||||
// parameters:
 | 
			
		||||
// Width = 16 bit
 | 
			
		||||
// Truncated polynomial = 1021h
 | 
			
		||||
// Initial value = FFFFh
 | 
			
		||||
// Input date is NOT reflected.
 | 
			
		||||
// Output CRC is NOT reflected.
 | 
			
		||||
// No XOR is performed on the output CRC.
 | 
			
		||||
// EXAMPLE The correct CRC16-CCITT of the string ‘123456789’ is E5CCh.
 | 
			
		||||
 | 
			
		||||
uint16_t crc16Ccitt(uint8_t* input, uint16_t length)
 | 
			
		||||
{
 | 
			
		||||
        uint32_t polynom = 0x1021;
 | 
			
		||||
 | 
			
		||||
@ -126,16 +126,6 @@ void RouterObjectFilterTable::functionRouteTableControl(bool isCommand, uint8_t*
 | 
			
		||||
    // octet_address = GA_value div 8
 | 
			
		||||
    // bit_position = GA_value mod 8
 | 
			
		||||
 | 
			
		||||
    // The CRC of the Memory Control Block Table Property is a CRC16-CCITT with the following
 | 
			
		||||
    // parameters:
 | 
			
		||||
    // Width = 16 bit
 | 
			
		||||
    // Truncated polynomial = 1021h
 | 
			
		||||
    // Initial value = FFFFh
 | 
			
		||||
    // Input date is NOT reflected.
 | 
			
		||||
    // Output CRC is NOT reflected.
 | 
			
		||||
    // No XOR is performed on the output CRC.
 | 
			
		||||
    // EXAMPLE The correct CRC16-CCITT of the string ‘123456789’ is E5CCh.
 | 
			
		||||
 | 
			
		||||
    if (isCommand)
 | 
			
		||||
    {
 | 
			
		||||
        switch(srvId)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user