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:
parent
cf087bb0eb
commit
c5ac574236
@ -10,7 +10,7 @@ USEMODULE += shell
|
||||
USEMODULE += shell_cmds_default
|
||||
|
||||
USEMODULE += gcoap_fileserver
|
||||
USEMODULE += gcoap_fileserver_put
|
||||
USEMODULE += nanocoap_fileserver_put
|
||||
|
||||
USEMODULE += nanocoap_vfs
|
||||
|
||||
|
@ -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
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user