Skip to content

Commit ef67c64

Browse files
authored
Merge pull request #21 from maxiwoj/target-object
Target object
2 parents e1835c9 + 28cef3d commit ef67c64

File tree

6 files changed

+805
-365
lines changed

6 files changed

+805
-365
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#ifndef _TARGET_H
2+
#define _TARGET_H
3+
4+
// Downlaod States
5+
#define NO_DOWNLOAD_DATA 0
6+
#define DOWNLOAD_IN_PROGRESS 1
7+
#define DOWNLOAD_ERROR 2
8+
#define DOWNLOAD_COMPLETED 3
9+
#endif

Inc/communication/wakaama_client/objects/objects.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ lwm2m_object_t * get_server_object(int serverId,
88
bool storing);
99
lwm2m_object_t * get_object_device();
1010
lwm2m_object_t * get_test_object();
11+
lwm2m_object_t * get_target_object();
1112

1213
void free_security_object();
1314
void clean_server_object();
1415
void free_object_device();
1516
void free_test_object();
17+
void free_target_object();
1618

17-
#define OBJ_COUNT 4
19+
#define OBJ_COUNT 5
1820

1921
#endif

0 commit comments

Comments
 (0)