net: lwm2m: Remove the resource type in registration message
Do not include the resource type (rt=) in the registration message when using the OMA JSON format. This was a workaround specifically for the Wakaama LwM2M server which is no longer needed since the latest master branch. Signed-off-by: Marc Lasch <marc.lasch@husqvarnagroup.com>
This commit is contained in:
parent
b290ba806d
commit
73bab817a0
2 changed files with 7 additions and 10 deletions
|
@ -156,7 +156,7 @@ ZTEST(net_content_link_format, test_put_begin_bs_discovery)
|
|||
ZTEST(net_content_link_format, test_put_begin_register)
|
||||
{
|
||||
int ret;
|
||||
const char *expected_payload = "</>;rt=\"oma.lwm2m\";ct=11543";
|
||||
const char *expected_payload = "</>;ct=11543";
|
||||
|
||||
test_formatter_data.mode = LINK_FORMAT_MODE_REGISTER;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue