Benjamin Valentin
55e13a9d61
nanocoap: add coap_request_ctx_init()
2022-10-28 15:24:23 +02:00
Benjamin Valentin
c6f9654461
nanocoap: request context to coap_handle_req()
2022-10-28 14:21:52 +02:00
Martine Lenders
9ae66beedf
Merge pull request #16156 from miri64/gnrc_sixlowpan_frag_sfr/feat/congure
...
gnrc_sixlowpan_frag_sfr: provide CongURE support
2022-10-27 15:01:07 +02:00
benpicco
4ebece5d34
Merge pull request #18801 from benpicco/gnrc_nib_full-debug
...
gnrc_ipv6_nib: add debug output when nib is full on address resolution
2022-10-27 12:49:29 +02:00
Martine Lenders
ff884dd45f
Merge pull request #17429 from benpicco/gnrc/ipv6_auto_subnets-static
...
gnrc/ipv6_auto_subnets: add CONFIG_GNRC_IPV6_AUTO_SUBNETS_STATIC option
2022-10-26 14:57:40 +02:00
Benjamin Valentin
b068bd31c2
gnrc/ipv6_auto_subnets: add CONFIG_GNRC_IPV6_AUTO_SUBNETS_STATIC option
...
In situations with high packet loss, if all sync packets are lost, conflicting
subnets will be configured.
If the network is static, this can be prevented by always using the highest number
of subnets that has been observed.
This assumes no nodes are physically added / removed from the network.
2022-10-25 19:46:42 +02:00
Martine Lenders
b92e90f7b5
gnrc_sixlowpan_frag_sfr: make ARQ timer mockable
2022-10-25 18:38:37 +02:00
Martine Lenders
30f990f789
gnrc_sixlowpan_frag_sfr: provide CongURE support
2022-10-25 18:38:36 +02:00
Benjamin Valentin
fa4fb8e3bf
gnrc_ipv6_nib: add debug output when nib is full on address resolution
2022-10-25 18:21:57 +02:00
Martine Lenders
d759d2d18b
Merge pull request #18772 from namib-project/accept-helper
...
sys/net/nanocoap: introduce Accept option helper
2022-10-20 04:13:33 +02:00
Jan Romann
d916b33bc6
sys/net/nanocoap: introduce Accept option helper
2022-10-19 16:44:13 +02:00
Hendrik van Essen
226dce01bf
examples/gcoap: add IPv4 support
2022-10-18 10:59:43 +02:00
benpicco
72d16e152a
Merge pull request #17983 from kfessel/p-remove-coap_pkt-token
...
net/nanocoap: remove coap_pkt token ptr
2022-10-16 04:21:47 +02:00
benpicco
4d0c533260
Merge pull request #18154 from benpicco/nanocoap_no-response
...
nanocoap: add support for no-response option
2022-10-15 21:16:00 +02:00
Martine Lenders
53ed211fc9
Merge pull request #16175 from miri64/gnrc_sixlowpan_frag_sfr/enh/mark-ecn
...
gnrc_sixlowpan_frag_sfr: add support for queue-based ECN
2022-10-15 14:01:44 +02:00
Martine Lenders
c94c32dce4
Merge pull request #18727 from miri64/gnrc/enh/explicit-pseudomodules
...
gnrc: make pseudo-modules explicit + documentation improvements
2022-10-14 17:39:39 +02:00
Marian Buschsieweke
5d5e8d6163
Merge pull request #18740 from maribu/chrysn-pull-requests/gnrc-netreg-lock
...
gnrc_netreg: Use locks around netreg
2022-10-14 15:10:35 +02:00
Leandro Lanzieri
70acefaa55
Merge pull request #18386 from miri64/gcoap_forward_proxy/enh/empty-ack
...
gcoap_forward_proxy: send empty ACK when response takes too long
2022-10-14 11:23:48 +02:00
chrysn
982ec4dcda
gnrc_netreg: Use locks around netreg
...
This eliminates race conditions around unregistering netdevs.
gnrc_netreg_lookup-style functions perform a DEVELHELP check on whether
that lock is held.
2022-10-14 03:35:15 +02:00
Benjamin Valentin
1cfcb307f2
nanocoap_sock: add nanocoap_sock_{put, post}_non()
2022-10-13 19:04:09 +02:00
Benjamin Valentin
56f36c09a0
nanocoap: add support for no-response option
...
See https://datatracker.ietf.org/doc/rfc7967/
2022-10-13 19:04:09 +02:00
Benjamin Valentin
c656df9c3a
nanocoap_sock: implement nanocoap_sock_delete()
2022-10-13 18:56:28 +02:00
Marian Buschsieweke
b539d7ad6d
Merge pull request #17905 from benpicco/GNRC_NETIF_STACKSIZE_DEFAULT
...
gnrc_netif: don't allocate message queue on the stack
2022-10-13 17:10:43 +02:00
Martine Lenders
8dcc5d07ba
gnrc_sixlowpan_config: resolve ECN at the earliest convenience
2022-10-12 18:02:18 +02:00
Martine Lenders
653d08281b
gnrc_sixlowpan_frag_sfr: add support for queue-based ECN
2022-10-12 18:02:18 +02:00
Martine Lenders
63c4fe5770
gcoap: fix "line is longer than 100 characters" pointed out by Vera++
2022-10-12 17:33:55 +02:00
chrysn
798dedd4d1
gcoap_forward_proxy: send empty ACK when response takes too long
...
Co-Authored-By: Martine S. Lenders <m.lenders@fu-berlin.de>
Signed-off-by: Martine Lenders <m.lenders@fu-berlin.de>
2022-10-12 17:33:55 +02:00
benpicco
913bf3748c
Merge pull request #18699 from miri64/gnrc_netif_lorawan/enh/up-down-support
...
gnrc_netif_lorawan: add support for LINK_UP/_DOWN events
2022-10-12 17:11:51 +02:00
Martine Lenders
774ca13563
gnrc_nettype: reorder gnrc_nettype_t to fit the grouping again
2022-10-12 11:23:16 +02:00
Benjamin Valentin
be1c46ef27
gcoap_fileserver: don't abort on duplicate packet
2022-10-12 00:45:28 +02:00
Martine Lenders
5f504ad70d
gnrc_netif_lorawan: add debug message for failed send
2022-10-11 22:57:00 +02:00
Martine Lenders
ab32ad5030
gnrc_ipv6_nib: auto-configure link-local address on UP event
2022-10-11 22:57:00 +02:00
Martine Lenders
f34f296242
gnrc_netif_lorawan: add support for LINK_UP/_DOWN events
2022-10-11 12:29:11 +02:00
Marian Buschsieweke
2476a3b3a7
Merge pull request #18723 from benpicco/sock_util-find_hoststart
...
sys/net/sock_util: fix _find_hoststart()
2022-10-11 03:53:45 +02:00
Benjamin Valentin
c47407892a
sys/net/sock_util: style fixes
2022-10-10 20:31:15 +02:00
benpicco
988039b351
Merge pull request #18708 from miri64/gnrc_ipv6_nib/enh/handle-up-down-in-gnrc_ipv6
...
gnrc_ipv6_nib: handle iface_up/iface_down in IPv6 thread
2022-10-10 20:26:42 +02:00
Benjamin Valentin
6f2bbdd3b1
sys/net/sock_util: fix _find_hoststart()
2022-10-10 19:02:18 +02:00
Martine Lenders
47aaa94157
gnrc_ipv6_nib: handle iface_up/iface_down in IPv6 thread
2022-10-07 14:12:00 +02:00
Marian Buschsieweke
213c35bb71
Merge pull request #18649 from maribu/sys/shell/cmds
...
sys/shell/cmds: fix shell_cmd_netif LoRaWAN integration
2022-10-07 12:19:57 +02:00
benpicco
4493afb582
Merge pull request #18639 from benpicco/nanocoap_sock_put_url
...
sys/shell: ncput: add option to read from stdin
2022-10-06 12:05:39 +02:00
Karl Fessel
14096a935f
sys/net: cleanup coap_pkt_t.token uses
2022-10-06 00:20:10 +02:00
Hendrik van Essen
6c98a5b3b7
sys/net/network_layer/ipv4/addr: add ipv4_addr_print function
2022-10-05 15:16:37 +02:00
Marian Buschsieweke
fd80c53a35
sys/shell/cmds: fix shell_cmd_netif LoRaWAN integration
...
Model the LoRaWAN integration to GNRC's netif command (ifconfig) as
submodule of it, namely `shell_cmd_gnrc_netif_lorawan`.
This should fix a regression introduced by
https://github.com/RIOT-OS/RIOT/pull/18355
2022-10-04 23:06:03 +02:00
José Alamos
f022ac3e23
Merge pull request #17884 from Ollrogge/gnrc_lorawan1.1
...
gnrc/lorawan: add basic LoRaWAN 1.1 features
2022-09-30 11:29:55 +02:00
3ee3d1b9ac
Merge pull request #18562 from MrKevinWeiss/pr/removemips
...
cpu/mips: Remove all mips
2022-09-30 10:47:09 +02:00
benpicco
0e181e9ec3
Merge pull request #18668 from miri64/coap/enh/coap_v1
...
coap: provide definition for version field value
2022-09-29 20:41:53 +02:00
benpicco
6257e328c0
Merge pull request #18661 from fabian18/nib-6ln_correct_abr_timeout
...
nib/_nib-6ln: correct ABR timeout in ABRO
2022-09-29 17:25:06 +02:00
Ollrogge
32cef708a7
gnrc/lorawan: uncrustify files
2022-09-29 11:26:04 +02:00
Martine Lenders
b9d7028a8f
coap: provide definition for version field value
2022-09-29 11:26:03 +02:00
Ollrogge
12a4e1c1ec
gnrc/lorawan: add support for GNRC LoRaWAN 1.1
2022-09-29 11:25:56 +02:00
Fabian Hüßler
23fa33774f
nib/_nib-6ln: correct ABR timeout in ABRO
2022-09-29 10:48:49 +02:00
benpicco
e9b5bd712c
Merge pull request #18651 from benpicco/gcoap-footgun
...
gcoap: accept resources in any order
2022-09-28 10:48:51 +02:00
Martine Lenders
b297b2bd14
Merge pull request #18471 from miri64/gcoap_forward_proxy/fix/copy-max_age
...
gcoap_forward_proxy: copy Max-Age from forwarded Valid if it exists
2022-09-28 04:36:16 +02:00
MrKevinWeiss
6cad5d2477
cpu/mips: Remove all mips
2022-09-27 13:42:37 +02:00
Benjamin Valentin
a37b283ebe
nanocoap: coap_tree_handler(): accept resources in any order
2022-09-26 20:32:30 +02:00
Benjamin Valentin
da1f161c3c
gcoap: accept resources in any order
2022-09-26 20:20:14 +02:00
Marian Buschsieweke
77731c5f7b
treewide: s/gnrc_pktbuf_cmd/shell_cmd_gnrc_pktbuf/
...
Replace the deprecated module gnrc_pktbuf_cmd with the new
shell_cmd_gnrc_pktbuf module.
2022-09-24 14:50:43 +02:00
Benjamin Valentin
42a8a587c4
nanocoap_sock: add nanocoap_sock_{put, post}_url()
2022-09-23 19:47:02 +02:00
Sören Tempel
498e531e2f
dhcpv6: don't treat zero option as an end-of-payload marker
...
As far as I can tell, no DHCPv6 RFC specifies this option. The handling
for the zero option was added in #17736 by @benpicco to fix issues
encountered while trying to retrieve a DHCHPv6 lease. However, I
strongly suspect that the zero option was encountered in this case due
to an out-of-bounds read performed in RIOT's DHCPv6 client
implementation (i.e. the option parsing loop read beyond the packet
bounds). This issue was fixed in #18307 and I strongly suspect that it
should also fix the issue @benpicco originally encountered in #17736 . As
such, I propose that we remove the if statement which treats the zero
option as an end-of-payload marker.
Fixes #18309
2022-09-22 20:08:00 +02:00
Marian Buschsieweke
a00fb233dc
sys/net/credman: fix insecure memory wiping
2022-09-20 17:44:24 +02:00
benpicco
f03f5384c1
Merge pull request #18355 from maribu/sys/shell/cmds
...
sys/shell: make cmds submodules and add KConfig modeling
2022-09-19 21:07:23 +02:00
Martine Lenders
ff648985c0
Merge pull request #18443 from miri64/gcoap_dns/enh/implement-max_age-ttl-algorithm
...
gcoap_dns: implement Max-Age-based TTL calculation
2022-09-19 16:03:46 +02:00
Martine Lenders
d5e63a5e46
Merge pull request #18096 from Teufelchen1/feat/port_parsing
...
sys/uri_parser: Adding the port as uint16_t
2022-09-19 13:40:53 +02:00
Benjamin Valentin
b1ea963df4
gnrc_netif: introduce GNRC_NETIF_STACKSIZE_DEFAULT
2022-09-18 18:35:21 +02:00
Marian Buschsieweke
8457f09dde
Merge pull request #18139 from maribu/sys/net/gnrc/netif/confirm_send
...
sys/net/gnrc_netif: Make use of confirm send
2022-09-17 19:40:24 +02:00
Benjamin Valentin
4b0bfae4ca
gnrc_netif: handle NETDEV_EVENT_LINK_UP/DOWN events
2022-09-16 22:57:06 +02:00
Benjamin Valentin
7211aa11af
ipv6/nib: add gnrc_ipv6_nib_iface_{up, down}()
2022-09-16 22:57:06 +02:00
Benjamin Valentin
6e7d5ae2d3
codespell: fix remaining issues
2022-09-16 14:00:35 +02:00
Marian Buschsieweke
c06335b71b
sys/shell: make cmds submodules
...
Previously `shell_commands` was a "catch-all" module that included
shell commands for each and every used module that has a shell
companion. Instead, the new `shell_cmds` module is now used to provide
shell commands as individually selectable submodules, e.g.
`cmd_gnrc_icmpv6_echo` now provides the ICMPv6 echo command (a.k.a.
ping).
To still have a "catch all" module to pull in shell commands of modules
already used, `shell_cmds_default` was introduced. `shell_commands`
depends now on `shell_cmds_default` for backward compatibility, but
has been deprecated. New apps should use `shell_cmds_default`
instead.
For a handful of shell commands individual selection was already
possible. Those modules now depend on the corresponding `cmd_%` module
and they have been deprecated.
2022-09-16 13:15:45 +02:00
Marian Buschsieweke
581f35e577
sys/net/gnrc/netif: adapt to new API
...
For Ethernet, raw netifs, and IEEE 802.15.4 netifs only release outgoing
frame with legacy drivers, as gnrc_netif does so with new non-blocking
API.
2022-09-15 13:23:26 +02:00
Marian Buschsieweke
1cb6f9e11a
sys/net/gnrc/netif: provide support for confirm_send()
...
This adds support for netdevs implementing the new API that provides
`netdev_driver_t::confirm_send()`. This allows implementing netdevs
in an event based non-blocking fashion, making live of driver
developers a bit easier. In addition, `gnrc_tx_sync` will now throttle
users of `sock_udp_send()` so that they can only send datagrams as
fast as the network stack and hardware is able to send out.
Finally, this lays the groundwork to fetch TX statistics (such as
TX timestamps, reception of layer 2 ACKs/NACKs, etc.) from the network
devices.
2022-09-15 13:23:25 +02:00
benpicco
b5bf5da38d
Merge pull request #18444 from kfessel/p-fix-doc-grp
...
doc: fix unbalaced grouping
2022-09-14 22:19:28 +02:00
Karl Fessel
05f114d0af
doc: fix unbalaced grouping
...
- most were trivial
- missing group close or open
- extra space
- no doxygen comment
- name commad might open an implicit group
this hould also be implicit cosed but does not happen somtimes
- crazy: internal declared groups have to be closed internal
2022-09-14 15:05:25 +02:00
Benjamin Valentin
b6fac2b2c7
nanocoap_sock: consitfy remote
2022-09-14 10:29:57 +02:00
benpicco
b117171fcf
Merge pull request #18519 from benpicco/coap_request_ctx_get_remote
...
gcoap: add remote sock_udp_ep_t to coap_request_ctx_t
2022-09-12 20:30:19 +02:00
Benjamin Valentin
02aeab750a
gcoap_forward_proxy: const arg to gcoap_forward_proxy_request_process()
2022-09-12 17:52:54 +02:00
Benjamin Valentin
1552267d19
gcoap: drop duplicate context field from coap_request_ctx_t
2022-09-12 17:51:26 +02:00
Benjamin Valentin
f068fbccb6
gcoap_forward_proxy: make use of coap_request_ctx_get_remote_udp()
2022-09-12 17:51:26 +02:00
Benjamin Valentin
2376343547
gcoap: add remote sock_udp_ep_t to coap_request_ctx_t
2022-09-12 17:51:26 +02:00
Teufelchen1
df8fe4476d
sys/uri_parser: Adding the port as uint16
2022-09-08 11:32:49 +02:00
Benjamin Valentin
37dceb6c80
nanocoap_sock: use correct error code in nanocoap_get_blockwise_url_to_buf()
...
It should return -ENOBUFS like the other nanocoap_…() functions, not -1
2022-09-05 07:40:59 +02:00
Martine Lenders
84e3ace6e3
gnrc_lorawan_crypto: fix Vera++ errors
2022-08-31 10:43:25 +02:00
Martine Lenders
aead6d2010
gnrc_lorawan: use aes128_cmac_.* instead of cmac_.*
2022-08-31 10:43:25 +02:00
benpicco
0e2eb919a4
Merge pull request #18536 from fabian18/bugfix_gcoap_fileserver_recursive_delete
...
gcoap_fileserver: bugfix recursive delete
2022-08-31 08:35:27 +02:00
Fabian Hüßler
43caeb8cb5
gcoap_fileserver: bugfix add missing return
2022-08-30 17:47:51 +02:00
Benjamin Valentin
514f039c30
nanocoap_sock: add nanocoap_sock_{put, post}()
2022-08-25 17:52:43 +02:00
Martine Lenders
f15fbb3c15
Merge pull request #18441 from miri64/dns_cache/fix/ttl0
...
dns_cache: handle TTL=0 properly
2022-08-23 02:58:13 +02:00
Jose Alamos
5fd601ae97
gnrc/init_devs/kw2xrf: use high priority queue for drivers
2022-08-22 18:00:15 +02:00
Jose Alamos
2c9f3072fb
net/gnrc_netif: add support for priority queues
2022-08-22 18:00:14 +02:00
Martine Lenders
1135cc0f7e
gcoap: fix swap-out of option length for ETag
2022-08-18 14:38:37 +02:00
Martine Lenders
9bc0454d99
gcoap_forward_proxy: copy Max-Age from forwarded Valid if it exists
2022-08-18 12:19:31 +02:00
benpicco
0713e0d9a1
Merge pull request #18313 from benpicco/coap_request_ctx_get_tl_type
...
gcoap: move tl_type to coap_request_ctx_t
2022-08-17 16:51:50 +02:00
benpicco
d1ce899188
Merge pull request #18398 from benpicco/gnrc_ipv6_auto_subnets-doc
...
gnrc/ipv6_auto_subnets: improve documentation about subnet generation and RIO
2022-08-16 17:00:52 +02:00
benpicco
0aff42c682
Merge pull request #18383 from jia200x/pr/kw2xrf_radio_hal
...
drivers/kw2xrf: add support for IEEE 802.15.4 Radio HAL
2022-08-16 11:42:03 +02:00
Benjamin Valentin
28ff28aee0
gnrc/ipv6_auto_subnets: document the role of the RIO
2022-08-16 11:31:23 +02:00
Benjamin Valentin
18e74ae8c0
gnrc/ipv6_auto_subnets: document subnet generation better
2022-08-16 11:31:23 +02:00
Jose Alamos
4ebcd7c055
drivers/kw2xrf: add IEEE 802.15.4 Radio HAL support
...
Co-authored-by: Michel Rottleuthner <michel.rottleuthner@haw-hamburg.de>
2022-08-15 12:11:03 +02:00
Jose Alamos
4ace2ed778
net/gnrc: add support for event based Bottom Half Processor
2022-08-12 11:12:13 +02:00
Martine Lenders
6f18132e98
gcoap_dns: implement Max-Age-based TTL calculation
2022-08-11 15:00:19 +02:00
Martine Lenders
883c3fdffa
dns_cache: handle TTL=0 properly
...
Existing entries should be expired, new entries should not be created.
2022-08-11 14:04:16 +02:00
benpicco
a93ba1ef80
Merge pull request #18434 from nmeum/pr/asymcute-ack-typecheck
...
asymcute: Compare request message type when matching acknowledgement
2022-08-11 12:10:04 +02:00
Martine Lenders
60bd3ca07a
Merge pull request #18429 from miri64/gcoap/fix/empty-ack
...
gcoap: fixes around empty ACKs
2022-08-10 23:05:53 +02:00
Martine S. Lenders
f11c9e837d
gcoap: expire memo and stop retransmissions on RESET reception
2022-08-10 16:09:43 +02:00
Martine S. Lenders
b616c17e46
gcoap: expire memo if there is nothing to wait for
2022-08-10 16:09:43 +02:00
chrysn
9ca149f30c
Merge pull request #17978 from chrysn-pull-requests/gcoap-match-response-from-multicast
...
gcoap: Forego IP address comparison in memo finding of multicasts
2022-08-10 15:19:11 +02:00
Sören Tempel
06d572c2fc
asymcute: fix one byte out-of-bounds access in _len_get
...
As per Section 5.2.1 of the MQTT-SN specification, the MQTT-SN length
header is either 1- or 3-octet long. If it is 3-octet long then the
first octet is 0x01. The asymcute implementation currently only checks
that the incoming packet is at least 2-octet long before attempting to
parse it (MIN_PKT_LEN). However, if the first octet is 0x01 the packet
must be more than 3 octet long in order to be valid. Since asymcute
does not check this it reads one octet beyond the packet data for a
2-octet packet where the first octet has the value 0x01. This commit
fixes this issue by adding an additional sanity check to _len_get.
2022-08-10 05:41:10 +02:00
Sören Tempel
fb660dbec6
asymcute: Compare request message type when matching acknowledgement
...
Currently, asymcute only matches an MQTT-SN request to its
acknowledgement using the MsgId header. However, I strongly believe
this to be insufficient as asymcute would thus also match a SUBACK
to a prior PUBLISH message (for example) as long as the message ID
matches. To address this issue, this commit modifies _req_preprocess
to also compare the request message type in addition to the message id.
2022-08-10 00:49:37 +02:00
chrysn
ab6bec6f0e
gcoap: Forego IP address comparison in memo finding of multicasts
...
Co-Authored-By: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2022-08-09 19:09:39 +02:00
Martine S. Lenders
2cd785791d
gcoap: send empty RST on unknown CON response
2022-08-09 17:09:50 +02:00
Benjamin Valentin
f6cef270c2
gnrc_ipv6_nib: use correct DHCPv6 client module name
...
`MODULE_GNRC_DHCPV6_CLIENT_IA_PD` does not exist, the correct module name
is `MODULE_DHCPV6_CLIENT_IA_PD`.
2022-08-05 12:52:22 +02:00
f8cb17ad8b
Merge pull request #18401 from blueted2/master
...
sys/net: fix typo in docs
2022-08-05 09:49:05 +02:00
benpicco
c125e3d98a
Merge pull request #18133 from fabian18/gcoap_fileserver_file_and_directory_creation
...
gcoap/fileserver: add file and directory creation and deletion
2022-08-04 16:14:29 +02:00
Gregory Holder
ba1b12f3e6
net/iee802154: fix typo in docs
2022-08-04 15:09:20 +02:00
Benjamin Valentin
199e31ef43
gcoap/fileserver: ignore URI HOST option
2022-08-04 12:04:59 +02:00
Fabian Hüßler
9333970b77
gcoap/fileserver: make PUT and DELETE pseudomodules
2022-08-03 22:10:30 +02:00
Fabian Hüßler
f357d99396
gcoap/fileserver: recursive directory deletion as default
2022-08-03 22:10:30 +02:00
Fabian Hüßler
688acff5bc
gcoap/fileserver: implement PUT/POST/DELETE functionality
2022-08-03 22:09:21 +02:00
Benjamin Valentin
e128736014
net/util: make use of dns_query()
2022-07-29 17:48:26 +02:00
Martine Lenders
8ad68dbb21
Merge pull request #16861 from miri64/sock_dodtls/feat/initial
...
sock_dodtls: Initial import of a DNS over DTLS client
2022-07-27 13:17:23 +02:00
Martine Lenders
1b6c9a8334
sock_dodtls: provide getters for sock and session
...
To be able to implement the DNS message exchange outside the module.
2022-07-27 00:46:43 +02:00
Martine Lenders
96b1d9c59e
tests/gnrc_sock_dodtls: provide DNS over DTLS test application
2022-07-27 00:46:43 +02:00
Martine Lenders
f575292e20
sock_dodtls: Initial import of a DNS over DTLS client
2022-07-26 19:37:12 +02:00
Martine Lenders
875411fd3a
gcoap_dns: fix block-wise transfer
2022-07-25 20:17:00 +02:00
Martine Lenders
349a89c9fa
gcoap_dns: replace printf
s with DEBUG
2022-07-25 19:51:47 +02:00
Kevin "Tristate Tom" Weiss
aa268f0a0a
Merge pull request #17739 from leandrolanzieri/drivers/model_kconfig_eth
...
drivers: model kconfig for Ethernet drivers
2022-07-25 14:21:42 +02:00
Leandro Lanzieri
ec32e41f02
sys/net/netopt: model in Kconfig
2022-07-25 11:08:31 +02:00
Marian Buschsieweke
726a8bd5fe
Merge pull request #18360 from miri64/gnrc_nib/fix/config-deps
...
gnrc_ipv6_nib: make configurable via Kconfig again
2022-07-22 20:40:38 +02:00
Martine Lenders
fe3d620a63
gnrc_ipv6_nib: make configurable via Kconfig again
2022-07-22 17:51:57 +02:00
Marian Buschsieweke
3a80878848
sys/net/gnrc_pktbuf: make static buffer internal
2022-07-21 16:25:14 +02:00
Marian Buschsieweke
32bb9743e4
sys/net/gnrc/pktbuf_static: make use of alignas()
...
Since we are now using C11, we can make use of `alignas()` provided by
`<stdalign.h>` to make the alignment code easier to read.
2022-07-20 17:52:15 +02:00
Martine Lenders
2e5a66e7d2
gcoap_dns: Add DNS cache support
2022-07-20 10:45:08 +02:00
Martine Lenders
fe4deff522
dns_cache: synchronize access with mutex
2022-07-20 06:30:14 +02:00
Benjamin Valentin
56fc7c375f
gnrc_netif: move message queue to gnrc_netif_t
2022-07-18 23:28:38 +02:00
Martine Lenders
8bec9c1115
sock_dns_cache: move to dns_cache
...
Also piggy-back some fixes to the unittests and submodule handling
2022-07-18 15:27:58 +02:00
Martine Lenders
1761726024
net/dns: provide Kconfig
2022-07-18 11:43:35 +02:00
Benjamin Valentin
d7bb42296a
gcoap: move tl_type to coap_request_ctx_t
2022-07-17 18:05:07 +02:00
Benjamin Valentin
3806f7d532
nanocoap: make coap_request_ctx_t members internal
2022-07-17 14:32:16 +02:00
Benjamin Valentin
e8829d5591
gcoap_fileserver: make use of coap_request_ctx_t
2022-07-17 14:32:16 +02:00
Benjamin Valentin
a6c617a221
gcoap: make use of coap_request_ctx_t
2022-07-17 14:29:39 +02:00
Benjamin Valentin
acfab72296
nanocoap: make use of coap_request_ctx_t
2022-07-17 14:29:39 +02:00
Marian Buschsieweke
576f82732f
Merge pull request #18311 from benpicco/gnrc/ipv6_auto_subnets-wording
...
gnrc/ipv6_auto_subnets: improve wording in documentation, add to Doxygen
2022-07-16 13:49:20 +02:00
Benjamin Valentin
d4a3521501
doc/doxygen: add gnrc_ipv6_auto_subnets.c to INPUT
2022-07-15 11:47:01 +02:00
Benjamin Valentin
c7ac22c892
gnrc/ipv6_auto_subnets: improve wording in documentation
2022-07-15 01:50:15 +02:00
Benjamin Valentin
d09d29a581
tests/unittests: add tests sock_dns_cache
2022-07-15 00:03:49 +02:00
Benjamin Valentin
077a41a719
sock_dns: implement DNS cache
2022-07-13 23:23:52 +02:00
Martine Lenders
a8254d52b8
Merge pull request #16705 from miri64/gcoap_dns/feat/initial
...
gcoap_dns: initial import of a DNS over CoAP (DoC) client
2022-07-13 02:27:17 +02:00
Martine Lenders
11dc836d61
Merge pull request #18307 from nmeum/pr/gnrc_dhcpv6_client_parse_reply
...
gnrc_dhcpv6_client: Fix out-of-bounds access during option parsing
2022-07-12 19:30:50 +02:00
benpicco
2198eb84c0
Merge pull request #18284 from jia200x/pr/gnrc_netif_move_tested_options
...
gnrc_netif: move `option_tested` to default init function
2022-07-11 22:57:57 +02:00
Sören Tempel
f073dcdb3d
gnrc_dhcpv6_client: Fix out-of-bounds access during option parsing
...
The _parse_reply function iterates over the DHCPv6 message options
twice but only performs sanity checks on the option length in the
first iteration. As such, both loop iterations need to be identical.
Unfortunately, there aren't without this commit as (1) they use
different maximum length values and (2) the first iteration stops
parsing as soon as it encounters a zero option while the second
doesn't. As such, it is possible for out-of-bounds read to be
performed by the second loop iteration. This commit fixes this.
2022-07-11 22:55:33 +02:00
Leandro Lanzieri
4a3231f763
drivers/kw2xrf: add setup function with global index
...
This index is used to register the network device.
2022-07-11 09:24:59 +02:00
Martine Lenders
107a2a0753
gcoap_dns: initial import of a DNS over CoAP client
2022-07-01 18:44:02 +02:00
Sören Tempel
4dcb8edcc8
asymcute: Fix deadlocks in REGACK, SUBACK and UNSUBACK handler
...
The handlers for these MQTT message lock the connection mutex on
function entry. During automated testing of asymcute, I discovered
return paths for these function which do not unlock the connection
mutex. This results in a deadlock which prevents asymcute from
sending any further messages.
2022-07-01 00:55:07 +02:00
Martine Lenders
fda230eb7c
Merge pull request #18275 from maribu/sys/net/rpl/netstats
...
sys/net/gnrc/rpl: sync access to netstats
2022-07-01 12:24:24 +02:00
Marian Buschsieweke
5a47d6a9b8
sys/net/gnrc/rpl: sync access to netstats
...
Synchronize the RPL thread updating the RPL netstats with the RPL
shell command reading it by disabling IRQs. This will prevent printing
corrupted data on non-32bit platforms as well as printing inconsistent
data (e.g. TX count of old state in conjunction with TX bytes of new
state) for all platforms.
Co-authored-by: Martine Lenders <mail@martine-lenders.eu>
2022-06-30 09:48:46 +02:00
Marian Buschsieweke
93d8bade8e
sys/net/gnrc/rpl: refactor netstats_rpl_t
...
There is a repeating pattern in the struct that is split out into a
subtype in this commit. This makes handling the data easier, as now
done in the print routine.
2022-06-30 09:48:45 +02:00
Jose Alamos
2c76dbf351
gnrc_netif: move option_tested
to default init function
2022-06-29 17:48:27 +02:00
Martine Lenders
d9846e414f
Merge pull request #18269 from maribu/sys/net/netstats
...
sys/net/netopt: change NETOPT_STATS semantics
2022-06-29 15:52:03 +02:00
Marian Buschsieweke
973b6f69bf
sys/net/netopt: change NETOPT_STATS semantics
...
Instead of retrieving a pointer with NETOPT_STATS, retrieve the current
data. This avoids data corruptions when reading from one thread (e.g.
the thread running the shell (ifconfig command)) while another thread
is updating it (e.g. the netif thread).
The issue affects all boards, as users typically expect the count of
TX packets and the number of TX bytes to refer to the same state. For
16 bit and 8 bit platforms even a single netstat entry can read back
corrupted.
This fixes the issue by just copying the whole netstat_t struct over
without requiring explicit locking on the user side. A multi-threaded
network stack still needs to synchronize the thread responding to
netopt_get with the thread writing to the netstat_t structure, but that
is an implementation detail no relevant to the user of the API.
2022-06-28 16:57:43 +02:00
benpicco
5bb12f3e57
Merge pull request #18264 from jia200x/pr/submac_use_ieee802154_retrans_config
...
ieee802154: add default max frame retransmissions config
2022-06-28 16:00:51 +02:00
Jose Alamos
88e14f01a1
ieee802154/submac: use default config for max frame retransmissions
2022-06-27 14:51:16 +02:00
Jose Alamos
0a76a88dc8
ieee802154: add default max frame retransmissions config
2022-06-27 14:50:54 +02:00
Benjamin Valentin
5b7d9be254
net/eui_provider: provide netif index to EUI provder function
...
An EUI provider can provide EUIs for multiple interfaces based on
their index.
For this is should get the index of the interface, not the index of
the EUI provider.
2022-06-23 22:30:24 +02:00
Benjamin Valentin
0b3f66f0db
sys/net/gnrc_pktbuf_static: fix documentation of use-after-free detection
2022-06-23 00:31:32 +02:00
chrysn
5852167772
Merge pull request #18227 from benpicco/gnrc_pktbuf_static-use-after-free
...
sys/net/gnrc_pktbuf_static: add use-after-free detection
2022-06-22 21:28:28 +02:00
Benjamin Valentin
a165093b10
sys/net/gnrc_pktbuf_static: add use-after-free detection
2022-06-22 15:41:15 +02:00
Benjamin Valentin
8c4e5629d1
nanocoap_sock: fix debug output
2022-06-21 23:06:33 +02:00
Martine Lenders
03dfad899b
Merge pull request #17834 from haukepetersen/opt_skald_advitvlconfig
...
net/ble/skald: make advertising interval configurable per context
2022-06-21 13:31:57 +02:00
Benjamin Valentin
14afafa2d2
gnrc_pktbuf: fix gnrc_pktbuf_contains()
2022-06-17 19:58:01 +02:00
Benjamin Valentin
11e40a9d61
nanocoap_sock: fix wrong assertion
...
The assertion is a bit overeager.
In case of receiving a wrong message ID, we re-try receive without
entering the STATE_REQUEST_SEND state again, so it is expected that
we get a non-NULL ctx/response from sock_udp_recv_buf().
What this assert should actually check is that we don't get a non-NULL
ctx after calling sock_udp_recv_buf() with a non-NULL ctx.
So make this explicit to not falsely fail the assertion.
2022-06-16 18:54:16 +02:00
benpicco
0a16f8266a
Merge pull request #17962 from benpicco/nanocoap_vfs-put
...
nanocoap_vfs: add nanocoap_vfs_put()
2022-06-16 11:53:36 +02:00
benpicco
593b5d376d
Merge pull request #18186 from maribu/sys/fmt
...
sys/fmt: fix output on native
2022-06-11 08:07:22 +02:00
Marian Buschsieweke
85cf4aef03
sys/net/ipv6: fix ipv6_addrs_print()
...
Fix incorrect printing of the separator after the last item.
2022-06-10 11:02:42 +02:00
Benjamin Valentin
d102bf90ea
gnrc/ipv6_auto_subnets: always send RIO to upstream network
...
In a881af8b08
we would return early if the subnet did not change,
but we must still send the router advertisement with the route information
option to the upstream network, otherwise hosts in that network will not
consider the downstream subnet off-link.
2022-06-09 17:25:20 +02:00
Benjamin Valentin
bb42f6a2f4
nanocoap_vfs: add nanocoap_vfs_put()
2022-06-08 17:19:03 +02:00
Benjamin Valentin
7029572ca7
sys/net/telnet: add telnet_server_disconnect()
2022-06-08 13:01:23 +02:00
Marian Buschsieweke
bfb8a55764
sys/net/netif: add helpers for IPv6 addresses
...
- add `netif_get_ipv6()` to query IPv6 (as a slim convenience wrapper
for `netif_get_opt()`)
- add `netifs_get_ipv6()` to query IPv6 addresses of all netifs
- add `netif_print_ipv6()` to print the IPv6 address(es) of a single
netif
- add `netifs_print_ipv6()` to print the IPv6 address(es) of all netifs
2022-06-06 20:46:48 +02:00
Marian Buschsieweke
a4d00df586
sys/net: add ipv6_addrs_print()
...
Also use `IS_USED(MODULE_FMT)` rather than the preprocessor and rely
on the optimizer to eliminate the dead branch.
2022-06-06 20:46:48 +02:00
Martine Lenders
18edd896c1
Merge pull request #18153 from benpicco/gnrc_netif_pktq-fix
...
gnrc_netif_pktq: protect against concurrent access
2022-06-01 22:00:29 +02:00
Benjamin Valentin
61cc168ce1
gnrc_netif_pktq: protect against concurrent access
...
fixes #17924
2022-06-01 12:13:31 +02:00
Martine Lenders
c4e202ae67
Merge pull request #17709 from benpicco/cpu/native-tap_wired
...
netdev_tap: make 'wired' property configurable
2022-06-01 02:24:43 +02:00
Martine Lenders
e22fb6ef07
gnrc_netif_pktq: create dedicated Kconfig
...
Reflects dependency change in e5f93f856d
2022-05-30 11:13:52 +02:00
Martine Lenders
e5f93f856d
gnrc: gnrc_netif etc. modules are not required by gnrc_netif_pktq
2022-05-30 10:39:06 +02:00
Benjamin Valentin
bf5926283b
gnrc_netreg: drain mbox on unregister
...
If there are still messages in the mbox when gnrc_netreg_unregister()
is called, we must release the associated pktbuf snips, otherwise
they are leaked away forever.
E.g. `sock_udp_close()` was called without receiving all messages with
`sock_udp_recv()`.
2022-05-29 22:42:48 +02:00
benpicco
31b8518d20
Merge pull request #17965 from benpicco/coap_get_blockopt-uint8
...
nanocoap: use uint8_t for szx value
2022-05-25 14:00:04 +02:00
Martine Lenders
3e531801e6
Merge pull request #17678 from miri64/gnrc_netif/enh/optional-comp-ctx
...
gnrc_netif: make auto-config of compression context optional
2022-05-25 00:51:36 +02:00
Martine Lenders
a2ca69ac91
Merge pull request #17691 from miri64/gnrc_sock/enh/warn-about-async-timeout
...
gnrc_sock: warn about non-zero receive timeouts with sock_async
2022-05-24 23:20:42 +02:00
benpicco
85169fc220
Merge pull request #17937 from benpicco/nanocoap_vfs
...
nanocoap_vfs: add nanocoap_vfs_get()
2022-05-24 16:10:15 +02:00
Martine Lenders
a61c4b738c
Merge pull request #17547 from benpicco/gnrc_ipv6_auto_subnets-multi
...
gnrc/ipv6_auto_subnets: allow to join multiple subnets
2022-05-24 15:49:17 +02:00
Martine Lenders
4599c21b19
Merge pull request #18085 from benpicco/ipv6_auto_subnets-pio-flags
...
gnrc/ipv6_auto_subnets: only use prefixes meant for automatic address configuration
2022-05-24 14:23:53 +02:00
Hauke Petersen
f10a28a7f7
net/ble/skald: let itvl be configured per context
2022-05-24 13:02:10 +02:00
Martine Lenders
3d819ce707
gnrc_netif: make auto-config of compression context optional
2022-05-24 12:30:36 +02:00
Martine Lenders
4e88b7552b
gnrc_sock: warn about non-zero receive timeouts with sock_async
2022-05-24 12:29:13 +02:00
Benjamin Valentin
87359bb70a
nanocoap_vfs: add nanocoap_vfs_get()
2022-05-24 09:32:57 +02:00
Martine Lenders
078bced8e1
Merge pull request #16090 from maribu/gnrc_tx_sync_frag_sfr
...
sys/net/gnrc: add gnrc_tx_sync for gnrc_sixlowpan_frag_sfr
2022-05-24 03:38:38 +02:00
Martine Lenders
a5cc629fb8
Merge pull request #18127 from benpicco/gnrc/nib-no_default_router_from_wpan
...
gnrc/nib: don't add routers from WPAN as default router on the 6LBR
2022-05-24 00:38:43 +02:00
Benjamin Valentin
c6ba5d9180
gcoap_fileserver: use uint8_t for szx value
2022-05-23 23:43:21 +02:00
Benjamin Valentin
00221818b6
nanocoap: use uint8_t for szx value
...
The value is an exponent, 8 bits totally suffice here
2022-05-23 23:41:21 +02:00
benpicco
08e430bee7
Merge pull request #17956 from benpicco/coapfileserver
...
gcoap: Add file server
2022-05-23 22:10:49 +02:00
Benjamin Valentin
f544890056
gnrc/nib: don't add routers from WPAN as default router for 6LBR
...
This avoids a race condition where the default router slots for the 6LBR
are used up by router advertisements from the 6Lo network that arrived
before router advertisements from the upstream network.
The border router should ignore 'default routers' from the 6Lo network as
it consitutes the uplink for that network.
2022-05-23 16:44:58 +02:00
Benjamin Valentin
fad65011b7
netdev_tap: make NETDEV_TAP_MAX an upper bound
2022-05-23 15:27:35 +02:00
Martine Lenders
3398898e76
gnrc_ipv6_nib: fix inconsistent ABR valid lifetime representation
2022-05-23 14:21:25 +02:00
chrysn
185dfea07f
gcoap_fileserver: New module to serve VFS via CoAP
2022-05-22 16:36:21 +02:00
Benjamin Valentin
7c75852316
nanocoap_sock: clean up state management
2022-05-18 11:41:58 +02:00
benpicco
7c62c8983d
Merge pull request #17958 from benpicco/nanocoap-blockwise_put
...
nanocoap_sock: add nanocoap_sock_block_request()
2022-05-18 10:40:24 +02:00
Benjamin Valentin
b99d4b58bd
nanocoap_sock: add nanocoap_sock_block_request()
2022-05-17 23:07:23 +02:00
Benjamin Valentin
f2279e43ae
nanocoap_sock: support sending CoAP packet with payload snips
2022-05-17 23:07:23 +02:00
Marian Buschsieweke
e4098d4b0d
sys/net/gnrc: add gnrc_tx_sync for gnrc_sixlowpan_frag_sfr
...
Implement TX synchronization for gnrc_sixlowpan_frag_sfr
2022-05-17 14:01:57 +02:00
benpicco
d28a45e939
Merge pull request #18089 from benpicco/NETOPT_RX_END_IRQ
...
net/netopt: drop NETOPT_RX_END_IRQ
2022-05-16 11:34:48 +02:00
benpicco
1e315c7308
Merge pull request #16748 from jia200x/pr/gnrc_netif/remove_netdev_event_isr_msg
...
gnrc_netif: use event loops by default to process ISR
2022-05-13 18:49:01 +02:00
Martine Lenders
dbed2b48ea
nanocoap_cache: add helper function to check if entry is stale
2022-05-13 12:14:55 +02:00
Martine Lenders
310ed649ae
gcoap: reflect truncation with caching
2022-05-13 12:14:55 +02:00
Martine Lenders
70d0d7f624
gcoap_forward_proxy: only leave upstream validation for caching
...
Most of the caching operation was moved to the client code. Since the
forward proxy is using that code for upstream messaging, interacting
with the cache directly is not necessary anymore.
The only cache-related thing necessary for the proxy is validating ETags
from upstream. However, that can be done by just looking at the ETags
from the upstream response (which may or may not have come from the
cache).
2022-05-13 12:14:55 +02:00
Martine Lenders
728c7d6088
gcoap: add nanocoap_cache support for clients
2022-05-13 12:14:54 +02:00
Martine Lenders
cbbde07cc6
gcoap: add helper function to get request header from a request memo
2022-05-12 15:22:05 +02:00
Martine Lenders
73bcd83543
nanocoap_cache, forward_proxy: add ETag validation support
2022-05-12 13:22:41 +02:00
Benjamin Valentin
b13b942e18
gnrc/ipv6_auto_subnets: allow to join multiple subnets
2022-05-12 00:44:18 +02:00
Benjamin Valentin
aae9bb0a91
net/netopt: remove NETOPT_RX_END_IRQ
2022-05-11 23:44:24 +02:00
Benjamin Valentin
83d7d05885
gnrc/link_layer: don't set NETOPT_RX_END_IRQ
2022-05-11 13:58:06 +02:00
Benjamin Valentin
03a669c407
gnrc_netif: remove warning about NETOPT_RX_END_IRQ
2022-05-11 13:56:47 +02:00
Cenk Gündoğan
c5eb53095d
gcoap: integrate nanocoap cache
2022-05-10 18:43:57 +02:00
Cenk Gündoğan
8750605d26
nanocoap: add cache for response messages
2022-05-10 18:43:56 +02:00
Jose Alamos
869c5f37a7
link_layer/lwmac: use event queue for ISR offload
2022-05-10 17:48:43 +02:00
Jose Alamos
6040747f33
link_layer/gomach: use event queue for ISR offload
2022-05-10 17:48:43 +02:00
Jose Alamos
081dfe0e64
gnrc_netif: use event queue for ISR offload
2022-05-10 17:48:42 +02:00
Jose Alamos
38798cb877
gnrc_netif: use events instead of msg queue for ISR offload
2022-05-10 17:48:42 +02:00
Benjamin Valentin
1c1cb481da
gnrc/ipv6_auto_subnets: only use prefix meant for address configuration
2022-05-10 16:41:20 +02:00
Marian Buschsieweke
eadd282cf4
Merge pull request #18026 from benpicco/gcoap_add_fix
...
gcoap: ensure response address is the same as request address
2022-05-10 10:49:56 +02:00
Marian Buschsieweke
3dad6740da
Merge pull request #17990 from benpicco/nanocoap-void
...
nanocoap: use void * for payload bytes
2022-05-10 10:49:05 +02:00
Benjamin Valentin
e621afb2dc
gcoap: ensure response address is the same as request address
...
If a node has multiple addresses we must reply to a request with the
same address on which the request was received.
2022-05-10 09:24:56 +02:00
Benjamin Valentin
cc8b4f52aa
grnc_sock_udp: implement SOCK_AUX_SET_LOCAL
2022-05-10 09:24:56 +02:00
Benjamin Valentin
2197f9c16a
grnc_sock_ip: implement SOCK_AUX_SET_LOCAL
2022-05-10 09:24:56 +02:00
Benjamin Valentin
cbd48c23aa
gnrc_sock: implicitly set netif if there is only a single one
2022-05-06 12:11:13 +02:00
benpicco
de23ba0d04
Merge pull request #18046 from benpicco/nanocoap-minor
...
nanocoap: minor fixes
2022-05-05 14:56:47 +02:00
Benjamin Valentin
0847c18a18
nanocoap: use size_t for payload_len
2022-05-03 11:32:20 +02:00
Benjamin Valentin
cabb2c912d
nanocoap: use void * for payload bytes
2022-05-03 11:32:20 +02:00
Benjamin Valentin
d03c6390c8
nanocoap_sock: release rx buffer on RESET
...
We must not return without calling sock_udp_recv_buf() again.
2022-05-03 03:53:56 +02:00
Benjamin Valentin
e55f0f8831
sys/net/grnc: make use of iolist_to_buffer()
2022-05-02 23:23:52 +02:00
benpicco
1b92fb9858
Merge pull request #17350 from benpicco/gnrc_rpl/auto_init_on_prefix
...
gnrc/ipv6_auto_subnets: init RPL root when adding a prefix
2022-05-02 21:38:21 +02:00
Benjamin Valentin
a881af8b08
gnrc/ipv6_auto_subnets: bail out early if prefix stays the same
2022-05-01 21:37:32 +02:00
Benjamin Valentin
5785856fe7
gnrc/ipv6_auto_subnets: bail out early if adding prefix fails
2022-04-29 22:56:35 +02:00
Benjamin Valentin
3993fd75d0
gnrc/ipv6_auto_subnets: auto init RPL root
2022-04-29 22:56:35 +02:00
Benjamin Valentin
04a8a36734
nanocoap_sock: only abort nanocoap_sock_get_blockwise() on negative error
...
Some user callbacks might just return the result of some other operation
that returns written bytes or negative error.
Let's not break those, only consider negative callback returns an error.
2022-04-29 21:29:36 +02:00
eecac6945b
nanocoap: Add handler for resource-based subtrees
...
This adds a coap_handler_t function that can be used to parse new
subtrees. The subtree information is included in the context pointer of
the call and must be of type coap_resource_subtree_t. This object then
contains the pointer and length of a different coap_resource_t instance.
2022-04-23 10:12:18 +02:00
Benjamin Valentin
bb4c597681
nanocoap_sock: document (ab)use of sock_udp_recv_buf(), add asssert()
2022-04-22 11:34:19 +02:00
Benjamin Valentin
b20f89976d
nanocoap_sock: pass on error code from user callback
2022-04-22 10:35:52 +02:00
Benjamin Valentin
85833ab58c
nanocoap_sock: clean up the request function
2022-04-22 10:35:52 +02:00
Benjamin Valentin
bd7fe3bc5c
nanocoap_sock: calculate deadline from interval
...
So we don't have to wait a full interval again if we got a wrong
message without resend.
2022-04-22 10:35:52 +02:00
Benjamin Valentin
e2fe9d0268
nanocoap_sock: compare response token
2022-04-22 10:35:52 +02:00
Benjamin Valentin
c22b1242ae
nanocoap_sock: ensure ctx is reset before receiving new frame
2022-04-22 10:35:52 +02:00
Benjamin Valentin
3ac258ccdf
nanocoap_sock: set more false if response was not blockwise
2022-04-22 10:12:27 +02:00