anjay
Loading...
Searching...
No Matches
ipso_objects.h
Go to the documentation of this file.
1/*
2 * Copyright 2017-2024 AVSystem <avsystem@avsystem.com>
3 * AVSystem Anjay LwM2M SDK
4 * All rights reserved.
5 *
6 * Licensed under the AVSystem-5-clause License.
7 * See the attached LICENSE file for details.
8 */
9#ifndef ANJAY_IPSO_OBJECTS_H
10#define ANJAY_IPSO_OBJECTS_H
11
12#include <anjay/dm.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
28 void *ctx,
29 double *value);
30
64
76 anjay_oid_t oid,
77 size_t num_instances);
78
92 anjay_t *anjay,
93 anjay_oid_t oid,
94 anjay_iid_t iid,
96
109 anjay_oid_t oid,
110 anjay_iid_t iid);
111
120 anjay_oid_t oid,
121 anjay_iid_t iid);
122
135 void *ctx,
136 double *x_value,
137 double *y_value,
138 double *z_value);
139
181
193 anjay_oid_t oid,
194 size_t num_instances);
195
209 anjay_oid_t oid,
210 anjay_iid_t iid,
211 const anjay_ipso_3d_sensor_impl_t impl);
212
224 anjay_oid_t oid,
225 anjay_iid_t iid);
226
235 anjay_oid_t oid,
236 anjay_iid_t iid);
237
246int anjay_ipso_button_install(anjay_t *anjay, size_t num_instances);
247
261 anjay_iid_t iid,
262 const char *application_type);
263
274
284int anjay_ipso_button_update(anjay_t *anjay, anjay_iid_t iid, bool pressed);
285
286#ifdef __cplusplus
287}
288#endif
289
290#endif // ANJAY_IPSO_OBJECTS_H
uint16_t anjay_oid_t
Definition core.h:1182
uint16_t anjay_iid_t
Definition core.h:1185
struct anjay_struct anjay_t
Definition core.h:45
int anjay_ipso_button_install(anjay_t *anjay, size_t num_instances)
int anjay_ipso_3d_sensor_value_reader_t(anjay_iid_t iid, void *ctx, double *x_value, double *y_value, double *z_value)
Definition ipso_objects.h:134
int anjay_ipso_3d_sensor_update(anjay_t *anjay, anjay_oid_t oid, anjay_iid_t iid)
int anjay_ipso_3d_sensor_instance_remove(anjay_t *anjay, anjay_oid_t oid, anjay_iid_t iid)
int anjay_ipso_basic_sensor_instance_remove(anjay_t *anjay, anjay_oid_t oid, anjay_iid_t iid)
int anjay_ipso_basic_sensor_value_reader_t(anjay_iid_t iid, void *ctx, double *value)
Definition ipso_objects.h:27
int anjay_ipso_3d_sensor_instance_add(anjay_t *anjay, anjay_oid_t oid, anjay_iid_t iid, const anjay_ipso_3d_sensor_impl_t impl)
int anjay_ipso_button_update(anjay_t *anjay, anjay_iid_t iid, bool pressed)
int anjay_ipso_basic_sensor_install(anjay_t *anjay, anjay_oid_t oid, size_t num_instances)
int anjay_ipso_3d_sensor_install(anjay_t *anjay, anjay_oid_t oid, size_t num_instances)
struct anjay_ipso_3d_sensor_impl_struct anjay_ipso_3d_sensor_impl_t
int anjay_ipso_basic_sensor_update(anjay_t *anjay, anjay_oid_t oid, anjay_iid_t iid)
int anjay_ipso_basic_sensor_instance_add(anjay_t *anjay, anjay_oid_t oid, anjay_iid_t iid, const anjay_ipso_basic_sensor_impl_t impl)
int anjay_ipso_button_instance_add(anjay_t *anjay, anjay_iid_t iid, const char *application_type)
struct anjay_ipso_basic_sensor_impl_struct anjay_ipso_basic_sensor_impl_t
int anjay_ipso_button_instance_remove(anjay_t *anjay, anjay_iid_t iid)
Definition ipso_objects.h:140
double min_range_value
Definition ipso_objects.h:167
anjay_ipso_3d_sensor_value_reader_t * get_values
Definition ipso_objects.h:179
void * user_context
Definition ipso_objects.h:160
double max_range_value
Definition ipso_objects.h:174
bool use_y_value
Definition ipso_objects.h:151
bool use_z_value
Definition ipso_objects.h:155
const char * unit
Definition ipso_objects.h:147
Definition ipso_objects.h:31
double min_range_value
Definition ipso_objects.h:50
anjay_ipso_basic_sensor_value_reader_t * get_value
Definition ipso_objects.h:62
void * user_context
Definition ipso_objects.h:43
double max_range_value
Definition ipso_objects.h:57
const char * unit
Definition ipso_objects.h:38