Commit Graph

455 Commits

Author SHA1 Message Date
Noel Graf 6af42fc9e7 fix(arch): Missing network definitions added 2025-03-19 08:31:35 +01:00
Noel Graf 6c798b1487 feat(arch): If available, use the hostname of the configured interface 2025-03-19 08:31:35 +01:00
Noel Graf 5bd7ceb46d feat(arch): Add lwip udp support 2025-03-19 08:31:35 +01:00
Noel Graf 933a605951 fix(arch): Create a pipe for the self-pipe trick only on Windows or Posix systems 2025-03-19 08:31:35 +01:00
Noel Graf 14ceb376c7 fix(arch): Reduce the static receive buffer 2025-03-19 08:31:35 +01:00
Noel Graf bed3f1000f fix(arch): Only use the reuse option if it is available 2025-03-19 08:31:35 +01:00
Noel Graf 057b8adcf7 feat(server): Add a configuration field to specify whether the interface should be initialized by the stack or if it has already been initialized externally 2025-03-19 08:31:35 +01:00
Noel Graf 2899b7dbf5 fix(arch): Fixes and enhancements for FreeRTOS porting 2025-03-19 08:31:35 +01:00
Julius Pfrommer d9c47365d5 feat(arch): Enable FreeRTOS build 2025-03-19 08:31:35 +01:00
Julius Pfrommer 9fbfc135ba refactor(arch): Differentiate between freertos and lwip 2025-03-19 08:31:35 +01:00
Julius Pfrommer f0ff49ebcf fix(arch): Prevent double-initialization of the lwip layer 2025-03-19 08:31:35 +01:00
Julius Pfrommer a27b3da264 refactor(arch): Add include required for lwip to have addrinfo defined 2025-03-19 08:31:35 +01:00
Noel Graf 418ded28bd feat(arch): Add tcp connection manager for lwip 2025-03-19 08:31:35 +01:00
Noel Graf abb78cd983 feat(arch): Add lwip support 2025-03-19 08:31:35 +01:00
Ómar Högni Guðmarsson 9056bbf887 fix(build): compilation on macos
After some commits on the master branch compilation
for macos was not working. This PR restores macos
to a building state.

