Go to the documentation of this file.
11 #ifndef __LOM2M_CONFIG
12 #define __LOM2M_CONFIG
18 #define mySSID "davisa"
19 #define myPSK "chez,davisa"
39 #define ACCESS_CONTROL_FEAT 1
40 #define PERSISTENCE_FEAT 1
41 #define SUBSCRIPTION_FEAT 1
42 #define REQ_LVL_FEAT 1
43 #define JSONMAXSIZE_OUTPUT 65536
45 #define MQTTS_BINDING 1
46 #define CONF_MQTTS_DEFAULT_ENABLED 0
47 #define HTTP_BINDING 1
48 #define HTTP_BINDING_ENABLED_DEFAULT 1
53 #define ACCESS_CONTROL_FEAT 1
54 #define PERSISTENCE_FEAT 0
55 #define SUBSCRIPTION_FEAT 1
56 #define REQ_LVL_FEAT 0
57 #define JSONMAXSIZE_OUTPUT 7168
59 #define MQTTS_BINDING 1
60 #define CONF_MQTTS_DEFAULT_ENABLED 0
61 #define HTTP_BINDING 1
62 #define HTTP_BINDING_ENABLED_DEFAULT 1
70 #define PERSIST_PERIOD_MS 60000
81 #define GLOBAL_MAX_NUMBER_RESOURCES -1
83 #define MAX_CIN_PER_CNT 10
87 #define GLOBAL_MAX_NUMBER_RESOURCES 30
88 #define MAX_CIN_PER_CNT 1
89 #define DEFAULT_PROTOCOL_HTTP 1
97 #define CONF_REMOTE_POA "http://127.0.0.1:8080"
98 #define CONF_REMOTE_CSE_ID "in-cse"
99 #define CONF_REMOTE_CSE_NAME "in-name"
100 #define CONF_ADMIN_ORIGINATOR "admin:admin"
101 #define CONF_LOCAL_POA "http://"+IP+":"+PORT
103 #define CONF_MQTTS_ENDPOINT "a1y70l404vfam6-ats.iot.us-west-2.amazonaws.com"
104 #define CONF_MQTTS_PORT 8883
105 #define CONF_MQTTS_RETRY_PERIOD 15000
106 #define CONF_MQTTS_TIMEOUT 30000
107 #define CONF_MQTTS_CLIENT_BUFFER_SIZE 1024
108 #define CONF_MQTTS_GENERIC_REQ_TOPIC_BASE "/oneM2M/req/"
109 #define CONF_MQTTS_GENERIC_RESP_TOPIC_BASE "/oneM2M/resp/"
110 #define CONF_MQTTS_GENERIC_TOPIC_END "/json"
111 #define CONF_MQTTS_CLIENT_ID_PREFIX "com.toulousetechtransfer.lom2m-"
122 #define DISABLE_RI_CHECK 0