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

tests/net/gcoap_fileserver: gcoap_fileserver -> nanocoap_fileserver

This commit is contained in:
Benjamin Valentin 2023-10-30 15:48:35 +01:00
parent cf087bb0eb
commit c5ac574236
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ USEMODULE += shell
USEMODULE += shell_cmds_default
USEMODULE += gcoap_fileserver
USEMODULE += gcoap_fileserver_put
USEMODULE += nanocoap_fileserver_put
USEMODULE += nanocoap_vfs

View File

@ -19,7 +19,7 @@
#include "fs/constfs.h"
#include "net/gcoap.h"
#include "net/gcoap/fileserver.h"
#include "net/nanocoap/fileserver.h"
#include "shell.h"
#include "vfs_default.h"
@ -31,13 +31,13 @@ static const coap_resource_t _resources[] = {
{
.path = "/const",
.methods = COAP_GET | COAP_MATCH_SUBTREE,
.handler = gcoap_fileserver_handler,
.handler = nanocoap_fileserver_handler,
.context = "/const"
},
{
.path = "/vfs",
.methods = COAP_GET | COAP_PUT | COAP_MATCH_SUBTREE,
.handler = gcoap_fileserver_handler,
.handler = nanocoap_fileserver_handler,
.context = VFS_DEFAULT_DATA
},
};