Lines Matching refs:obj_field

1069 			struct lwm2m_engine_obj_field *obj_field, struct lwm2m_message *msg)  in lwm2m_write_handler()  argument
1084 if (!obj_inst || !res || !res_inst || !obj_field || !msg) { in lwm2m_write_handler()
1140 switch (obj_field->data_type) { in lwm2m_write_handler()
1252 LOG_ERR("unknown obj data_type %d", obj_field->data_type); in lwm2m_write_handler()
1263 if (obj_field->data_type != LWM2M_RES_TYPE_OPAQUE) { in lwm2m_write_handler()
1281 if (obj_field->data_type == LWM2M_RES_TYPE_STRING) { in lwm2m_write_handler()
1298 if (LWM2M_HAS_PERM(obj_field, LWM2M_PERM_R)) { in lwm2m_write_handler()
1491 struct lwm2m_engine_obj_field *obj_field, struct lwm2m_message *msg) in lwm2m_read_handler() argument
1501 if (!obj_inst || !res || !obj_field || !msg) { in lwm2m_read_handler()
1507 temp_path.res_id = obj_field->res_id; in lwm2m_read_handler()
1555 ret = lwm2m_read_cached_data(msg, cached_data, obj_field->data_type); in lwm2m_read_handler()
1573 if (obj_field->data_type != LWM2M_RES_TYPE_OPAQUE && in lwm2m_read_handler()
1574 obj_field->data_type != LWM2M_RES_TYPE_STRING) { in lwm2m_read_handler()
1585 obj_field->data_type); in lwm2m_read_handler()
1704 struct lwm2m_engine_obj_field *obj_field; in lwm2m_perform_read_object_instance() local
1728 obj_field = lwm2m_get_engine_obj_field(obj_inst->obj, res->res_id); in lwm2m_perform_read_object_instance()
1729 if (!obj_field) { in lwm2m_perform_read_object_instance()
1731 } else if (!LWM2M_HAS_PERM(obj_field, LWM2M_PERM_R)) { in lwm2m_perform_read_object_instance()
1741 ret = lwm2m_read_handler(obj_inst, res, obj_field, msg); in lwm2m_perform_read_object_instance()
1750 !LWM2M_HAS_PERM(obj_field, BIT(LWM2M_FLAG_OPTIONAL))) { in lwm2m_perform_read_object_instance()