Skip to content

Commit

Permalink
wip fix content type on registration update
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasWoodtli committed Jun 28, 2024
1 parent 7f0bf61 commit 4f7e13d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/registration.c
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,7 @@ static int prv_updateRegistration(lwm2m_context_t * contextP,
if (transaction == NULL) return COAP_500_INTERNAL_SERVER_ERROR;

coap_set_header_uri_path(transaction->message, server->location);
coap_set_header_content_type(transaction->message, LWM2M_CONTENT_LINK);

if (withObjects == true)
{
Expand Down
1 change: 1 addition & 0 deletions examples/client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.13)

project(lwm2mclient C)

set(WAKAAMA_LOG_LEVEL DBG)
include(../../wakaama.cmake)

if(WAKAAMA_ENABLE_EXAMPLES
Expand Down

0 comments on commit 4f7e13d

Please sign in to comment.