Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lw/client examples as individual projects #818

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/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

strategy:
matrix:
example: ["bootstrap_server", "client", "lightclient", "server"]
example: ["bootstrap_server", "client/udp", "client/tinydtls", "client/raw_block1", "lightclient", "server"]

steps:
- name: Checkout code including full history and submodules
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

- name: Build examples for integration tests
run: |
for example in "server" "bootstrap_server"
for example in "server" "bootstrap_server" "client/udp"
do
echo "Building example ${example}"
tools/ci/run_ci.sh \
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,11 @@ Options:

### Test client example

* ``cmake -S examples/client -B build-client -DWAKAAMA_MODE_CLIENT=ON``
* ``cmake --build build-client``
* ``./build-client/lwm2mclient [Options]``
* ``cmake -S examples/client/udp -B build-client-udp``
* ``cmake --build build-client-udp``
* ``./build-client-udp/lwm2mclient [Options]``

Next to lwm2mclient a DTLS enabled variant named lwm2mclient_tinydtls gets built.
Next to lwm2mclient there are also examples with DTLS enabled and with raw block1 transfer enabled.

The lwm2mclient features nine LWM2M objects:
- Security Object (id: 0)
Expand Down
2 changes: 0 additions & 2 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@ cmake_minimum_required(VERSION 3.21)

# Our examples are designed for POSIX systems
add_compile_definitions(_POSIX_C_SOURCE=200809)

add_subdirectory(client)
51 changes: 0 additions & 51 deletions examples/client/CMakeLists.txt

This file was deleted.

Loading
Loading