Co-authored-by: Jón Bjarni Bjarnason <jon@centroid.is>
2025-03-18 14:58:00 +01:00
Noel Graf 966096d61f fix(arch): Use a standard header for system limits to improve portability 2025-02-20 22:23:17 +01:00
Klaus Holst Jacobsen 3bd2cd6a3e feat(arch): Add QNX support (#6967) 2025-02-20 11:26:15 +01:00
Julius Pfrommer f0206d5c3b fix(arch): Fix compiling the POSIX EventLoop without multithreading 2025-02-11 21:36:56 +01:00
Julius Pfrommer a33db724d0 feat(el): Expose the EventLoop mutex in its API
Redo commit b1151d3 for the master branch.
2025-02-03 00:07:24 +01:00
Julius Pfrommer 748f39ad5e Merge remote-tracking branch 'origin/master' into merge_14_master_25 2025-01-25 19:07:12 +01:00
Julius Pfrommer 3bec159cb9 Merge remote-tracking branch 'origin/1.4' into merge_14_master_25 2025-01-25 19:06:56 +01:00
Noel Graf 59eff2c2b0 refactor(plugin): Move the file handling definitions to the arch folder 2025-01-24 22:35:58 +01:00
Julius Pfrommer a90da1a56e refactor(arch): Simplify with recursive locking in the EventLoop 2025-01-10 15:40:52 +01:00
Noel Graf 34d957c561 fix(server): Consistency in the use of the Windows architecture flag 2025-01-09 15:00:38 +01:00
Julius Pfrommer 39ef16fb67 fix(arch): Make the POSIX EventLoop compile against the cosmopolitan libc 2024-12-10 08:28:30 +01:00
Jan Murzyn 0b29ea793b refactor(core): Use UA_* wrappers consistently in POSIX architecture 2024-12-03 11:48:49 +01:00
Jan Murzyn a6c5ac6143 refactor(arch): Use existing wrapper for logging socket errors (#6929) 2024-12-03 04:33:08 +01:00
Julius Pfrommer 24a0b36a56 refactor(build): Remove hardening options
The package build systems are re-adding themselves the recommended
compiler options.
2024-11-29 21:51:08 +01:00
Julian Weiß 4562ed8938 feat(ci): Add Zephyr build to the CI 2024-10-29 09:38:11 +01:00
Julius Pfrommer a81cbf7cae refactor(arch): Use uppercase README.md everywhere 2024-10-26 17:42:12 +02:00
Julius Pfrommer fa36e98966 feat(arch): Document Zephyr support 2024-10-26 17:42:12 +02:00
Julius Pfrommer f60e068fb4 refactor(arch): Split the clock implementation into architectures 2024-10-26 17:42:12 +02:00
Julius Pfrommer d625185eba refactor(arch): Rename the eventloop_ folders to just the architecture 2024-10-26 17:42:12 +02:00
Julian Weiß 92fa517712 feat(arch): Add Zephyr support 2024-10-25 15:35:07 +02:00
Julian Weiß 6a901bccd1 refactor(arch): Wrap POSIX Eventloop into #ifdef 2024-10-25 15:35:07 +02:00
Teijo Kinnunen 988fa7cb6d fix(el): Treat some accept() errors as temporary
If accept() fails, some of the error codes indicate failure with the
incoming connection, not the server socket. Do not kill the server
socket if one of those error codes are detected.
2024-10-16 23:06:11 +02:00
Julius Pfrommer 269e175ee7 refactor(el): Process delayed callbacks in-order
This reduces "suprises" where enqueueing delayed callbacks results in a
inverted order of execution.
2024-10-11 15:10:46 +02:00
estr Eckerstorfer Andreas 166d03c351 refactor(core): Substitute tabs by spaces in source code 2024-09-14 02:33:22 +02:00
Julius Pfrommer c73e7d64de refactor(core): Simplify UA_LOCK_ASSERT 2024-09-10 09:52:27 +02:00
Julius Pfrommer e9873c3c85 refactor(el): Make the log output of the EventLoop less noisy 2024-09-09 23:20:32 +02:00
Julius Pfrommer b29098b266 refactor(el): Simplify the timer subsystem 2024-09-09 23:20:32 +02:00
Julius Pfrommer 56fde909bd refactor(arch): Improve logging when validating connection parameters 2024-09-09 23:20:32 +02:00
Julius Pfrommer 8f2cca2238 Merge remote-tracking branch 'origin/1.4' into merge_14_master_19 2024-08-04 16:50:58 +02:00
Julius Pfrommer 647efea219 fix(arch): Use the correct time-interval for the MQTT keep-alive ping 2024-08-02 11:23:16 +02:00
Julius Pfrommer a1e11a04be refactor(arch): Don't wait until the MQTT keep-alive timeout to send a ping 2024-07-31 09:46:28 +02:00
Julius Pfrommer 319b4251d0 fix(arch): Fix setting the source address in the Ethernet frame
This fixes #6623 reported by @Bubeck-ISW.
2024-07-29 22:18:02 +02:00
Julius Pfrommer 1f8e9f04fa Merge remote-tracking branch 'origin/1.4' into merge_14_master_18 2024-07-27 11:07:53 +02:00
Noel Graf 48e08399cd fix(server): Allow dynamic port assignment 2024-07-24 12:18:17 +02:00
Julius Pfrommer 33327a85a9 Merge remote-tracking branch 'origin/1.4' into merge_14_master_17 2024-07-08 10:56:48 +02:00
Kimi MA a0ef78bcca pipe2 not available on macOS/__APPLE__ (#6495) 2024-06-26 11:05:07 +02:00