Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
LIBVER: ["develop", "v4.3.4", "v4.3.3", "v4.3.2"]
LIBVER: ["develop", "v4.3.5", "v4.3.4", "v4.3.3", "v4.3.2"]
steps:
- uses: actions/checkout@v4
- name: setup
Expand Down
18 changes: 18 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
cmake_minimum_required(VERSION 3.20)

project(MY_PROJECT VERSION 0.1.0 LANGUAGES CXX C)
set(TARGET myproject)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_executable(${TARGET} client.cc common.cc)
install(TARGETS ${TARGET} DESTINATION bin)

target_include_directories(${TARGET}
PUBLIC ${PROJECT_BINARY_DIR}
)

target_link_libraries(${TARGET}
PRIVATE coap-3
)
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018-2024 obgm
Copyright (c) 2018-2026 Olaf Bergmann <bergmann@tzi.org>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Makefile for libcoap minimal examples
#
# Copyright (C) 2018-2024 Olaf Bergmann <bergmann@tzi.org>
# Copyright (C) 2018-2026 Olaf Bergmann <bergmann@tzi.org>
#

LIBCOAP?=libcoap-3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ then this is handled by a NON-confirmable request.
It has two defined resources `/hello` and `hello/my` along with the
inbuilt resource `.well-known/core`.

Copyright (C) 2018-2024 Olaf Bergmann <bergmann@tzi.org>
Copyright (C) 2018-2026 Olaf Bergmann <bergmann@tzi.org>

License
=======
Expand Down
2 changes: 1 addition & 1 deletion client.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* minimal CoAP client
*
* Copyright (C) 2018-2024 Olaf Bergmann <bergmann@tzi.org>
* Copyright (C) 2018-2026 Olaf Bergmann <bergmann@tzi.org>
*/

/*
Expand Down
2 changes: 1 addition & 1 deletion common.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* minimal CoAP functions
*
* Copyright (C) 2018-2024 Olaf Bergmann <bergmann@tzi.org>
* Copyright (C) 2018-2026 Olaf Bergmann <bergmann@tzi.org>
*/

#include <cstdio>
Expand Down
2 changes: 1 addition & 1 deletion common.hh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* minimal CoAP functions
*
* Copyright (C) 2018-2024 Olaf Bergmann <bergmann@tzi.org>
* Copyright (C) 2018-2026 Olaf Bergmann <bergmann@tzi.org>
*/

#include <coap3/coap.h>
Expand Down
2 changes: 1 addition & 1 deletion server.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* minimal CoAP server
*
* Copyright (C) 2018-2024 Olaf Bergmann <bergmann@tzi.org>
* Copyright (C) 2018-2026 Olaf Bergmann <bergmann@tzi.org>
*/

#include <cstring>
Expand Down
Loading