Edge Applications
Device Management
IoT
Contact Us
Login
Documentation
2.6
2.5
2.4
2.3
2.2
2.1
2.0
0.11
0.10
0.9
0.8
0.7
Mistake on this page?
Email us
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
mbed-edge
include
common
constants.h
Go to the documentation of this file.
1
/*
2
* ----------------------------------------------------------------------------
3
* Copyright 2018 ARM Ltd.
4
*
5
* SPDX-License-Identifier: Apache-2.0
6
*
7
* Licensed under the Apache License, Version 2.0 (the "License");
8
* you may not use this file except in compliance with the License.
9
* You may obtain a copy of the License at
10
*
11
* http://www.apache.org/licenses/LICENSE-2.0
12
*
13
* Unless required by applicable law or agreed to in writing, software
14
* distributed under the License is distributed on an "AS IS" BASIS,
15
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
* See the License for the specific language governing permissions and
17
* limitations under the License.
18
* ----------------------------------------------------------------------------
19
*/
20
21
#ifndef INCLUDE_COMMON_CONSTANTS_H_
22
#define INCLUDE_COMMON_CONSTANTS_H_
23
35
#define OPERATION_READ 0x01
36
37
#define OPERATION_WRITE 0x02
38
39
#define OPERATION_READ_WRITE OPERATION_READ | OPERATION_WRITE
40
41
#define OPERATION_EXECUTE 0x04
42
43
#define OPERATION_DELETE 0x08
44
48
typedef
enum
{
49
LWM2M_STRING,
50
LWM2M_INTEGER,
51
LWM2M_FLOAT,
52
LWM2M_BOOLEAN,
53
LWM2M_OPAQUE,
54
LWM2M_TIME,
55
LWM2M_OBJLINK
56
}
Lwm2mResourceType
;
57
63
#endif
/* INCLUDE_COMMON_CONSTANTS_H_ */
Lwm2mResourceType
Lwm2mResourceType
LwM2M resource type enumeration constants.
Definition:
constants.h:48