mirror of
				https://github.com/thelsing/knx.git
				synced 2025-10-26 10:26:25 +01:00 
			
		
		
		
	change header paths
This commit is contained in:
		
							parent
							
								
									e73e4da8f1
								
							
						
					
					
						commit
						09a3fe13c9
					
				| @ -3,185 +3,199 @@ project(knx-linux VERSION 1.5) | ||||
| set(LIBRARIES_FROM_REFERENCES "") | ||||
| 
 | ||||
| set(SOURCES | ||||
| knx/address_table_object.cpp | ||||
| knx/address_table_object.h | ||||
| knx/apdu.cpp | ||||
| knx/apdu.h | ||||
| knx/application_layer.cpp | ||||
| knx/application_layer.h | ||||
| knx/application_program_object.cpp | ||||
| knx/application_program_object.h | ||||
| knx/association_table_object.cpp | ||||
| knx/association_table_object.h | ||||
| knx/bau.cpp | ||||
| knx/bau.h | ||||
| knx/bau07B0.cpp | ||||
| knx/bau07B0.h | ||||
| knx/bau091A.cpp | ||||
| knx/bau091A.h | ||||
| knx/bau27B0.cpp | ||||
| knx/bau27B0.h | ||||
| knx/bau2920.cpp | ||||
| knx/bau2920.h | ||||
| knx/bau57B0.cpp | ||||
| knx/bau57B0.h | ||||
| knx/bau_systemB.cpp | ||||
| knx/bau_systemB.h | ||||
| knx/bau_systemB_coupler.cpp | ||||
| knx/bau_systemB_coupler.h | ||||
| knx/bau_systemB_device.cpp | ||||
| knx/bau_systemB_device.h | ||||
| knx/bits.cpp | ||||
| knx/bits.h | ||||
| knx/callback_property.h | ||||
| knx/cemi_frame.cpp | ||||
| knx/cemi_frame.h | ||||
| knx/cemi_server.cpp | ||||
| knx/cemi_server.h | ||||
| knx/cemi_server_object.cpp | ||||
| knx/cemi_server_object.h | ||||
| knx/config.h | ||||
| knx/datapoint_types.cpp | ||||
| knx/datapoint_types.h | ||||
| knx/data_link_layer.cpp | ||||
| knx/data_link_layer.h | ||||
| knx/data_property.cpp | ||||
| knx/data_property.h | ||||
| knx/device_object.cpp | ||||
| knx/device_object.h | ||||
| knx/dpt.cpp | ||||
| knx/dpt.h | ||||
| knx/dptconvert.cpp | ||||
| knx/dptconvert.h | ||||
| knx/function_property.h | ||||
| knx/group_object.cpp | ||||
| knx/group_object.h | ||||
| knx/group_object_table_object.cpp | ||||
| knx/group_object_table_object.h | ||||
| knx/interface_object.cpp | ||||
| knx/interface_object.h | ||||
| knx/ip/ip_data_link_layer.cpp | ||||
| knx/ip/ip_data_link_layer.h | ||||
| knx/ip/ip_host_protocol_address_information.cpp | ||||
| knx/ip/ip_host_protocol_address_information.h | ||||
| knx/ip/ip_parameter_object.cpp | ||||
| knx/ip/ip_parameter_object.h | ||||
| knx/ip/knx_ip_ch.cpp | ||||
| knx/ip/knx_ip_ch.h | ||||
| knx/ip/knx_ip_config_dib.cpp | ||||
| knx/ip/knx_ip_config_dib.h | ||||
| knx/ip/knx_ip_config_request.cpp | ||||
| knx/ip/knx_ip_config_request.h | ||||
| knx/ip/knx_ip_connect_request.cpp | ||||
| knx/ip/knx_ip_connect_request.h | ||||
| knx/ip/knx_ip_connect_response.cpp | ||||
| knx/ip/knx_ip_connect_response.h | ||||
| knx/ip/knx_ip_crd.cpp | ||||
| knx/ip/knx_ip_crd.h | ||||
| knx/ip/knx_ip_cri.cpp | ||||
| knx/ip/knx_ip_cri.h | ||||
| knx/ip/knx_ip_description_request.cpp | ||||
| knx/ip/knx_ip_description_request.h | ||||
| knx/ip/knx_ip_description_response.cpp | ||||
| knx/ip/knx_ip_description_response.h | ||||
| knx/ip/knx_ip_device_information_dib.cpp | ||||
| knx/ip/knx_ip_device_information_dib.h | ||||
| knx/ip/knx_ip_dib.cpp | ||||
| knx/ip/knx_ip_dib.h | ||||
| knx/ip/knx_ip_disconnect_request.cpp | ||||
| knx/ip/knx_ip_disconnect_request.h | ||||
| knx/ip/knx_ip_disconnect_response.cpp | ||||
| knx/ip/knx_ip_disconnect_response.h | ||||
| knx/ip/knx_ip_extended_device_information_dib.cpp | ||||
| knx/ip/knx_ip_extended_device_information_dib.h | ||||
| knx/ip/knx_ip_frame.cpp | ||||
| knx/ip/knx_ip_frame.h | ||||
| knx/ip/knx_ip_knx_addresses_dib.cpp | ||||
| knx/ip/knx_ip_knx_addresses_dib.h | ||||
| knx/ip/knx_ip_routing_indication.cpp | ||||
| knx/ip/knx_ip_routing_indication.h | ||||
| knx/ip/knx_ip_search_request.cpp | ||||
| knx/ip/knx_ip_search_request.h | ||||
| knx/ip/knx_ip_search_request_extended.cpp | ||||
| knx/ip/knx_ip_search_request_extended.h | ||||
| knx/ip/knx_ip_search_response.cpp | ||||
| knx/ip/knx_ip_search_response.h | ||||
| knx/ip/knx_ip_search_response_extended.cpp | ||||
| knx/ip/knx_ip_search_response_extended.h | ||||
| knx/ip/knx_ip_state_request.cpp | ||||
| knx/ip/knx_ip_state_request.h | ||||
| knx/ip/knx_ip_state_response.cpp | ||||
| knx/ip/knx_ip_state_response.h | ||||
| knx/ip/knx_ip_supported_service_dib.cpp | ||||
| knx/ip/knx_ip_supported_service_dib.h | ||||
| knx/ip/knx_ip_tunneling_ack.cpp | ||||
| knx/ip/knx_ip_tunneling_ack.h | ||||
| knx/ip/knx_ip_tunneling_info_dib.cpp | ||||
| knx/ip/knx_ip_tunneling_info_dib.h | ||||
| knx/ip/knx_ip_tunneling_request.cpp | ||||
| knx/ip/knx_ip_tunneling_request.h | ||||
| knx/ip/knx_ip_tunnel_connection.cpp | ||||
| knx/ip/knx_ip_tunnel_connection.h | ||||
| knx/ip/service_families.h | ||||
| knx/knx_types.h | ||||
| knx/knx_types.cpp | ||||
| knx/knx_value.cpp | ||||
| knx/knx_value.h | ||||
| knx/memory.cpp | ||||
| knx/memory.h | ||||
| knx/network_layer.cpp | ||||
| knx/network_layer.h | ||||
| knx/network_layer_coupler.cpp | ||||
| knx/network_layer_coupler.h | ||||
| knx/network_layer_device.cpp | ||||
| knx/network_layer_device.h | ||||
| knx/network_layer_entity.cpp | ||||
| knx/network_layer_entity.h | ||||
| knx/npdu.cpp | ||||
| knx/npdu.h | ||||
| knx/platform/linux_platform.cpp | ||||
| knx/platform/linux_platform.h | ||||
| knx/platform.cpp | ||||
| knx/platform.h | ||||
| knx/property.cpp | ||||
| knx/property.h | ||||
| knx/rf/rf_data_link_layer.cpp | ||||
| knx/rf/rf_data_link_layer.h | ||||
| knx/rf/rf_medium_object.cpp | ||||
| knx/rf/rf_medium_object.h | ||||
| knx/rf/rf_physical_layer.h | ||||
| knx/rf/rf_physical_layer_cc1101.cpp | ||||
| knx/rf/rf_physical_layer_cc1101.h | ||||
| knx/rf/rf_physical_layer_cc1310.cpp | ||||
| knx/rf/rf_physical_layer_cc1310.h | ||||
| knx/router_object.cpp | ||||
| knx/router_object.h | ||||
| knx/save_restore.h | ||||
| knx/secure_application_layer.cpp | ||||
| knx/secure_application_layer.h | ||||
| knx/security_interface_object.cpp | ||||
| knx/security_interface_object.h | ||||
| knx/table_object.cpp | ||||
| knx/table_object.h | ||||
| knx/tpdu.cpp | ||||
| knx/tpdu.h | ||||
| knx/tpuart_data_link_layer.cpp | ||||
| knx/tpuart_data_link_layer.h | ||||
| knx/tp_frame.cpp | ||||
| knx/tp_frame.h | ||||
| knx/transport_layer.cpp | ||||
| knx/transport_layer.h | ||||
| knx/usb_tunnel_interface.cpp | ||||
| knx/usb_tunnel_interface.h | ||||
| knx/util/aes.c | ||||
| knx/util/aes.h | ||||
| knx/util/aes.hpp | ||||
| knx/util/simple_map.h | ||||
| knx/util/logger.h | ||||
| knx/util/logger.cpp | ||||
| knx.h | ||||
| knx_facade.cpp | ||||
| knx_facade.h | ||||
| ./knx/application_layer/apdu.cpp | ||||
| ./knx/application_layer/apdu.h | ||||
| ./knx/application_layer/application_layer.cpp | ||||
| ./knx/application_layer/application_layer.h | ||||
| ./knx/bau/bau.cpp | ||||
| ./knx/bau/bau.h | ||||
| ./knx/bau/bau_systemB.cpp | ||||
| ./knx/bau/bau_systemB.h | ||||
| ./knx/coupler/bau_systemB_coupler.cpp | ||||
| ./knx/coupler/bau_systemB_coupler.h | ||||
| ./knx/bau/bau_systemB_device.cpp | ||||
| ./knx/bau/bau_systemB_device.h | ||||
| ./knx/bits.cpp | ||||
| ./knx/bits.h | ||||
| ./knx/cemi_server/cemi_server.cpp | ||||
| ./knx/cemi_server/cemi_server.h | ||||
| ./knx/cemi_server/cemi_server_object.cpp | ||||
| ./knx/cemi_server/cemi_server_object.h | ||||
| ./knx/cemi_server/usb_tunnel_interface.cpp | ||||
| ./knx/cemi_server/usb_tunnel_interface.h | ||||
| ./knx/config.h | ||||
| ./knx/coupler/bau091A.cpp | ||||
| ./knx/coupler/bau091A.h | ||||
| ./knx/coupler/bau2920.cpp | ||||
| ./knx/coupler/bau2920.h | ||||
| ./knx/coupler/router_object.cpp | ||||
| ./knx/coupler/router_object.h | ||||
| ./knx/datalink_layer/cemi_frame.cpp | ||||
| ./knx/datalink_layer/cemi_frame.h | ||||
| ./knx/datalink_layer/data_link_layer.cpp | ||||
| ./knx/datalink_layer/data_link_layer.h | ||||
| ./knx/data_secure/secure_application_layer.cpp | ||||
| ./knx/data_secure/secure_application_layer.h | ||||
| ./knx/data_secure/security_interface_object.cpp | ||||
| ./knx/data_secure/security_interface_object.h | ||||
| ./knx/group_object/datapoint_types.cpp | ||||
| ./knx/group_object/datapoint_types.h | ||||
| ./knx/group_object/dpt.cpp | ||||
| ./knx/group_object/dpt.h | ||||
| ./knx/group_object/dptconvert.cpp | ||||
| ./knx/group_object/dptconvert.h | ||||
| ./knx/group_object/group_object.cpp | ||||
| ./knx/group_object/group_object.h | ||||
| ./knx/group_object/knx_value.cpp | ||||
| ./knx/group_object/knx_value.h | ||||
| ./knx/interface_object/address_table_object.cpp | ||||
| ./knx/interface_object/address_table_object.h | ||||
| ./knx/interface_object/application_program_object.cpp | ||||
| ./knx/interface_object/application_program_object.h | ||||
| ./knx/interface_object/association_table_object.cpp | ||||
| ./knx/interface_object/association_table_object.h | ||||
| ./knx/interface_object/callback_property.h | ||||
| ./knx/interface_object/data_property.cpp | ||||
| ./knx/interface_object/data_property.h | ||||
| ./knx/interface_object/device_object.cpp | ||||
| ./knx/interface_object/device_object.h | ||||
| ./knx/interface_object/function_property.h | ||||
| ./knx/interface_object/group_object_table_object.cpp | ||||
| ./knx/interface_object/group_object_table_object.h | ||||
| ./knx/interface_object/interface_object.cpp | ||||
| ./knx/interface_object/interface_object.h | ||||
| ./knx/interface_object/property.cpp | ||||
| ./knx/interface_object/property.h | ||||
| ./knx/interface_object/table_object.cpp | ||||
| ./knx/interface_object/table_object.h | ||||
| ./knx/ip/bau57B0.cpp | ||||
| ./knx/ip/bau57B0.h | ||||
| ./knx/ip/ip_data_link_layer.cpp | ||||
| ./knx/ip/ip_data_link_layer.h | ||||
| ./knx/ip/ip_host_protocol_address_information.cpp | ||||
| ./knx/ip/ip_host_protocol_address_information.h | ||||
| ./knx/ip/ip_parameter_object.cpp | ||||
| ./knx/ip/ip_parameter_object.h | ||||
| ./knx/ip/knx_ip_ch.cpp | ||||
| ./knx/ip/knx_ip_ch.h | ||||
| ./knx/ip/knx_ip_config_dib.cpp | ||||
| ./knx/ip/knx_ip_config_dib.h | ||||
| ./knx/ip/knx_ip_config_request.cpp | ||||
| ./knx/ip/knx_ip_config_request.h | ||||
| ./knx/ip/knx_ip_connect_request.cpp | ||||
| ./knx/ip/knx_ip_connect_request.h | ||||
| ./knx/ip/knx_ip_connect_response.cpp | ||||
| ./knx/ip/knx_ip_connect_response.h | ||||
| ./knx/ip/knx_ip_crd.cpp | ||||
| ./knx/ip/knx_ip_crd.h | ||||
| ./knx/ip/knx_ip_cri.cpp | ||||
| ./knx/ip/knx_ip_cri.h | ||||
| ./knx/ip/knx_ip_description_request.cpp | ||||
| ./knx/ip/knx_ip_description_request.h | ||||
| ./knx/ip/knx_ip_description_response.cpp | ||||
| ./knx/ip/knx_ip_description_response.h | ||||
| ./knx/ip/knx_ip_device_information_dib.cpp | ||||
| ./knx/ip/knx_ip_device_information_dib.h | ||||
| ./knx/ip/knx_ip_dib.cpp | ||||
| ./knx/ip/knx_ip_dib.h | ||||
| ./knx/ip/knx_ip_disconnect_request.cpp | ||||
| ./knx/ip/knx_ip_disconnect_request.h | ||||
| ./knx/ip/knx_ip_disconnect_response.cpp | ||||
| ./knx/ip/knx_ip_disconnect_response.h | ||||
| ./knx/ip/knx_ip_extended_device_information_dib.cpp | ||||
| ./knx/ip/knx_ip_extended_device_information_dib.h | ||||
| ./knx/ip/knx_ip_frame.cpp | ||||
| ./knx/ip/knx_ip_frame.h | ||||
| ./knx/ip/knx_ip_knx_addresses_dib.cpp | ||||
| ./knx/ip/knx_ip_knx_addresses_dib.h | ||||
| ./knx/ip/knx_ip_routing_indication.cpp | ||||
| ./knx/ip/knx_ip_routing_indication.h | ||||
| ./knx/ip/knx_ip_search_request.cpp | ||||
| ./knx/ip/knx_ip_search_request.h | ||||
| ./knx/ip/knx_ip_search_request_extended.cpp | ||||
| ./knx/ip/knx_ip_search_request_extended.h | ||||
| ./knx/ip/knx_ip_search_response.cpp | ||||
| ./knx/ip/knx_ip_search_response.h | ||||
| ./knx/ip/knx_ip_search_response_extended.cpp | ||||
| ./knx/ip/knx_ip_search_response_extended.h | ||||
| ./knx/ip/knx_ip_state_request.cpp | ||||
| ./knx/ip/knx_ip_state_request.h | ||||
| ./knx/ip/knx_ip_state_response.cpp | ||||
| ./knx/ip/knx_ip_state_response.h | ||||
| ./knx/ip/knx_ip_supported_service_dib.cpp | ||||
| ./knx/ip/knx_ip_supported_service_dib.h | ||||
| ./knx/ip/knx_ip_tunneling_ack.cpp | ||||
| ./knx/ip/knx_ip_tunneling_ack.h | ||||
| ./knx/ip/knx_ip_tunneling_info_dib.cpp | ||||
| ./knx/ip/knx_ip_tunneling_info_dib.h | ||||
| ./knx/ip/knx_ip_tunneling_request.cpp | ||||
| ./knx/ip/knx_ip_tunneling_request.h | ||||
| ./knx/ip/knx_ip_tunnel_connection.cpp | ||||
| ./knx/ip/knx_ip_tunnel_connection.h | ||||
| ./knx/ip/service_families.h | ||||
| ./knx/knx_facade.cpp | ||||
| ./knx/knx_facade.h | ||||
| ./knx/knx_types.cpp | ||||
| ./knx/knx_types.h | ||||
| ./knx/network_layer/network_layer.cpp | ||||
| ./knx/network_layer/network_layer.h | ||||
| ./knx/coupler/network_layer_coupler.cpp | ||||
| ./knx/coupler/network_layer_coupler.h | ||||
| ./knx/network_layer/network_layer_device.cpp | ||||
| ./knx/network_layer/network_layer_device.h | ||||
| ./knx/network_layer/network_layer_entity.cpp | ||||
| ./knx/network_layer/network_layer_entity.h | ||||
| ./knx/network_layer/npdu.cpp | ||||
| ./knx/network_layer/npdu.h | ||||
| ./knx/platform/arduino_platform.cpp | ||||
| ./knx/platform/arduino_platform.h | ||||
| ./knx/platform/cc1310_platform.cpp | ||||
| ./knx/platform/cc1310_platform.h | ||||
| ./knx/platform/esp32_platform.cpp | ||||
| ./knx/platform/esp32_platform.h | ||||
| ./knx/platform/esp_platform.cpp | ||||
| ./knx/platform/esp_platform.h | ||||
| ./knx/platform/linux_platform.cpp | ||||
| ./knx/platform/linux_platform.h | ||||
| ./knx/platform/platform.cpp | ||||
| ./knx/platform/platform.h | ||||
| ./knx/platform/rp2040_arduino_platform.cpp | ||||
| ./knx/platform/rp2040_arduino_platform.h | ||||
| ./knx/platform/samd_platform.cpp | ||||
| ./knx/platform/samd_platform.h | ||||
| ./knx/platform/stm32_platform.cpp | ||||
| ./knx/platform/stm32_platform.h | ||||
| ./knx/rf/bau27B0.cpp | ||||
| ./knx/rf/bau27B0.h | ||||
| ./knx/rf/rf_data_link_layer.cpp | ||||
| ./knx/rf/rf_data_link_layer.h | ||||
| ./knx/rf/rf_medium_object.cpp | ||||
| ./knx/rf/rf_medium_object.h | ||||
| ./knx/rf/rf_physical_layer.h | ||||
| ./knx/rf/rf_physical_layer_cc1101.cpp | ||||
| ./knx/rf/rf_physical_layer_cc1101.h | ||||
| ./knx/rf/rf_physical_layer_cc1310.cpp | ||||
| ./knx/rf/rf_physical_layer_cc1310.h | ||||
| ./knx/tp/bau07B0.cpp | ||||
| ./knx/tp/bau07B0.h | ||||
| ./knx/tp/tpuart_data_link_layer.cpp | ||||
| ./knx/tp/tpuart_data_link_layer.h | ||||
| ./knx/tp/tp_frame.cpp | ||||
| ./knx/tp/tp_frame.h | ||||
| ./knx/transport_layer/tpdu.cpp | ||||
| ./knx/transport_layer/tpdu.h | ||||
| ./knx/transport_layer/transport_layer.cpp | ||||
| ./knx/transport_layer/transport_layer.h | ||||
| ./knx/util/aes.c | ||||
| ./knx/util/aes.h | ||||
| ./knx/util/aes.hpp | ||||
| ./knx/util/logger.cpp | ||||
| ./knx/util/logger.h | ||||
| ./knx/util/memory.cpp | ||||
| ./knx/util/memory.h | ||||
| ./knx/util/save_restore.h | ||||
| ./knx/util/simple_map.h | ||||
| ./knx.h | ||||
| ) | ||||
| 
 | ||||
