nRF51 IoT SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Resource method permission bitmask values

Macros

#define COAP_PERM_NONE   0x0000
 
#define COAP_PERM_GET   0x0001
 
#define COAP_PERM_POST   0x0002
 
#define COAP_PERM_PUT   0x0004
 
#define COAP_PERM_DELETE   0x0008
 
#define COAPS_PERM_GET   0x0010
 
#define COAPS_PERM_POST   0x0020
 
#define COAPS_PERM_PUT   0x0040
 
#define COAPS_PERM_DELETE   0x0080
 
#define COAP_PERM_OBSERVE   0x0100
 

Detailed Description

Macro Definition Documentation

#define COAP_PERM_DELETE   0x0008

Permission to allow DELETE method in the COAP endpoint resource.

#define COAP_PERM_GET   0x0001

Permission to allow GET method in the COAP endpoint resource.

#define COAP_PERM_NONE   0x0000

Permission by default. Do not allow any method in the COAP/COAPS endpoint resource.

#define COAP_PERM_OBSERVE   0x0100

Permission to allow OBSERVE of the endpoint resource.

#define COAP_PERM_POST   0x0002

Permission to allow POST method in the COAP endpoint resource.

#define COAP_PERM_PUT   0x0004

Permission to allow PUT method in the COAP endpoint resource.

#define COAPS_PERM_DELETE   0x0080

Permission to allow DELETE method in the COAPS endpoint resource.

#define COAPS_PERM_GET   0x0010

Permission to allow GET method in the COAPS endpoint resource.

#define COAPS_PERM_POST   0x0020

Permission to allow POST method in the COAPS endpoint resource.

#define COAPS_PERM_PUT   0x0040

Permission to allow PUT method in the COAPS endpoint resource.