LOM2M  0.8.0
Enumerations
Enum.h File Reference

Go to the source code of this file.

Enumerations

enum  NotificationEventType {
  NET_UPDATE_RES = 1 , NET_DELETE_RES = 2 , NET_CREATE_DIRECT_CHILD = 3 , NET_DELETE_DIRECT_CHILD = 4 ,
  NET_RETRIEVE_CNT_WITH_NO_CHILD = 5 , NET_TRIGGER_RECEIVE_FOR_AE = 6 , NET_BLOCKING_UPDATE = 7
}
 
enum  NotificationContentType {
  NCT_NULL_VRQ = 0 , NCT_ALL_ATTRIBUTES = 1 , NCT_MODIFIED_ATTRIBUTES = 2 , NCT_RESOURCE_ID = 3 ,
  NCT_TRIGGER_PAYLOAD = 4
}
 
enum  Operation {
  OP_NULL = -1 , OP_CREATE = 1 , OP_RETRIEVE = 2 , OP_UPDATE = 3 ,
  OP_DELETE = 4 , OP_NOTIFY = 5 , OP_DISCOVERY = 6
}
 
enum  ResultContentType {
  RCN_NULL = -1 , RCN_NOTHING = 0 , RCN_ATTR = 1 , RCN_HIER_ADDR = 2 ,
  RCN_HIER_ADDR_ATTR = 3 , RCN_ATTR_CHRES = 4 , RCN_ATTR_CHREF = 5 , RCN_CHREF = 6 ,
  RCN_ORIGINAL_RES = 7 , RCN_CHRES = 8 , RCN_MODIF_ATTR = 9 , RCN_SEM_CONTENT = 10
}
 
enum  ACCESS_CONTROL_OPERATIONS {
  ACOP_CREATE = 1 , ACOP_RETRIEVE = 2 , ACOP_UPDATE = 4 , ACOP_DELETE = 8 ,
  ACOP_NOTIFY = 16 , ACOP_DISCOVERY = 32 , ACOP_ALL = 63
}
 
enum  FILTER_USAGE { FU_DISCOVERY_CRITERIA = 1 , FU_CONDITIONAL_RETRIEVAL = 2 , FU_IPE_ON_DEMAND_DISCOVERY = 3 }
 

Enumeration Type Documentation

◆ ACCESS_CONTROL_OPERATIONS

Enum for access control operations IDs. To use multiple rights, sum the operations.

Enumerator
ACOP_CREATE 
ACOP_RETRIEVE 
ACOP_UPDATE 
ACOP_DELETE 
ACOP_NOTIFY 
ACOP_DISCOVERY 
ACOP_ALL 

◆ FILTER_USAGE

Possible values for FILTER USAGE attribute of Filter Criteria (used in discovery)

Enumerator
FU_DISCOVERY_CRITERIA 
FU_CONDITIONAL_RETRIEVAL 
FU_IPE_ON_DEMAND_DISCOVERY 

◆ NotificationContentType

Define the content type of the notification body

Enumerator
NCT_NULL_VRQ 

used only for initialisation

NCT_ALL_ATTRIBUTES 

all atributes of concerned resource

NCT_MODIFIED_ATTRIBUTES 

modified attributes only

NCT_RESOURCE_ID 

resource ID only

NCT_TRIGGER_PAYLOAD 

???

◆ NotificationEventType

Notification event type defines which type of event should trigger a Notification

Enumerator
NET_UPDATE_RES 

event update resource

NET_DELETE_RES 

event delete resource

NET_CREATE_DIRECT_CHILD 

event direct child resource creation

NET_DELETE_DIRECT_CHILD 

event delete direct child resource

NET_RETRIEVE_CNT_WITH_NO_CHILD 

event retrieve container with no child resource

NET_TRIGGER_RECEIVE_FOR_AE 

trigger receive for application entity

NET_BLOCKING_UPDATE 

event blocking update

◆ Operation

enum Operation

Enum for oneM2M operation code

Enumerator
OP_NULL 
OP_CREATE 
OP_RETRIEVE 
OP_UPDATE 
OP_DELETE 
OP_NOTIFY 
OP_DISCOVERY 

◆ ResultContentType

Enum for result content type parameter (query string in HTTP)

Enumerator
RCN_NULL 
RCN_NOTHING 

result content nothing

RCN_ATTR 

result content only attributes of the target resource

RCN_HIER_ADDR 

result content with hierarchical address only

RCN_HIER_ADDR_ATTR 

hierarchical address + attributes of the resource

RCN_ATTR_CHRES 

child resources attributes + resource attributes

RCN_ATTR_CHREF 

child resources references + resource attributes

RCN_CHREF 

child resources references only

RCN_ORIGINAL_RES 

original resource

RCN_CHRES 

child resources attributes only

RCN_MODIF_ATTR 

modified attributes of the resource only

RCN_SEM_CONTENT 

semantic content only