Home
last modified time | relevance | path

Searched refs:srv_obj_inst (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.7.0/subsys/net/lib/lwm2m/
Dlwm2m_rd_client.c531 lwm2m_server_disable(client.ctx->srv_obj_inst, DISABLE_TIMEOUT); in do_registration_reply_cb()
631 static bool sm_update_lifetime(int srv_obj_inst, uint32_t *lifetime) in sm_update_lifetime() argument
635 if (lwm2m_get_u32(&LWM2M_OBJ(1, srv_obj_inst, 1), &new_lifetime) < 0) { in sm_update_lifetime()
642 lwm2m_set_u32(&LWM2M_OBJ(1, srv_obj_inst, 1), new_lifetime); in sm_update_lifetime()
912 if (sm_update_lifetime(client.ctx->srv_obj_inst, &client.lifetime) || in sm_send_registration()
1023 uint16_t srv = (uint16_t) client.ctx->srv_obj_inst; in sm_do_registration()
1048 client.ctx->srv_obj_inst = srv; in sm_do_registration()
1051 ret = lwm2m_get_u16(&LWM2M_OBJ(1, client.ctx->srv_obj_inst, 0), &ssid); in sm_do_registration()
1069 client.ep_name, client.lifetime, client.ctx->srv_obj_inst); in sm_do_registration()
1258 (void)lwm2m_get_bool(&LWM2M_OBJ(LWM2M_OBJECT_SERVER_ID, client.ctx->srv_obj_inst, in fallback_to_bootstrap()
[all …]
Dlwm2m_observation.c219 struct notification_attrs *attrs, uint16_t srv_obj_inst) in engine_observe_get_attributes() argument
228 attrs->pmin = lwm2m_server_get_pmin(srv_obj_inst); in engine_observe_get_attributes()
229 attrs->pmax = lwm2m_server_get_pmax(srv_obj_inst); in engine_observe_get_attributes()
373 sock_ctx[i]->srv_obj_inst); in lwm2m_notify_observer_path()
631 ret = engine_observe_get_attributes(&msg->path, &attrs, msg->ctx->srv_obj_inst); in engine_add_observer()
718 ret = engine_observe_attribute_list_get(&lwm2m_path_list, &attrs, msg->ctx->srv_obj_inst); in engine_add_composite_observer()
938 uint16_t srv_obj_inst) in lwm2m_engine_observer_timestamp_update() argument
957 ret = engine_observe_attribute_list_get(&obs->path_list, &nattrs, srv_obj_inst); in lwm2m_engine_observer_timestamp_update()
1054 ret = engine_observe_get_attributes(path, &attrs, client_ctx->srv_obj_inst); in lwm2m_update_observer_min_period()
1092 ret = engine_observe_get_attributes(path, &attrs, client_ctx->srv_obj_inst); in lwm2m_update_observer_max_period()
[all …]
Dlwm2m_observation.h37 int64_t engine_observe_shedule_next_event(struct observe_node *obs, uint16_t srv_obj_inst,
Dlwm2m_message_handling.c2455 msg->ctx->srv_obj_inst, msg->operation, in handle_request()
2460 msg->ctx->srv_obj_inst); in handle_request()
2523 msg->ctx->srv_obj_inst); in handle_request()
3479 if (lwm2m_server_get_mute_send(ctx->srv_obj_inst)) { in lwm2m_send_cb()
Dlwm2m_engine.c617 engine_observe_shedule_next_event(obs, ctx->srv_obj_inst, timestamp); in check_notifications()
/Zephyr-Core-3.7.0/include/zephyr/net/
Dlwm2m.h243 int srv_obj_inst; member