chrysn
5db24d4f51
gcoap: Rename gcoap_get_resource_list_tl to gcoap_get_resource_list
...
This is an API change in the latter, which would typically now take an
extra argument GCOAP_SOCKET_TYPE_UNDEF.
Follow-Up-For: https://github.com/RIOT-OS/RIOT/pull/16688
2023-02-21 20:22:46 +01:00
Karl Fessel
c29d2f1afb
test/unittest: cleanup most vera++ complains
2022-10-27 16:31:59 +02:00
Martine Lenders
e6a9443932
tests/unittests/tests-gcoap: adapt for automatically added ETag option
2022-05-13 12:14:55 +02:00
chrysn
e2e56cce21
tests/unittests: Change sequence of expected resources
...
This is a consequence of "Register additional resources head-first", and
is acceptable as there are no semantics to the link-format message.
2020-10-03 00:00:46 +02:00
Leandro Lanzieri
3920dd8c20
net/gcoap: Remove gcoap_finish
2020-07-17 16:33:19 +02:00
Ken Bannister
6eae4ded84
net/gcoap: create CoAP ping request
2020-04-17 08:15:20 -04:00
Leandro Lanzieri
4052c01e85
net/nanocoap: Move NANOCOAP_URI_MAX to 'CONFIG_' namespace
2020-04-07 17:00:53 +02:00
Ken Bannister
b354722574
net/gcoap: remove test migrated to nanocoap
2020-01-29 09:24:46 -05:00
Leandro Lanzieri
bab6f4737c
net/gcoap: Move config macros to 'CONFIG_' namespace
...
Macros that changed:
GCOAP_MSG_QUEUE_SIZE -> CONFIG_GCOAP_MSG_QUEUE_SIZE
GCOAP_NO_AUTO_INIT -> CONFIG_GCOAP_NO_AUTO_INIT
GCOAP_NO_RETRANS_BACKOFF -> CONFIG_GCOAP_NO_RETRANS_BACKOFF
GCOAP_NON_TIMEOUT -> CONFIG_GCOAP_NON_TIMEOUT
GCOAP_OBS_CLIENTS_MAX -> CONFIG_GCOAP_OBS_CLIENTS_MAX
GCOAP_OBS_OPTIONS_BUF -> CONFIG_GCOAP_OBS_OPTIONS_BUF
GCOAP_OBS_REGISTRATIONS_MAX -> CONFIG_GCOAP_OBS_REGISTRATIONS_MAX
GCOAP_OBS_VALUE_WIDTH -> CONFIG_GCOAP_OBS_VALUE_WIDTH
GCOAP_PDU_BUF_SIZE -> CONFIG_GCOAP_PDU_BUF_SIZE
GCOAP_PORT -> CONFIG_GCOAP_PORT
GCOAP_RECV_TIMEOUT -> CONFIG_GCOAP_RECV_TIMEOUT
GCOAP_REQ_OPTIONS_BUF -> CONFIG_GCOAP_REQ_OPTIONS_BUF
GCOAP_REQ_WAITING_MAX -> CONFIG_GCOAP_REQ_WAITING_MAX
GCOAP_RESEND_BUFS_MAX -> CONFIG_GCOAP_RESEND_BUFS_MAX
GCOAP_RESP_OPTIONS_BUF -> CONFIG_GCOAP_RESP_OPTIONS_BUF
GCOAP_TOKENLEN -> CONFIG_GCOAP_TOKENLEN
2020-01-28 11:59:52 +01:00
Benjamin Valentin
4918dfe590
tests: make use of ARRAY_SIZE macro
2019-08-06 19:43:54 +02:00
Ken Bannister
d481ca9da7
net/gcoap: add selectable function to write a link
2019-07-27 07:09:40 -04:00
Ken Bannister
7d259cc268
net/gcoap: verify error when overfill on coap_opt_finish
2019-03-19 05:30:04 -04:00
Ken Bannister
e96209fddb
net/gcoap: use coap_opt_finish in unit tests
2019-01-27 09:14:46 -05:00
Ken Bannister
ffa0c5b03c
tests/gcoap: test NULL path in gcoap_req_init()
2018-11-28 13:26:04 -05:00
Ken Bannister
424a01ddc1
net/gcoap: remove gcoap attributes from coap_pkt_t
2018-11-24 07:09:25 -05:00
Ken Bannister
f8e5b3dee3
net/gcoap: update tests for nanocoap options API
2018-11-24 07:09:25 -05:00
726ebf3dad
coap: use COAP_FORMAT style content-format defines
...
Replaces all occurences of COAP_CT_.* with COAP_FORMAT_.*
2018-10-15 09:44:17 +02:00
Pekka Nikander
33c84591e9
{examples,tests}/gcoap: Remove unnecessary type casts
2018-07-30 09:01:30 +03:00
96fb3b1e21
tests/unittests/tests-gcoap: adapt to resource context ptr
2018-02-02 19:02:31 +01:00
Gaëtan Harter
f584a8fab7
tests-gcoap: Fix resources order which should be sorted.
...
gcoap documentation says for `resources`:
First element in the array of resources; must order alphabetically
So make tests respect the API.
2017-11-21 18:04:18 +01:00
Gaëtan Harter
c450b4ce0e
tests-gcoap: fixup typo ressources->resources
2017-11-21 18:01:41 +01:00
27ed76cad1
tests/gcoap: Add second listener
2017-09-19 14:13:46 +02:00
Hauke Petersen
813c92e52a
unittests/gcoap: add tests for _get_resource_list
2017-08-08 16:00:15 +02:00
Ken Bannister
9768f51db6
net/gcoap: Unit tests for CON request and piggybacked ACK response
2017-06-21 22:47:08 -04:00
kYc0o
bc2387ed25
tests-gcoap: move dependencies to gcoap module
2017-05-22 12:23:43 +02:00
Ken Bannister
e7d6d57e5f
gcoap: Define length of client token in test to parse response.
2017-04-24 22:21:53 -04:00
Ken Bannister
412d0dd67e
gcoap: Use client token length macro when generate expected data.
2017-04-24 22:21:53 -04:00
Ken Bannister
342c3f2ed3
gcoap: Remove coap.h include file, which is no longer used.
...
Also change references in dependencies to the net/gcoap.h include.
2017-01-20 22:00:25 -05:00
Ken Bannister
acda73c9c7
gcoap: Update unit tests for rebase on sock
2017-01-20 22:00:25 -05:00
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
2017-01-19 18:30:53 +01:00
Ken Bannister
88a3eeb574
gcoap: unit tests
2016-10-31 22:41:53 -04:00