Searched refs:sec_obj_inst (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.5.0/subsys/net/lib/lwm2m/ |
D | lwm2m_rd_client.c | 361 client.ctx->sec_obj_inst = -1; in socket_fault_cb() 626 static bool sm_bootstrap_verify(bool bootstrap_server, int sec_obj_inst) in sm_bootstrap_verify() argument 631 ret = lwm2m_get_bool(&LWM2M_OBJ(0, sec_obj_inst, 1), &bootstrap); in sm_bootstrap_verify() 667 static int sm_select_server_inst(int sec_obj_inst, int *srv_obj_inst, in sm_select_server_inst() argument 673 ret = lwm2m_get_u16(&LWM2M_OBJ(0, sec_obj_inst, 10), &server_id); in sm_select_server_inst() 692 static int sm_select_security_inst(bool bootstrap_server, int *sec_obj_inst) in sm_select_security_inst() argument 697 i = lwm2m_security_inst_id_to_index(*sec_obj_inst); in sm_select_security_inst() 698 if (i >= 0 && sm_bootstrap_verify(bootstrap_server, *sec_obj_inst)) { in sm_select_security_inst() 702 *sec_obj_inst = -1; in sm_select_security_inst() 713 *sec_obj_inst = obj_inst_id; in sm_select_security_inst() [all …]
|
D | lwm2m_engine.c | 847 ret = lwm2m_get_res_buf(&LWM2M_OBJ(0, client_ctx->sec_obj_inst, res_id), &cred, &max_len, in load_tls_type() 850 LOG_ERR("Unable to get resource data for %d/%d/%d", 0, client_ctx->sec_obj_inst, in load_tls_type() 1149 ret = lwm2m_get_res_buf(&LWM2M_OBJ(0, client_ctx->sec_obj_inst, 0), (void **)&url, NULL, in lwm2m_engine_start()
|
D | lwm2m_obj_security.c | 220 LWM2M_OBJ(LWM2M_OBJECT_SECURITY_ID, ctx->sec_obj_inst, SECURITY_MODE_ID); in lwm2m_security_mode()
|
/Zephyr-Core-3.5.0/include/zephyr/net/ |
D | lwm2m.h | 220 int sec_obj_inst; member
|