Home
last modified time | relevance | path

Searched refs:float_val (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_observation.c131 out->lt = write_attr_pool[i].float_val; in update_attrs()
134 out->gt = write_attr_pool[i].float_val; in update_attrs()
137 out->st = write_attr_pool[i].float_val; in update_attrs()
895 attr->float_val = *(double *)data; in lwm2m_update_or_allocate_attribute()
896 LOG_DBG("Update %s to %f", lwm2m_attr_to_str(type), attr->float_val); in lwm2m_update_or_allocate_attribute()
921 attr->float_val = *(double *)data; in lwm2m_update_or_allocate_attribute()
922 LOG_DBG("Add %s to %f", lwm2m_attr_to_str(type), attr->float_val); in lwm2m_update_or_allocate_attribute()
1241 ret = lwm2m_atof(opt_buf, &val.float_val); in lwm2m_write_attr_handler()
1253 memcpy(nattr_ptrs[type], &val.float_val, sizeof(val.float_val)); in lwm2m_write_attr_handler()
1313 if (attr->float_val == *(double *)nattr_ptrs[type]) { in lwm2m_write_attr_handler()
[all …]
Dlwm2m_rw_link_format.c166 used = lwm2m_ftoa(&attr->float_val, float_buf, in put_attribute()
Dlwm2m_shell.c655 shell_fprintf(sh, SHELL_NORMAL, "%10f", attr->float_val); in shell_print_attr()
Dlwm2m_object.h381 double float_val; member