diff options
author | xengineering <me@xengineering.eu> | 2025-04-16 21:58:20 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2025-05-07 18:14:05 +0200 |
commit | 993996ab2b9dc7332d06453e2de7315b06ce2458 (patch) | |
tree | 1653fd7b8f87b362a1663ecc9c21ba6f126285b1 /fw/app/src/syslog.c | |
parent | f4faa103108356bcf53fb7c8829e95f012b21a4a (diff) | |
download | iot-contact-993996ab2b9dc7332d06453e2de7315b06ce2458.tar iot-contact-993996ab2b9dc7332d06453e2de7315b06ce2458.tar.zst iot-contact-993996ab2b9dc7332d06453e2de7315b06ce2458.zip |
fw: app: Encode settings with JSON lib
Diffstat (limited to 'fw/app/src/syslog.c')
-rw-r--r-- | fw/app/src/syslog.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fw/app/src/syslog.c b/fw/app/src/syslog.c index 700547b..22aa034 100644 --- a/fw/app/src/syslog.c +++ b/fw/app/src/syslog.c @@ -25,11 +25,12 @@ #include <zephyr/sys/reboot.h> #endif // CONFIG_IOT_CONTACT_NETWORK_HACK +#include "settings.h" + LOG_MODULE_REGISTER(syslog); #define NETWORK_BUG_DELAY K_MSEC(4000) #define L4_EVENT_MASK (NET_EVENT_L4_CONNECTED | NET_EVENT_L4_DISCONNECTED) -#define IPV6_STRLEN_MAX 39 // excluding '\0' #define SYSLOG_TARGET_PORT 514 struct net_mgmt_event_callback l4_cb; |