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

Macros

#define COAP_PERM_ALL   0x00
 
#define COAP_PERM_GET   0x01
 
#define COAP_PERM_POST   0x02
 
#define COAP_PERM_PUT   0x04
 
#define COAP_PERM_DELETE   0x08
 
#define COAPS_PERM_GET   0x10
 
#define COAPS_PERM_POST   0x20
 
#define COAPS_PERM_PUT   0x40
 
#define COAPS_PERM_DELETE   0x80
 

Detailed Description

Macro Definition Documentation

#define COAP_PERM_ALL   0x00

Permission to allow all methods in the COAP/COAPS endpoint resource.

#define COAP_PERM_DELETE   0x08

Permission to allow DELETE method in the COAP endpoint resource.

#define COAP_PERM_GET   0x01

Permission to allow GET method in the COAP endpoint resource.

#define COAP_PERM_POST   0x02

Permission to allow POST method in the COAP endpoint resource.

#define COAP_PERM_PUT   0x04

Permission to allow PUT method in the COAP endpoint resource.

#define COAPS_PERM_DELETE   0x80

Permission to allow DELETE method in the COAPS endpoint resource.

#define COAPS_PERM_GET   0x10

Permission to allow GET method in the COAPS endpoint resource.

#define COAPS_PERM_POST   0x20

Permission to allow POST method in the COAPS endpoint resource.

#define COAPS_PERM_PUT   0x40

Permission to allow PUT method in the COAPS endpoint resource.