[riot-commits] [RIOT-OS/RIOT] b24480: nanocoap: add coap_opt_put_string_with_len()

benpicco noreply at github.com
Wed Feb 24 12:09:25 CET 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: b24480538a6ed5240df013da1f79b3f0e5beb93e
      https://github.com/RIOT-OS/RIOT/commit/b24480538a6ed5240df013da1f79b3f0e5beb93e
  Author: Benjamin Valentin <benpicco at googlemail.com>
  Date:   2021-01-21 (Thu, 21 Jan 2021)

  Changed paths:
    M sys/include/net/nanocoap.h
    M sys/net/application_layer/nanocoap/nanocoap.c

  Log Message:
  -----------
  nanocoap: add coap_opt_put_string_with_len()


  Commit: d4e5c25b70450b09f2862a5666be583679d79d46
      https://github.com/RIOT-OS/RIOT/commit/d4e5c25b70450b09f2862a5666be583679d79d46
  Author: Benjamin Valentin <benpicco at googlemail.com>
  Date:   2021-02-23 (Tue, 23 Feb 2021)

  Changed paths:
    M sys/include/net/nanocoap.h
    M sys/net/application_layer/nanocoap/nanocoap.c
    M tests/unittests/tests-nanocoap/tests-nanocoap.c

  Log Message:
  -----------
  nanocoap: add coap_opt_put_uri_pathquery()


  Commit: 769978904a19ec6c6f1c14184fb87a427443fd9f
      https://github.com/RIOT-OS/RIOT/commit/769978904a19ec6c6f1c14184fb87a427443fd9f
  Author: Benjamin Valentin <benpicco at googlemail.com>
  Date:   2021-02-23 (Tue, 23 Feb 2021)

  Changed paths:
    M sys/suit/transport/coap.c

  Log Message:
  -----------
  suit/transport/coap: use coap_opt_put_uri()

The URI is passed as a string to `suit_coap_get_blockwise()`.
It may contain query parameters, those will not be translated
properly to CoAP options if `coap_opt_put_uri_path()` is used.

Instead use `coap_opt_put_uri()` to handle both path and query
parameters.


  Commit: 9fc60da4ca48253b5ced5055612978f56091c697
      https://github.com/RIOT-OS/RIOT/commit/9fc60da4ca48253b5ced5055612978f56091c697
  Author: benpicco <benjamin.valentin at ml-pa.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M sys/include/net/nanocoap.h
    M sys/net/application_layer/nanocoap/nanocoap.c
    M sys/suit/transport/coap.c
    M tests/unittests/tests-nanocoap/tests-nanocoap.c

  Log Message:
  -----------
  Merge pull request #15830 from benpicco/net/nanocoap_add_uri

nanocoap: add coap_opt_put_uri_pathquery()


Compare: https://github.com/RIOT-OS/RIOT/compare/6f365f6e4383...9fc60da4ca48


More information about the commits mailing list