1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

84 Commits

Author SHA1 Message Date
Cenk Gündoğan
c970cca422
examples: gcoap_cli: adjust for the request matcher handler 2020-10-28 15:40:35 +01:00
chrysn
f84d34f2be
Merge pull request #15281 from chrysn-pull-requests/cli-postput-payload-is-optional
examples/gcoap: Allow PUT/POST with empty payload
2020-10-23 15:21:43 +02:00
chrysn
2fe999fd8b examples/gcoap: Allow PUT/POST with empty payload
All access to the respective position in argv is already checked against
the argc count, and the online usage documentation already declares the
argument as optional (where not accepting it at GET seems obvious
enough, but requiring it with POST or PUT does not). Thus, allowing it
in the argument count check is the only thing to remain.
2020-10-23 11:16:22 +02:00
Bas Stottelaar
bb36bbc6ff examples/*: realign ENABLE_DEBUG 2020-10-23 01:26:09 +02:00
13e56b3e3e
examples: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
Benjamin Valentin
f34f970503 examples: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
f08f582f1a tests, examples: remove chronos references 2020-08-05 14:32:58 +02:00
67843a2b11
examples: test: remove remaining occurences of wsn430 2020-07-10 16:49:08 +02:00
Ken Bannister
c267633d74 examples/gcoap: add ability to generate CoAP ping request 2020-04-17 08:15:20 -04:00
Ken Bannister
19ecbb0eba examples/gcoap: fix statement formatting 2020-04-17 07:07:20 -04:00
Ken Bannister
937ffaf1e9 examples/gcoap: fix reference to variable out of scope 2020-04-17 07:05:13 -04:00
Cenk Gündoğan
7cda842a00 examples/gcoap: add handling of proxied requests 2020-03-28 14:50:51 +01:00
Jose Alamos
e451570219 gnrc_netif: remove GNRC_NETIF_NUMOF macro 2020-03-26 11:12:23 +01:00
Martine S. Lenders
3db895a932
examples: remove unnecessary slipdev_params.h 2020-03-06 08:58:45 +01:00
Leandro Lanzieri
cf7a73800e examples/gcoap: Set configs via CFLAGS if Kconfig is not used
This adds a check in the Makefile so configurations are set via CFLAGS
only if Kconfig is not being used as the configurator for the module.
Otherwise there may be a conflict.
2020-01-28 11:59:52 +01: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
Ken Bannister
5c2f37d9f1
Merge pull request #9857 from haukepetersen/opt_gcoap_contextptrtoresphandler
net/gcoap: add user ptr to response handler functions
2019-11-28 09:32:30 -05:00
Hauke Petersen
de777f7655 examples/gcoap: adapt to gcoap_send() API changes 2019-11-28 12:50:24 +01:00
Hauke Petersen
75397a2be1 examples/gcoap: adapt to resp_handler API change 2019-11-28 12:48:37 +01:00
chudov
0a151a78da boards/derfmega*: initial support 2019-11-27 20:53:14 +01:00
Marian Buschsieweke
44d606e51b
examples: Added atmega1284p to Makefile.ci
Added the ATmega1284P on a breadboard to the Makefile.ci for examples that
require more RAM/ROM than provided.
2019-11-18 00:06:58 +01:00
Leandro Lanzieri
7d41fcc87d examples/gcoap: Adapt to change in ipv6_addr_split_iface 2019-11-15 14:02:50 +01:00
Sebastian Meiling
ca696f827b
Merge pull request #12193 from leandrolanzieri/pr/gcoap/obs
gcoap: Add 'obs' attribute in example and extend documentation
2019-10-31 18:14:23 +01:00
Benjamin Valentin
31dbbff450 examples: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:48 +02:00
Marian Buschsieweke
87380f309f
examples: Added atmega328p to Makefile.ci
Added the atmega328p board to the BOARD_INSUFFICIENT_MEMORY list where needed.
2019-10-21 12:54:46 +02:00
Benjamin Valentin
936da68881 examples: add microduino-corerf to Makefile.ci 2019-10-17 20:38:47 +02:00
Marian Buschsieweke
ba90ba2e2f
examples: BOARD_INSUFFICIENT_MEMORY -> Makefile.ci
- Decluttered Makefile by moving BOARD_INSUFFICIENT_MEMORY lists from Makefile
  to Makefile.ci
- Optimized the list for use of tools:
    - One entry per line reduces the number of merge conflicts
    - One entry per line allows alphabetical sorting e.g. via Vim's sort command
- Sorted all lists alphabetically
2019-10-15 09:55:07 +02:00
benpicco
e942f86837
Merge pull request #11056 from kb2ma/coap/pkt_api_block_write
net/gcoap: add/use Packet API Block implementation
2019-09-24 21:43:33 +02:00
Ken Bannister
1f7fbb2239 examples/gcoap: handle block2 response 2019-09-24 14:03:50 -04:00
Leandro Lanzieri
1299158b01 examples/gcoap: Add 'obs' attribute to resource 2019-09-10 16:32:33 +02:00
Benjamin Valentin
d16afe5422 examples: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
Leandro Lanzieri
a9ab9d37e2
Merge pull request #11765 from kb2ma/coap/encode_resources
net/gcoap: add/publish link format attributes for a resource
2019-07-27 22:36:33 +02:00
Ken Bannister
39570b9df3 examples/gcoap: write link format parameters 2019-07-27 07:09:40 -04:00
d94c557a11
examples: exclude stm32l0538-disco board
because of insufficient memory available
2019-07-08 09:06:55 +02:00
Martine S. Lenders
f1495f839d examples/gcoap: replace gcoap_req_send() 2019-07-03 15:01:50 +02:00
Marian Buschsieweke
f4c0af8421
examples: Updated BOARD_INSUFFICIENT_MEMORY
Added arduino-leonardo to BOARD_INSUFFICIENT_MEMORY where needed
2019-05-24 17:23:00 +02:00
a76efc3b93
examples: not enough memory for i-nucleo-lrwan1 2019-05-21 09:57:33 +02:00
Marian Buschsieweke
e14bea1cf5
examples: Updated BOARD_INSUFFICIENT_MEMORY
Added arduino-nano to BOARD_INSUFFICIENT_MEMORY/BOARD_BLACKLIST following suit
of how arduino-uno is marked, as arduino-nano is mostly an Uno in a different
form factor.
2019-03-14 13:58:45 +01:00
Ken Bannister
a8cbc19241 examples/gcoap: use coap_opt_finish() 2019-03-13 00:24:29 -04:00
Ken Bannister
f1b0827585 examples/gcoap: handle response buffer too small 2019-01-16 05:41:30 -05:00
Ken Bannister
8a1a2b41fb examples/gcoap: handle request buffer too small 2019-01-16 05:38:13 -05:00
Rotzbua
cb5232a107 gcoap/example: add comment on resource order
according to nanocoap/example: fix resource order #9919
2019-01-08 23:14:58 +01:00
Ken Bannister
424a01ddc1 net/gcoap: remove gcoap attributes from coap_pkt_t 2018-11-24 07:09:25 -05:00
cladmi
b3f889c7ef
examples: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:07:54 +02:00
Ken Bannister
3f3df74bcd
Merge pull request #7237 from Ell-i/feature-gcoap-extra-indirection
net/gcoap: Make references to coap_resource_t all const in gcoap
2018-08-07 23:52:59 -04:00
pokgak
b9880cb800 examples/gcoap: fix post/put without port number 2018-08-06 11:03:55 +02:00
Pekka Nikander
33c84591e9 {examples,tests}/gcoap: Remove unnecessary type casts 2018-07-30 09:01:30 +03:00
Michel Rottleuthner
484ea216da examples: add nucleo-f303k8 to BOARD_INSUFFICIENT_MEMORY 2018-07-17 17:52:12 +02:00
633a92929d boards/nucleo-l031k6: rename to st marketing name 2018-05-23 12:50:33 +02:00
81700d4301 boards/nucleo-f042k6: rename to st marketing name 2018-05-23 12:49:40 +02:00