Jon Shallow
763330cb61
LwIP: Fix locking for FreeRTOS environments
...
Handle recursive locking of LOCK_TCPIP_CORE().
Updated support for IPv4 only environments.
2025-11-20 12:33:24 +00:00
Tobias Tefke
d437d9cabd
coap_dgrm_internal.h, coap_subscribe_internal.h: Fix extern C guards
2025-10-20 09:33:20 +01:00
Jon Shallow
ea6a3c6f53
Platforms: Split out TCP and UDP socket functions on a platform basis
...
Currently supported types
Posix
LwIP
Contiki
RIOT
Zephyr and Windows are treated as Posix.
UDP
src/coap_dgrm_contiki.c Datagram r/w/c functions from src/coap_io_contiki.c
src/coap_dgrm_lwip.c Datagram r/w/c functions from src/coap_io_lwip.c
src/coap_dgrm_posix.c Datagram r/w/c functions from src/coap_io.c
src/coap_dgrm_riot.c Datagram r/w/c functions from src/coap_io_riot.c
TCP
src/coap_strm_contiki.c Stub TCP entries
src/coap_strm_lwip.c Stream r/w/c functions from src/coap_io_lwip.c
src/coap_strm_posix.c Was src/coap_tcp.c with stream r/w/c functions from src/coap_io.c
src/coap_strm_riot.c Stream r/w/c functions from src/coap_io_riot.c
I/O specific
src/coap_io_contiki.c Datagram / Stream functions removed
src/coap_io_lwip.c Datagram / Stream functions removed
src/coap_io_posix.c Abstracted from src/coap_io.c
src/coap_io_riot.c Datagram / Stream functions removed
Remaining common I/O functions
src/coap_io.c With separated out code removed
2025-09-22 10:27:14 +01:00
Jon Shallow
ea01661faf
Zephyr: Support C++ builds
...
Some of the Zephyr include files need to be C++, not C based. The 'extern "C"'
wrapper in include/coap3/coap.h means that all #include are treated as being C.
Remove 'extern "C"' wrapper from include/coap3/coap.h and add wrapper to
include files after #include and before any function / structure definitions.
Add in a C++ build test for CI.
2025-08-21 12:17:41 +01:00
Jon Shallow
7dff177f29
Sockets: Update documentation
...
Separate out the Datagram (UDP) and Stream (TCP) socket documentation.
Add in a Doxygen Datagram (UDP) topic.
2025-08-18 17:24:36 +01:00