OpenDTU-old/include
Bernhard Kirchen a012d81427
avoid too frequent SmartShunt data copies (#596)
currently the whole SmartShunt data structure is copied to the
BatteryStats instance in every loop, even though the data cannot
possibly have changed. this is quite an expensive task to do in every
loop. this change tracks the last update timestamp and only does the
copy operation if an actual updated data structure was received from
the smart shunt.
2024-01-07 18:30:02 +01:00
..
Battery.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
BatteryStats.h Feature: implement MQTT-driven battery provider (#589) 2024-01-04 15:42:10 +01:00
Configuration.h Fix: Access Point not working after firmware update 2024-01-05 21:55:15 +01:00
Datastore.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
defaults.h Fix: Optimize network connection handling 2024-01-05 21:55:15 +01:00
Display_Graphic_Diagram.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
Display_Graphic.h merge v23.12.31 2024-01-01 14:50:51 +01:00
helper.h Change License to GPLv2 as the RF24 lib uses GPL-2.0-only 2022-07-15 18:05:58 +02:00
HttpPowerMeter.h fix: #438 2023-09-18 17:56:22 +02:00
Huawei_can.h Reducing lower limit for AC-charger (#574) 2024-01-01 17:06:58 +01:00
InverterSettings.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
JkBmsController.h use frozen::string and frozen::map where reasonable (#593) 2024-01-04 23:28:34 +01:00
JkBmsDataPoints.h use frozen::string and frozen::map where reasonable (#593) 2024-01-04 23:28:34 +01:00
JkBmsSerialMessage.h Support for Jikong JK BMS using serial connection (#319) 2023-08-31 16:21:32 +02:00
Led_Single.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
MessageOutput.h Fix: thread-safety and dynamic memory for MessageOutput (#567) 2023-12-30 16:45:56 +01:00
MqttBattery.h Feature: implement MQTT-driven battery provider (#589) 2024-01-04 15:42:10 +01:00
MqttHandleDtu.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
MqttHandleHass.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
MqttHandleHuawei.h clean up Huawei MQTT handler 2023-12-30 18:41:57 +01:00
MqttHandleInverter.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
MqttHandleInverterTotal.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
MqttHandlePowerLimiter.h Fix: switch context when processing DPL MQTT requests (#572) 2023-12-31 14:49:39 +01:00
MqttHandlePylontechHass.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
MqttHandleVedirect.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
MqttHandleVedirectHass.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
MqttSettings.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
NetworkSettings.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
NtpSettings.h Cleanup includes 2022-12-14 22:13:03 +01:00
PinMapping.h Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development 2023-12-27 13:11:25 +01:00
PowerLimiter.h use frozen::string and frozen::map where reasonable (#593) 2024-01-04 23:28:34 +01:00
PowerMeter.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
PylontechCanReceiver.h Support for Jikong JK BMS using serial connection (#319) 2023-08-31 16:21:32 +02:00
README Initial commit 2022-04-09 11:05:14 +02:00
Scheduler.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
SunPosition.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
Utils.h Prevent empty HASS auto discovery topics if memory allocation fails 2024-01-05 21:55:15 +01:00
VictronMppt.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
VictronSmartShunt.h avoid too frequent SmartShunt data copies (#596) 2024-01-07 18:30:02 +01:00
WebApi_battery.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_config.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_device.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_devinfo.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_dtu.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_errors.h Prevent config corruption by checking whether memory allocation was successfull. 2024-01-05 21:55:15 +01:00
WebApi_eventlog.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_firmware.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_gridprofile.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_Huawei.h Use auto keyword and references more often (onBattery) 2024-01-06 22:10:07 +01:00
WebApi_inverter.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_limit.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_maintenance.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_mqtt.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_network.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_ntp.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_power.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_powerlimiter.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_powermeter.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_prometheus.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_security.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_sysstatus.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_vedirect.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_webapp.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_ws_battery.h Better handling of out of memory situations in live data websocket (onBattery) 2024-01-06 22:42:34 +01:00
WebApi_ws_console.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_ws_Huawei.h Better handling of out of memory situations in live data websocket (onBattery) 2024-01-06 22:42:34 +01:00
WebApi_ws_live.h merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
WebApi_ws_vedirect_live.h Better handling of out of memory situations in live data websocket (onBattery) 2024-01-06 22:42:34 +01:00
WebApi.h Use auto keyword and references more often 2024-01-05 22:04:54 +01:00

This directory is intended for project header files.

A header file is a file containing C declarations and macro definitions
to be shared between several project source files. You request the use of a
header file in your project source file (C, C++, etc) located in `src` folder
by including it, with the C preprocessing directive `#include'.

```src/main.c

#include "header.h"

int main (void)
{
 ...
}
```

Including a header file produces the same results as copying the header file
into each source file that needs it. Such copying would be time-consuming
and error-prone. With a header file, the related declarations appear
in only one place. If they need to be changed, they can be changed in one
place, and programs that include the header file will automatically use the
new version when next recompiled. The header file eliminates the labor of
finding and changing all the copies as well as the risk that a failure to
find one copy will result in inconsistencies within a program.

In C, the usual convention is to give header files names that end with `.h'.
It is most portable to use only letters, digits, dashes, and underscores in
header file names, and at most one dot.

Read more about using header files in official GCC documentation:

* Include Syntax
* Include Operation
* Once-Only Headers
* Computed Includes

https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html