| 
 | ||||
|  | ||||
| @ -1,6 +1,7 @@ | ||||
| #include "apdu.h" | ||||
| #include "cemi_frame.h" | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #include "../datalink_layer/cemi_frame.h" | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| APDU::APDU(uint8_t* data, CemiFrame& frame): _data(data), _frame(frame) | ||||
| { | ||||
| @ -1,8 +1,9 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| #include "util/logger.h" | ||||
| #include "knx_types.h" | ||||
| #include "../util/logger.h" | ||||
| #include "../knx_types.h" | ||||
| 
 | ||||
| #include <string.h> | ||||
| 
 | ||||
| class CemiFrame; | ||||
| 
 | ||||
| @ -1,13 +1,16 @@ | ||||
| #include "application_layer.h" | ||||
| #include "transport_layer.h" | ||||
| #include "cemi_frame.h" | ||||
| #include "association_table_object.h" | ||||
| 
 | ||||
| #include "apdu.h" | ||||
| #include "bau.h" | ||||
| #include "string.h" | ||||
| #include "../transport_layer/transport_layer.h" | ||||
| #include "../datalink_layer/cemi_frame.h" | ||||
| #include "../interface_object/association_table_object.h" | ||||
| #include "../bau/bau.h" | ||||
| #include "../util/logger.h" | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| // for memcpy
 | ||||
| #include <cstring> | ||||
| #include <stdio.h> | ||||
| #include "util/logger.h" | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #define LOGGER Logger::logger("ApplicationLayer") | ||||
| 
 | ||||
| @ -1,8 +1,9 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| #include "knx_types.h" | ||||
| #include "apdu.h" | ||||
| #include "../knx_types.h" | ||||
| 
 | ||||
| #include <cstdint> | ||||
| 
 | ||||
| class AssociationTableObject; | ||||
| class BusAccessUnit; | ||||
| @ -1,7 +1,9 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "../knx_types.h" | ||||
| #include "../interface_object/interface_object.h" | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| #include "knx_types.h" | ||||
| #include "interface_object.h" | ||||
| 
 | ||||
| typedef void (*BeforeRestartCallback)(void); | ||||
| typedef bool (*FunctionPropertyCallback)(uint8_t objectIndex, uint8_t propertyId, uint8_t length, uint8_t* data, uint8_t* resultData, uint8_t& resultLength); | ||||
|  | ||||
| @ -1,5 +1,7 @@ | ||||
| #include "bau_systemB.h" | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include <string.h> | ||||
| #include <stdio.h> | ||||
| 
 | ||||
|  | ||||
| @ -1,16 +1,17 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "config.h" | ||||
| #include "bau.h" | ||||
| #include "security_interface_object.h" | ||||
| #include "application_program_object.h" | ||||
| #include "application_layer.h" | ||||
| #include "secure_application_layer.h" | ||||
| #include "transport_layer.h" | ||||
| #include "network_layer.h" | ||||
| #include "data_link_layer.h" | ||||
| #include "platform.h" | ||||
| #include "memory.h" | ||||
| 
 | ||||
| #include "../config.h" | ||||
| #include "../data_secure/security_interface_object.h" | ||||
| #include "../data_secure/secure_application_layer.h" | ||||
| #include "../interface_object/application_program_object.h" | ||||
| #include "../application_layer/application_layer.h" | ||||
| #include "../transport_layer/transport_layer.h" | ||||
| #include "../network_layer/network_layer.h" | ||||
| #include "../datalink_layer/data_link_layer.h" | ||||
| #include "../platform/platform.h" | ||||
| #include "../util/memory.h" | ||||
| 
 | ||||
| class BauSystemB : protected BusAccessUnit | ||||
| { | ||||
|  | ||||
| @ -1,5 +1,7 @@ | ||||
| #include "bau_systemB_device.h" | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include <string.h> | ||||
| #include <stdio.h> | ||||
| 
 | ||||
|  | ||||
| @ -1,20 +1,21 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "config.h" | ||||
| #include "bau_systemB.h" | ||||
| #include "device_object.h" | ||||
| #include "address_table_object.h" | ||||
| #include "association_table_object.h" | ||||
| #include "group_object_table_object.h" | ||||
| #include "security_interface_object.h" | ||||
| #include "application_program_object.h" | ||||
| #include "application_layer.h" | ||||
| #include "secure_application_layer.h" | ||||
| #include "transport_layer.h" | ||||
| #include "network_layer_device.h" | ||||
| #include "data_link_layer.h" | ||||
| #include "platform.h" | ||||
| #include "memory.h" | ||||
| 
 | ||||
| #include "../config.h" | ||||
| #include "../interface_object/device_object.h" | ||||
| #include "../interface_object/address_table_object.h" | ||||
| #include "../interface_object/association_table_object.h" | ||||
| #include "../interface_object/group_object_table_object.h" | ||||
| #include "../interface_object/application_program_object.h" | ||||
| #include "../data_secure/security_interface_object.h" | ||||
| #include "../data_secure/secure_application_layer.h" | ||||
| #include "../application_layer/application_layer.h" | ||||
| #include "../transport_layer/transport_layer.h" | ||||
| #include "../network_layer/network_layer_device.h" | ||||
| #include "../datalink_layer/data_link_layer.h" | ||||
| #include "../platform/platform.h" | ||||
| #include "../util/memory.h" | ||||
| 
 | ||||
| class BauSystemBDevice : public BauSystemB | ||||
| { | ||||
|  | ||||
| @ -1,10 +1,12 @@ | ||||
| #include "cemi_server.h" | ||||
| #include "cemi_frame.h" | ||||
| #include "bau_systemB.h" | ||||
| 
 | ||||
| #include "usb_tunnel_interface.h" | ||||
| #include "data_link_layer.h" | ||||
| #include "string.h" | ||||
| #include "bits.h" | ||||
| #include "../bau/bau_systemB.h" | ||||
| #include "../datalink_layer/cemi_frame.h" | ||||
| #include "../datalink_layer/data_link_layer.h" | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include <cstring> | ||||
| #include <stdio.h> | ||||
| 
 | ||||
| CemiServer::CemiServer(BauSystemB& bau) | ||||
|  | ||||
| @ -1,8 +1,8 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| #include "knx_types.h" | ||||
| #include "usb_tunnel_interface.h" | ||||
| #include "../knx_types.h" | ||||
| #include <stdint.h> | ||||
| 
 | ||||
| class BauSystemB; | ||||
| class DataLinkLayer; | ||||
|  | ||||
| @ -1,7 +1,8 @@ | ||||
| #include <cstring> | ||||
| #include "cemi_server_object.h" | ||||
| #include "bits.h" | ||||
| #include "data_property.h" | ||||
| 
 | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include <cstring> | ||||
| 
 | ||||
| CemiServerObject::CemiServerObject() | ||||
| { | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "interface_object.h" | ||||
| #include "../interface_object/interface_object.h" | ||||
| 
 | ||||
| class CemiServerObject: public InterfaceObject | ||||
| { | ||||
|  | ||||
| @ -1,12 +1,12 @@ | ||||
| #include "usb_tunnel_interface.h" | ||||
| 
 | ||||
| #include "cemi_server.h" | ||||
| #include "cemi_frame.h" | ||||
| #include "../datalink_layer/cemi_frame.h" | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include <stdio.h> | ||||
| #include <string.h> | ||||
| 
 | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #define MAX_EP_SIZE 64 | ||||
| #define HID_HEADER_SIZE 3 | ||||
| #define MAX_KNX_TELEGRAM_SIZE 263 | ||||
|  | ||||
| @ -1,9 +1,10 @@ | ||||
| #include "bau091A.h" | ||||
| 
 | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #include <string.h> | ||||
| #include <stdio.h> | ||||
| 
 | ||||
| using namespace std; | ||||
| 
 | ||||
| /* ToDos
 | ||||
| Announce the line status of sec side 03_05_01 4.4.3 | ||||
| @ -1,13 +1,12 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "config.h" | ||||
| 
 | ||||
| #include "bau_systemB_coupler.h" | ||||
| #include "router_object.h" | ||||
| #include "ip/ip_parameter_object.h" | ||||
| #include "ip/ip_data_link_layer.h" | ||||
| #include "tpuart_data_link_layer.h" | ||||
| #include "cemi_server_object.h" | ||||
| #include "../config.h" | ||||
| #include "../interface_object/router_object.h" | ||||
| #include "../ip/ip_parameter_object.h" | ||||
| #include "../ip/ip_data_link_layer.h" | ||||
| #include "../tp/tpuart_data_link_layer.h" | ||||
| #include "../cemi_server/cemi_server_object.h" | ||||
| 
 | ||||
| class Bau091A : public BauSystemBCoupler, public ITpUartCallBacks, public DataLinkLayerCallbacks | ||||
| { | ||||
| @ -1,7 +1,9 @@ | ||||
| #include "bau2920.h" | ||||
| #include "bits.h" | ||||
| #include <string.h> | ||||
| #include <stdio.h> | ||||
| 
 | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include <cstring> | ||||
| #include <cstdio> | ||||
| 
 | ||||
| using namespace std; | ||||
| 
 | ||||
| @ -1,17 +1,17 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "config.h" | ||||
| #include "../config.h" | ||||
| 
 | ||||
| #include "bau_systemB_coupler.h" | ||||
| #include "tpuart_data_link_layer.h" | ||||
| #if defined(DeviceFamily_CC13X0) | ||||
|     #include "rf/rf_physical_layer_cc1310.h" | ||||
|     #include "../rf/rf_physical_layer_cc1310.h" | ||||
| #else | ||||
|     #include "rf/rf_physical_layer_cc1101.h" | ||||
|     #include "../rf/rf_physical_layer_cc1101.h" | ||||
| #endif | ||||
| #include "rf/rf_data_link_layer.h" | ||||
| #include "rf/rf_medium_object.h" | ||||
| #include "cemi_server_object.h" | ||||
| #include "../rf/rf_data_link_layer.h" | ||||
| #include "../rf/rf_medium_object.h" | ||||
| #include "../cemi_server/cemi_server_object.h" | ||||
| 
 | ||||
| class Bau2920 : public BauSystemBCoupler | ||||
| { | ||||
| @ -1,5 +1,7 @@ | ||||
| #include "bau_systemB_coupler.h" | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include <string.h> | ||||
| #include <stdio.h> | ||||
| 
 | ||||
| @ -1,18 +1,19 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "config.h" | ||||
| #include "bau_systemB.h" | ||||
| #include "device_object.h" | ||||
| #include "security_interface_object.h" | ||||
| #include "application_program_object.h" | ||||
| #include "router_object.h" | ||||
| #include "application_layer.h" | ||||
| #include "secure_application_layer.h" | ||||
| #include "transport_layer.h" | ||||
| #include "network_layer_coupler.h" | ||||
| #include "data_link_layer.h" | ||||
| #include "platform.h" | ||||
| #include "memory.h" | ||||
| 
 | ||||
| #include "../config.h" | ||||
| #include "../bau/bau_systemB.h" | ||||
| #include "../interface_object/device_object.h" | ||||
| #include "../interface_object/application_program_object.h" | ||||
| #include "../data_secure/security_interface_object.h" | ||||
| #include "../data_secure/secure_application_layer.h" | ||||
| #include "../application_layer/application_layer.h" | ||||
| #include "../transport_layer/transport_layer.h" | ||||
| #include "../datalink_layer/data_link_layer.h" | ||||
| #include "../platform/platform.h" | ||||
| #include "../util/memory.h" | ||||
| 
 | ||||
| class BauSystemBCoupler : public BauSystemB | ||||
| { | ||||
| @ -1,10 +1,10 @@ | ||||
| #include "network_layer_coupler.h" | ||||
| #include "data_link_layer.h" | ||||
| #include "device_object.h" | ||||
| 
 | ||||
| #include "router_object.h" | ||||
| #include "tpdu.h" | ||||
| #include "cemi_frame.h" | ||||
| #include "bits.h" | ||||
| #include "../interface_object/device_object.h" | ||||
| #include "../transport_layer/tpdu.h" | ||||
| #include "../datalink_layer/data_link_layer.h" | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| NetworkLayerCoupler::NetworkLayerCoupler(DeviceObject& deviceObj, | ||||
|         TransportLayer& layer) : | ||||
| @ -1,11 +1,10 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| #include "knx_types.h" | ||||
| #include "npdu.h" | ||||
| #include "transport_layer.h" | ||||
| #include "network_layer_entity.h" | ||||
| #include "../knx_types.h" | ||||
| #include "network_layer.h" | ||||
| #include "transport_layer.h" | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| 
 | ||||
| class DeviceObject; | ||||
| class RouterObject; | ||||
| @ -1,13 +1,10 @@ | ||||
| #include "config.h" | ||||
| #include "router_object.h" | ||||
| 
 | ||||
| #include "../config.h" | ||||
| #include "../bits.h" | ||||
| #include "../util/memory.h" | ||||
| 
 | ||||
| #include <cstring> | ||||
| #include "router_object.h" | ||||
| #include "bits.h" | ||||
| #include "memory.h" | ||||
| #include "data_property.h" | ||||
| #include "callback_property.h" | ||||
| #include "function_property.h" | ||||
| 
 | ||||
| 
 | ||||
| // Filter Table Realization Type 3
 | ||||
| // The Filter Table Realisation Type 3 shall be organised as a memory mapped bit-field of
 | ||||
| @ -1,9 +1,8 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "config.h" | ||||
| 
 | ||||
| #include "table_object.h" | ||||
| #include "knx_types.h" | ||||
| #include "../interface_object/table_object.h" | ||||
| #include "../config.h" | ||||
| #include "../knx_types.h" | ||||
| 
 | ||||
| class Memory; | ||||
| 
 | ||||
| @ -1,25 +1,28 @@ | ||||
| #include "config.h" | ||||
| #include "../config.h" | ||||
| #ifdef USE_DATASECURE | ||||
| 
 | ||||
| #include "secure_application_layer.h" | ||||
| #include "transport_layer.h" | ||||
| #include "cemi_frame.h" | ||||
| #include "association_table_object.h" | ||||
| #include "address_table_object.h" | ||||
| 
 | ||||
| #include "security_interface_object.h" | ||||
| #include "device_object.h" | ||||
| #include "apdu.h" | ||||
| #include "bau.h" | ||||
| #include "string.h" | ||||
| #include "bits.h" | ||||
| #include "util/logger.h" | ||||
| #include "../bau/bau.h" | ||||
| #include "../application_layer/apdu.h" | ||||
| #include "../transport_layer/transport_layer.h" | ||||
| #include "../datalink_layer/cemi_frame.h" | ||||
| #include "../interface_object/association_table_object.h" | ||||
| #include "../interface_object/address_table_object.h" | ||||
| #include "../interface_object/device_object.h" | ||||
| #include "../bits.h" | ||||
| #include "../util/logger.h" | ||||
| 
 | ||||
| #include <cstring> | ||||
| 
 | ||||
| #define LOGGER Logger::logger("SecureApplicationLayer") | ||||
| 
 | ||||
| // Select what cipher modes to include. We need AES128-CBC and AES128-CTR modes.
 | ||||
| #define CBC 1 | ||||
| #define CTR 1 | ||||
| #define ECB 0 | ||||
| #include "util/aes.hpp" | ||||
| #include "../util/aes.hpp" | ||||
| 
 | ||||
| static constexpr uint8_t kSecureDataPdu = 0; | ||||
| static constexpr uint8_t kSecureSyncRequest = 2; | ||||
|  | ||||
| @ -1,10 +1,10 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "application_layer.h" | ||||
| #include "../application_layer/application_layer.h" | ||||
| #include "../knx_types.h" | ||||
| #include "../util/simple_map.h" | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| #include "knx_types.h" | ||||
| #include "apdu.h" | ||||
| #include "util/simple_map.h" | ||||
| 
 | ||||
| class DeviceObject; | ||||
| class SecurityInterfaceObject; | ||||
|  | ||||
| @ -1,13 +1,11 @@ | ||||
| #include "config.h" | ||||
| #include "../config.h" | ||||
| #ifdef USE_DATASECURE | ||||
| 
 | ||||
| #include <cstring> | ||||
| #include "security_interface_object.h" | ||||
| #include "secure_application_layer.h" | ||||
| #include "bits.h" | ||||
| #include "data_property.h" | ||||
| #include "callback_property.h" | ||||
| #include "function_property.h" | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include <cstring> | ||||
| 
 | ||||
| // Our FDSK. It is never changed from ETS. This is the permanent default tool key that is restored on every factory reset of the device.
 | ||||
| const uint8_t SecurityInterfaceObject::_fdsk[] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F }; | ||||
|  | ||||
| @ -1,10 +1,10 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "config.h" | ||||
| #include "../config.h" | ||||
| #ifdef USE_DATASECURE | ||||
| 
 | ||||
| #include "interface_object.h" | ||||
| #include "knx_types.h" | ||||
| #include "../interface_object/interface_object.h" | ||||
| #include "../knx_types.h" | ||||
| 
 | ||||
| class SecurityInterfaceObject: public InterfaceObject | ||||
| { | ||||
|  | ||||
| @ -1,7 +1,9 @@ | ||||
| #include "cemi_frame.h" | ||||
| #include "bits.h" | ||||
| #include "string.h" | ||||
| #include <stdio.h> | ||||
| 
 | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include <cstring> | ||||
| #include <cstdio> | ||||
| 
 | ||||
| /*
 | ||||
| cEMI Frame Format | ||||
|  | ||||
| @ -1,13 +1,13 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "knx_types.h" | ||||
| #include <stdint.h> | ||||
| #include "npdu.h" | ||||
| #include "tpdu.h" | ||||
| #include "apdu.h" | ||||
| #include "config.h" | ||||
| #include "util/logger.h" | ||||
| #include "../knx_types.h" | ||||
| #include "../application_layer/apdu.h" | ||||
| #include "../transport_layer/tpdu.h" | ||||
| #include "../network_layer/npdu.h" | ||||
| #include "../config.h" | ||||
| #include "../util/logger.h" | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| 
 | ||||
| #define NPDU_LPDU_DIFF 8 | ||||
| #define TPDU_NPDU_DIFF 1 | ||||
|  | ||||
| @ -1,11 +1,10 @@ | ||||
| #include "data_link_layer.h" | ||||
| 
 | ||||
| #include "platform.h" | ||||
| #include "device_object.h" | ||||
| #include "cemi_server.h" | ||||
| #include "cemi_frame.h" | ||||
| #include "util/logger.h" | ||||
| #include "bits.h" | ||||
| #include "../platform/platform.h" | ||||
| #include "../interface_object/device_object.h" | ||||
| #include "../cemi_server/cemi_server.h" | ||||
| #include "../util/logger.h" | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #define LOGGER Logger::logger("DataLinkLayer") | ||||
| 
 | ||||
|  | ||||
| @ -1,16 +1,19 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "config.h" | ||||
| #include "../config.h" | ||||
| 
 | ||||
| #include "cemi_frame.h" | ||||
| 
 | ||||
| #include "../interface_object/device_object.h" | ||||
| #include "../knx_types.h" | ||||
| #include "../network_layer/network_layer_entity.h" | ||||
| #ifdef KNX_TUNNELING | ||||
|     #include "../ip/ip_parameter_object.h" | ||||
| #endif | ||||
| #include "../cemi_server/cemi_server.h" | ||||
| #include "../bau/bau.h" | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| #include "device_object.h" | ||||
| #include "knx_types.h" | ||||
| #include "network_layer_entity.h" | ||||
| #ifdef KNX_TUNNELING | ||||
|     #include "ip/ip_parameter_object.h" | ||||
| #endif | ||||
| #include "cemi_server.h" | ||||
| #include "bau.h" | ||||
| 
 | ||||
| class Platform; | ||||
| 
 | ||||
|  | ||||
| @ -9,6 +9,7 @@ | ||||
|  */ | ||||
| 
 | ||||
| #include "datapoint_types.h" | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| 
 | ||||
| // Sign for a negative DPT9 float value
 | ||||
|  | ||||
| @ -1,8 +1,9 @@ | ||||
| #include "dpt.h" | ||||
| #include "util/logger.h" | ||||
| #define LOGGER Logger::logger("Dpt") | ||||
| 
 | ||||
| #include "bits.h" | ||||
| #include "../util/logger.h" | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #define LOGGER Logger::logger("Dpt") | ||||
| 
 | ||||
| Dpt::Dpt() | ||||
| {} | ||||
|  | ||||
| @ -1,5 +1,7 @@ | ||||
| #include "dptconvert.h" | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include <cmath> | ||||
| #include <cstdlib> | ||||
| #include <cstring> | ||||
|  | ||||
| @ -28,11 +28,11 @@ | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| #include <cstdint> | ||||
| 
 | ||||
| #include "dpt.h" | ||||
| #include "knx_value.h" | ||||
| 
 | ||||
| #include <cstdint> | ||||
| 
 | ||||
| /**
 | ||||
|  * Converts the KNX Payload given by the specific DPT and puts the value in the KNXValue struc | ||||
|  */ | ||||
|  | ||||
| @ -1,8 +1,10 @@ | ||||
| #include "group_object.h" | ||||
| #include "string.h" | ||||
| 
 | ||||
| #include "datapoint_types.h" | ||||
| #include "group_object_table_object.h" | ||||
| #include "bits.h" | ||||
| #include "../interface_objects/group_object_table_object.h" | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include <cstring> | ||||
| 
 | ||||
| #ifdef SMALL_GROUPOBJECT | ||||
|     GroupObjectUpdatedHandler GroupObject::_updateHandlerStatic = 0; | ||||
|  | ||||
| @ -1,9 +1,10 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "../knx_types.h" | ||||
| #include "dptconvert.h" | ||||
| 
 | ||||
| #include <stddef.h> | ||||
| #include <stdint.h> | ||||
| #include "knx_types.h" | ||||
| #include "dptconvert.h" | ||||
| 
 | ||||
| class GroupObjectTableObject; | ||||
| 
 | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| #include <cstring> | ||||
| 
 | ||||
| #include "address_table_object.h" | ||||
| #include "data_property.h" | ||||
| #include "util/logger.h" | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #include "../util/logger.h" | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include <cstring> | ||||
| 
 | ||||
| #define LOGGER Logger::logger("AddressTableObject") | ||||
| 
 | ||||
|  | ||||
| @ -1,10 +1,10 @@ | ||||
| #include "application_program_object.h" | ||||
| #include "data_property.h" | ||||
| #include "callback_property.h" | ||||
| #include "dptconvert.h" | ||||
| 
 | ||||
| #include "../group_object/dptconvert.h" | ||||
| #include "../util/logger.h" | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include <cstring> | ||||
| #include "util/logger.h" | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #define LOGGER Logger::logger("ApplicationProgramObject") | ||||
| 
 | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| #include <cstring> | ||||
| 
 | ||||
| #include "association_table_object.h" | ||||
| #include "data_property.h" | ||||
| #include "util/logger.h" | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #include "../util/logger.h" | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include <cstring> | ||||
| 
 | ||||
| #define LOGGER Logger::logger("AssociationTableObject") | ||||
| 
 | ||||
|  | ||||
| @ -1,5 +1,6 @@ | ||||
| #include "data_property.h" | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include <cstring> | ||||
| 
 | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| #include <cstring> | ||||
| #include "device_object.h" | ||||
| #include "bits.h" | ||||
| #include "data_property.h" | ||||
| #include "callback_property.h" | ||||
| #include "config.h" | ||||
| 
 | ||||
| #include "../bits.h" | ||||
| #include "../config.h" | ||||
| 
 | ||||
| #include <cstring> | ||||
| 
 | ||||
| #define LEN_KNX_SERIAL 6 | ||||
| 
 | ||||
|  | ||||
| @ -1,10 +1,10 @@ | ||||
| #include <cstring> | ||||
| 
 | ||||
| #include "group_object_table_object.h" | ||||
| #include "group_object.h" | ||||
| #include "data_property.h" | ||||
| #include "util/logger.h" | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #include "../group_object/group_object.h" | ||||
| #include "../util/logger.h" | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include <cstring> | ||||
| 
 | ||||
| #define LOGGER Logger::logger("GroupObjectTableObject") | ||||
| 
 | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "table_object.h" | ||||
| #include "group_object.h" | ||||
| #include "../group_object/group_object.h" | ||||
| 
 | ||||
| class GroupObjectTableObject : public TableObject | ||||
| { | ||||
|  | ||||
| @ -1,8 +1,8 @@ | ||||
| #include <cstring> | ||||
| 
 | ||||
| #include "interface_object.h" | ||||
| #include "data_property.h" | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include <cstring> | ||||
| 
 | ||||
| InterfaceObject::~InterfaceObject() | ||||
| { | ||||
|  | ||||
| @ -1,9 +1,13 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include <stddef.h> | ||||
| #include "property.h" | ||||
| #include "save_restore.h" | ||||
| #include "knx_types.h" | ||||
| #include "data_property.h" | ||||
| #include "callback_property.h" | ||||
| #include "function_property.h" | ||||
| #include "../util/save_restore.h" | ||||
| #include "../knx_types.h" | ||||
| 
 | ||||
| #include <stddef.h> | ||||
| 
 | ||||
| /** Enum for the type of an interface object. See Section 2.2 of knx:3/7/3 */ | ||||
| enum ObjectType | ||||
|  | ||||
| @ -1,8 +1,8 @@ | ||||
| #include "property.h" | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include <cstring> | ||||
| using namespace std; | ||||
| 
 | ||||
| PropertyID Property::Id() const | ||||
| { | ||||
|  | ||||
| @ -9,8 +9,9 @@ | ||||
|  */ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "../util/save_restore.h" | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| #include "save_restore.h" | ||||
| 
 | ||||
| /** The data type of a property. */ | ||||
| enum PropertyDataType | ||||
|  | ||||
| @ -1,10 +1,8 @@ | ||||
| #include <string.h> | ||||
| 
 | ||||
| #include "table_object.h" | ||||
| #include "bits.h" | ||||
| #include "memory.h" | ||||
| #include "callback_property.h" | ||||
| #include "data_property.h" | ||||
| #include "../bits.h" | ||||
| #include "../util/memory.h" | ||||
| 
 | ||||
| #include <cstring> | ||||
| 
 | ||||
| BeforeTablesUnloadCallback TableObject::_beforeTablesUnload = 0; | ||||
| uint8_t TableObject::_tableUnloadCount = 0; | ||||
|  | ||||
| @ -1,5 +1,7 @@ | ||||
| #include "bau57B0.h" | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include <string.h> | ||||
| #include <stdio.h> | ||||
| 
 | ||||
| @ -1,11 +1,11 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "config.h" | ||||
| #include "../config.h" | ||||
| 
 | ||||
| #include "bau_systemB_device.h" | ||||
| #include "ip/ip_parameter_object.h" | ||||
| #include "ip/ip_data_link_layer.h" | ||||
| #include "cemi_server_object.h" | ||||
| #include "ip_parameter_object.h" | ||||
| #include "ip_data_link_layer.h" | ||||
| #include "../bau/bau_systemB_device.h" | ||||
| #include "../cemi_server/cemi_server_object.h" | ||||
| 
 | ||||
| class Bau57B0 : public BauSystemBDevice, public DataLinkLayerCallbacks | ||||
| { | ||||
| @ -1,18 +1,10 @@ | ||||
| #include "ip_data_link_layer.h" | ||||
| 
 | ||||
| #include "../bits.h" | ||||
| #include "../platform.h" | ||||
| #include "../device_object.h" | ||||
| #include "knx_ip_routing_indication.h" | ||||
| #include "knx_ip_search_request.h" | ||||
| #include "knx_ip_search_response.h" | ||||
| #include "knx_ip_search_request_extended.h" | ||||
| #include "knx_ip_search_response_extended.h" | ||||
| #include "../util/logger.h" | ||||
| 
 | ||||
| #define LOGGER Logger::logger("IpDataLinkLayer") | ||||
| 
 | ||||
| 
 | ||||
| #include "knx_ip_connect_request.h" | ||||
| #include "knx_ip_connect_response.h" | ||||
| #include "knx_ip_state_request.h" | ||||
| @ -24,7 +16,12 @@ | ||||
| #include "knx_ip_description_request.h" | ||||
| #include "knx_ip_description_response.h" | ||||
| #include "knx_ip_config_request.h" | ||||
| #include "../bits.h" | ||||
| #include "../platform/platform.h" | ||||
| #include "../interface_object/device_object.h" | ||||
| #include "../util/logger.h" | ||||
| 
 | ||||
| #define LOGGER Logger::logger("IpDataLinkLayer") | ||||
| 
 | ||||
| #include <stdio.h> | ||||
| #include <string.h> | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| #include "../data_link_layer.h" | ||||
| #include "../datalink_layer/data_link_layer.h" | ||||
| #include "ip_parameter_object.h" | ||||
| #include "knx_ip_tunnel_connection.h" | ||||
| #include "service_families.h" | ||||
|  | ||||
| @ -1,8 +1,6 @@ | ||||
| #include "ip_parameter_object.h" | ||||
| 
 | ||||
| #include "../bits.h" | ||||
| #include "../data_property.h" | ||||
| #include "../callback_property.h" | ||||
| 
 | ||||
| // 224.0.23.12
 | ||||
| #define DEFAULT_MULTICAST_ADDR ((uint32_t)0xE000170C) | ||||
|  | ||||
| @ -1,8 +1,7 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "../interface_object.h" | ||||
| #include "../device_object.h" | ||||
| #include "../platform.h" | ||||
| #include "../inteface_object/device_object.h" | ||||
| #include "../platform/platform.h" | ||||
| 
 | ||||
| #define KNXIP_MULTICAST_PORT 3671 | ||||
| 
 | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "../cemi_frame.h" | ||||
| #include "../datalink_layer/cemi_frame.h" | ||||
| 
 | ||||
| #define LEN_KNXIP_HEADER 0x6 | ||||
| 
 | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "knx_ip_frame.h" | ||||
| #include "../cemi_frame.h" | ||||
| #include "../datalink_layer/cemi_frame.h" | ||||
| 
 | ||||
| class KnxIpRoutingIndication : public KnxIpFrame | ||||
| { | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| #pragma once | ||||
| #include "../platform.h" | ||||
| #include "../platform/platform.h" | ||||
| 
 | ||||
| class KnxIpTunnelConnection | ||||
| { | ||||
|  | ||||
| @ -1,9 +1,8 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "knx_ip_frame.h" | ||||
| #include "../cemi_frame.h" | ||||
| #include "knx_ip_ch.h" | ||||
| 
 | ||||
| #include "../datalink_layer/cemi_frame.h" | ||||
| class KnxIpTunnelingAck : public KnxIpFrame | ||||
| { | ||||
|     public: | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| #include "knx_facade.h" | ||||
| 
 | ||||
| #include "knx/bits.h" | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #ifndef KNX_NO_AUTOMATIC_GLOBAL_INSTANCE | ||||
| 
 | ||||
|  | ||||
| @ -1,14 +1,13 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "knx/util/logger.h" | ||||
| #include "knx/config.h" | ||||
| #include "knx/bau.h" | ||||
| #include "knx/bau07B0.h" | ||||
| #include "knx/bau091A.h" | ||||
| #include "knx/bau27B0.h" | ||||
| #include "knx/bau2920.h" | ||||
| #include "knx/bau57B0.h" | ||||
| 
 | ||||
| #include "util/logger.h" | ||||
| #include "config.h" | ||||
| #include "bau/bau.h" | ||||
| #include "tp/bau07B0.h" | ||||
| #include "rf/bau27B0.h" | ||||
| #include "ip/bau57B0.h" | ||||
| #include "coupler/bau091A.h" | ||||
| #include "coupler/bau2920.h" | ||||
| #include "knx/bits.h" | ||||
| 
 | ||||
| #ifndef USERDATA_SAVE_SIZE | ||||
| @ -16,19 +15,19 @@ | ||||
| #endif | ||||
| 
 | ||||
| #ifdef ARDUINO_ARCH_SAMD | ||||
|     #include "knx/platform/samd_platform.h" | ||||
|     #include "platform/samd_platform.h" | ||||
| #elif defined(ARDUINO_ARCH_RP2040) | ||||
|     #include "knx/platform/rp2040_arduino_platform.h" | ||||
|     #include "platform/rp2040_arduino_platform.h" | ||||
| #elif defined(ARDUINO_ARCH_ESP8266) | ||||
|     #include "knx/platform/esp_platform.h" | ||||
|     #include "platform/esp_platform.h" | ||||
| #elif defined(ARDUINO_ARCH_ESP32) | ||||
|     #include "knx/platform/esp32_platform.h" | ||||
|     #include "platform/esp32_platform.h" | ||||
| #elif defined(ARDUINO_ARCH_STM32) | ||||
|     #include "knx/platform/stm32_platform.h" | ||||
|     #include "platform/stm32_platform.h" | ||||
| #elif __linux__ | ||||
|     #include "knx/platform/linux_platform.h" | ||||
|     #include "platform/linux_platform.h" | ||||
| #else | ||||
|     #include "knx/platform/cc1310_platform.h" | ||||
|     #include "platform/cc1310_platform.h" | ||||
| #endif | ||||
| 
 | ||||
| #ifndef KNX_NO_AUTOMATIC_GLOBAL_INSTANCE | ||||
|  | ||||
| @ -1,10 +1,9 @@ | ||||
| #include "network_layer.h" | ||||
| #include "device_object.h" | ||||
| #include "data_link_layer.h" | ||||
| #include "tpdu.h" | ||||
| #include "cemi_frame.h" | ||||
| #include "bits.h" | ||||
| #include "apdu.h" | ||||
| 
 | ||||
| #include "../interface_object/device_object.h" | ||||
| #include "../datalink_layer/data_link_layer.h" | ||||
| #include "../transport_layer/tpdu.h" | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| NetworkLayer::NetworkLayer(DeviceObject& deviceObj, TransportLayer& layer) : | ||||
|     _deviceObj(deviceObj), | ||||
|  | ||||
| @ -1,10 +1,11 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| #include "knx_types.h" | ||||
| #include "npdu.h" | ||||
| #include "transport_layer.h" | ||||
| #include "network_layer_entity.h" | ||||
| #include "../transport_layer/transport_layer.h" | ||||
| #include "../knx_types.h" | ||||
| 
 | ||||
| #include <cstdint> | ||||
| 
 | ||||
| class DeviceObject; | ||||
| class APDU; | ||||
|  | ||||
| @ -1,9 +1,10 @@ | ||||
| #include "network_layer_device.h" | ||||
| #include "device_object.h" | ||||
| #include "tpdu.h" | ||||
| #include "cemi_frame.h" | ||||
| #include "util/logger.h" | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #include "../interface_object/device_object.h" | ||||
| #include "../transport_layer/tpdu.h" | ||||
| #include "../datalink_layer/cemi_frame.h" | ||||
| #include "../util/logger.h" | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #define LOGGER Logger::logger("NetworkLayerDevice") | ||||
| 
 | ||||
|  | ||||
| @ -1,11 +1,11 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| #include "knx_types.h" | ||||
| #include "npdu.h" | ||||
| #include "transport_layer.h" | ||||
| #include "network_layer_entity.h" | ||||
| #include "network_layer.h" | ||||
| #include "../transport_layer/transport_layer.h" | ||||
| #include "../knx_types.h" | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| 
 | ||||
| class DeviceObject; | ||||
| 
 | ||||
|  | ||||
| @ -1,8 +1,9 @@ | ||||
| #include "network_layer.h" | ||||
| #include "network_layer_entity.h" | ||||
| #include "tpdu.h" | ||||
| #include "data_link_layer.h" | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #include "network_layer.h" | ||||
| #include "../transport_layer/tpdu.h" | ||||
| #include "../datalink_layer/data_link_layer.h" | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| NetworkLayerEntity::NetworkLayerEntity(NetworkLayer& netLayer, uint8_t entityIndex) : _netLayer(netLayer), _entityIndex(entityIndex) | ||||
| { | ||||
|  | ||||
| @ -1,8 +1,9 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| #include "knx_types.h" | ||||
| #include "npdu.h" | ||||
| #include "../knx_types.h" | ||||
| 
 | ||||
| #include <cstdint> | ||||
| 
 | ||||
| class DataLinkLayer; | ||||
| class NetworkLayer; | ||||
|  | ||||
| @ -1,7 +1,9 @@ | ||||
| #include "npdu.h" | ||||
| #include "cemi_frame.h" | ||||
| #include <string.h> | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #include "../datalink_layer/cemi_frame.h" | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include <cstring> | ||||
| 
 | ||||
| NPDU::NPDU(uint8_t* data, CemiFrame& frame): _data(data), _frame(frame) | ||||
| { | ||||
|  | ||||
| @ -1,7 +1,8 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| #include "util/logger.h" | ||||
| #include "../util/logger.h" | ||||
| 
 | ||||
| #include <cstdint> | ||||
| 
 | ||||
| class CemiFrame; | ||||
| class TPDU; | ||||
|  | ||||
| @ -1,10 +1,10 @@ | ||||
| #include "bau27B0.h" | ||||
| 
 | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #include <string.h> | ||||
| #include <stdio.h> | ||||
| 
 | ||||
| using namespace std; | ||||
| 
 | ||||
| Bau27B0::Bau27B0(Platform& platform) | ||||
|     : BauSystemBDevice(platform), | ||||
|       _dlLayer(_deviceObj, _rfMediumObj, _netLayer.getInterface(), _platform) | ||||
| @ -1,17 +1,17 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "config.h" | ||||
| #include "../config.h" | ||||
| 
 | ||||
| #include "bau_systemB_device.h" | ||||
| #include "rf/rf_medium_object.h" | ||||
| #include "rf_medium_object.h" | ||||
| #if defined(DeviceFamily_CC13X0) | ||||
|     #include "rf/rf_physical_layer_cc1310.h" | ||||
|     #include "rf_physical_layer_cc1310.h" | ||||
| #else | ||||
|     #include "rf/rf_physical_layer_cc1101.h" | ||||
|     #include "rf_physical_layer_cc1101.h" | ||||
| #endif | ||||
| #include "rf/rf_data_link_layer.h" | ||||
| #include "cemi_server.h" | ||||
| #include "cemi_server_object.h" | ||||
| #include "rf_data_link_layer.h" | ||||
| #include "../bau/bau_systemB_device.h" | ||||
| #include "../cemi_server/cemi_server.h" | ||||
| #include "../cemi_server/cemi_server_object.h" | ||||
| 
 | ||||
| class Bau27B0 : public BauSystemBDevice | ||||
| { | ||||
| @ -1,16 +1,17 @@ | ||||
| #include "rf_data_link_layer.h" | ||||
| 
 | ||||
| #if defined(DeviceFamily_CC13X0) | ||||
|     #include "rf_physical_layer_cc1310.h" | ||||
| #else | ||||
|     #include "rf_physical_layer_cc1101.h" | ||||
| #endif | ||||
| #include "rf_data_link_layer.h" | ||||
| 
 | ||||
| #include "../bits.h" | ||||
| #include "../platform.h" | ||||
| #include "../device_object.h" | ||||
| #include "../address_table_object.h" | ||||
| #include "rf_medium_object.h" | ||||
| #include "../cemi_frame.h" | ||||
| #include "../bits.h" | ||||
| #include "../platform/platform.h" | ||||
| #include "../interface_object/device_object.h" | ||||
| #include "../interface_object/address_table_object.h" | ||||
| #include "../datalink_layer/cemi_frame.h" | ||||
| 
 | ||||
| #include <stdio.h> | ||||
| #include <string.h> | ||||
|  | ||||
| @ -2,8 +2,9 @@ | ||||
| 
 | ||||
| #include "../config.h" | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| #include "../data_link_layer.h" | ||||
| #include "..datalink_layer/data_link_layer.h" | ||||
| 
 | ||||
| #include <cstdint> | ||||
| 
 | ||||
| #define MAX_KNX_TELEGRAM_SIZE 263 | ||||
| 
 | ||||
|  | ||||
| @ -1,8 +1,8 @@ | ||||
| #include <cstring> | ||||
| #include "rf_medium_object.h" | ||||
| 
 | ||||
| #include "../bits.h" | ||||
| #include "../data_property.h" | ||||
| #include "../function_property.h" | ||||
| 
 | ||||
| #include <cstring> | ||||
| 
 | ||||
| RfMediumObject::RfMediumObject() | ||||
| { | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "../interface_object.h" | ||||
| #include "../interface_object/interface_object.h" | ||||
| 
 | ||||
| class RfMediumObject: public InterfaceObject | ||||
| { | ||||
|  | ||||
| @ -1,8 +1,8 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| #include "../platform/platform.h" | ||||
| 
 | ||||
| #include "../platform.h" | ||||
| #include <stdint.h> | ||||
| 
 | ||||
| // Calculate the real packet size out of the L-field of FT3 frame data. See KNX-RF spec. 3.2.5 Data Link Layer frame format
 | ||||
| #define PACKET_SIZE(lField) ((((lField - 10 /*size of first pkt*/))/16 + 2 /*CRC in first pkt */) * 2 /*to bytes*/ +lField + 1 /*size of len byte*/) | ||||
|  | ||||
| @ -1,8 +1,8 @@ | ||||
| #ifndef DeviceFamily_CC13X0 | ||||
| 
 | ||||
| #include "rf_physical_layer_cc1101.h" | ||||
| #include "rf_data_link_layer.h" | ||||
| 
 | ||||
| #include "rf_data_link_layer.h" | ||||
| #include "../bits.h" | ||||
| #include "../platform.h" | ||||
| 
 | ||||
|  | ||||
| @ -4,10 +4,10 @@ | ||||
| 
 | ||||
| #include "../config.h" | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| 
 | ||||
| #include "rf_physical_layer.h" | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| 
 | ||||
| /*----------------------------------[standard]--------------------------------*/ | ||||
| #define CC1101_TIMEOUT           2000       // Time to wait for a response from CC1101
 | ||||
| 
 | ||||
|  | ||||
| @ -1,11 +1,6 @@ | ||||
| #ifdef DeviceFamily_CC13X0 | ||||
| 
 | ||||
| 
 | ||||
| #include <stdlib.h> | ||||
| #include <stdio.h> | ||||
| #include <string.h> | ||||
| 
 | ||||
| #include "rf_physical_layer_cc1310.h" | ||||
| 
 | ||||
| #include "rf_data_link_layer.h" | ||||
| 
 | ||||
| #include <ti/devices/DeviceFamily.h> | ||||
| @ -13,12 +8,15 @@ | ||||
| #include DeviceFamily_constructPath(driverlib/rf_prop_mailbox.h) | ||||
| #include <ti/drivers/rf/RF.h> | ||||
| #include "smartrf_settings/smartrf_settings.h" | ||||
| 
 | ||||
| #include "../platform/platform.h" | ||||
| #include "../platform/cc1310_platform.h" | ||||
| #include "Board.h" | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include "bits.h" | ||||
| #include "platform.h" | ||||
| 
 | ||||
| #include <stdlib.h> | ||||
| #include <stdio.h> | ||||
| #include <string.h> | ||||
| 
 | ||||
| #define RX_MAX_BUFFER_LENGTH 256 | ||||
| #define RF_TERMINATION_EVENT_MASK (RF_EventLastCmdDone | RF_EventLastFGCmdDone | RF_EventCmdAborted | RF_EventCmdStopped | RF_EventCmdCancelled) | ||||
|  | ||||
| @ -3,11 +3,10 @@ | ||||
| #ifdef DeviceFamily_CC13X0 | ||||
| 
 | ||||
| #include "../config.h" | ||||
| #include "rf_physical_layer.h" | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| 
 | ||||
| #include "rf_physical_layer.h" | ||||
| 
 | ||||
| #define RX_PACKET_TIMEOUT        20   // Wait 20ms for packet reception to complete
 | ||||
| 
 | ||||
| // loop states
 | ||||
|  | ||||
| @ -1,10 +1,10 @@ | ||||
| #include "bau07B0.h" | ||||
| 
 | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #include <string.h> | ||||
| #include <stdio.h> | ||||
| 
 | ||||
| using namespace std; | ||||
| 
 | ||||
| Bau07B0::Bau07B0(Platform& platform) | ||||
|     : BauSystemBDevice(platform), DataLinkLayerCallbacks(), | ||||
|       _dlLayer(_deviceObj, _netLayer.getInterface(), _platform, (ITpUartCallBacks&) * this, (DataLinkLayerCallbacks*) this) | ||||
| @ -1,11 +1,11 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "config.h" | ||||
| #include "../config.h" | ||||
| 
 | ||||
| #include "bau_systemB_device.h" | ||||
| #include "tpuart_data_link_layer.h" | ||||
| #include "cemi_server.h" | ||||
| #include "cemi_server_object.h" | ||||
| #include "../bau/bau_systemB_device.h" | ||||
| #include "../tp/tpuart_data_link_layer.h" | ||||
| #include "../cemi_server/cemi_server.h" | ||||
| #include "../cemi_server/cemi_server_object.h" | ||||
| 
 | ||||
| class Bau07B0 : public BauSystemBDevice, public ITpUartCallBacks, public DataLinkLayerCallbacks | ||||
| { | ||||
| @ -1,4 +1,5 @@ | ||||
| #include "tp_frame.h" | ||||
| 
 | ||||
| #include "bits.h" | ||||
| 
 | ||||
|         void TpFrame::printIt() const | ||||
|  | ||||
| @ -1,9 +1,10 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "cemi_frame.h" | ||||
| #include "util/logger.h" | ||||
| #include "../datalink_layer/cemi_frame.h" | ||||
| #include "../util/logger.h" | ||||
| 
 | ||||
| #include <cstring> | ||||
| #include <stdint.h> | ||||
| #include <cstdint> | ||||
| 
 | ||||
| // Means that the frame is invalid
 | ||||
| #define TP_FRAME_FLAG_INVALID 0b10000000 | ||||
|  | ||||
| @ -1,11 +1,10 @@ | ||||
| #pragma GCC optimize("O3") | ||||
| 
 | ||||
| #include "address_table_object.h" | ||||
| #include "cemi_frame.h" | ||||
| #include "device_object.h" | ||||
| #include "platform.h" | ||||
| #include "tpuart_data_link_layer.h" | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #include "../interface_object/address_table_object.h" | ||||
| #include "../interface_object/device_object.h" | ||||
| #include "../datalink_layer/cemi_frame.h" | ||||
| #include "../platform/platform.h" | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| /*
 | ||||
|  * A new implementation of the tpuart connection. | ||||
|  | ||||
| @ -1,7 +1,8 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "data_link_layer.h" | ||||
| #include "tp_frame.h" | ||||
| #include "../datalink_layer/data_link_layer.h" | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| 
 | ||||
| #define MAX_KNX_TELEGRAM_SIZE 263 | ||||
|  | ||||
| @ -1,6 +1,7 @@ | ||||
| #include "tpdu.h" | ||||
| 
 | ||||
| #include "cemi_frame.h" | ||||
| #include "bits.h" | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| TPDU::TPDU(uint8_t* data, CemiFrame& frame): _data(data), _frame(frame) | ||||
| { | ||||
|  | ||||
| @ -1,8 +1,10 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "stdint.h" | ||||
| #include "knx_types.h" | ||||
| #include "util/logger.h" | ||||
| #include "../knx_types.h" | ||||
| #include "../util/logger.h" | ||||
| 
 | ||||
| #include <cstdint> | ||||
| 
 | ||||
| class CemiFrame; | ||||
| class APDU; | ||||
| 
 | ||||
|  | ||||
| @ -1,13 +1,13 @@ | ||||
| #include "transport_layer.h" | ||||
| #include "apdu.h" | ||||
| #include "cemi_frame.h" | ||||
| #include "network_layer.h" | ||||
| #include "application_layer.h" | ||||
| #include "platform.h" | ||||
| #include "util/logger.h" | ||||
| #include <stdio.h> | ||||
| 
 | ||||
| #include "../application_layer/application_layer.h" | ||||
| #include "../network_layer/network_layer.h" | ||||
| #include "../platform/platform.h" | ||||
| #include "../util/logger.h" | ||||
| #include "bits.h" | ||||
| 
 | ||||
| #include <stdio.h> | ||||
| 
 | ||||
| #define LOGGER Logger::logger("TransportLayer") | ||||
| 
 | ||||
| TransportLayer::TransportLayer(ApplicationLayer& layer): _savedFrame(0), | ||||
|  | ||||
| @ -1,10 +1,11 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| #include "knx_types.h" | ||||
| #include "tpdu.h" | ||||
| #include "address_table_object.h" | ||||
| #include "cemi_frame.h" | ||||
| #include "../knx_types.h" | ||||
| #include "../interface_object/address_table_object.h" | ||||
| #include "../datalink_layer/cemi_frame.h" | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| 
 | ||||
| class ApplicationLayer; | ||||
| class APDU; | ||||
|  | ||||
| @ -1,11 +1,10 @@ | ||||
| #include "memory.h" | ||||
| #include "util/logger.h" | ||||
| 
 | ||||
| #define LOGGER Logger::logger("Memory") | ||||
| #include "logger.h" | ||||
| #include "../bits.h" | ||||
| 
 | ||||
| #include <string.h> | ||||
| 
 | ||||
| #include "bits.h" | ||||
| #define LOGGER Logger::logger("Memory") | ||||
| 
 | ||||
| Memory::Memory(Platform& platform, DeviceObject& deviceObject) | ||||
|     : _platform(platform), _deviceObject(deviceObject) | ||||
|  | ||||
| @ -2,9 +2,9 @@ | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| #include "save_restore.h" | ||||
| #include "platform.h" | ||||
| #include "device_object.h" | ||||
| #include "table_object.h" | ||||
| #include "../platform/platform.h" | ||||
| #include "../interface_object/device_object.h" | ||||
| #include "../interface_object/table_object.h" | ||||
| 
 | ||||
| #define MAXSAVE 5 | ||||
| #define MAXTABLEOBJ 4 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user