43 eOnvBRD_t brd = eo_nv_GetBRD(nv);
47 eOprotIndex_t index = eoprot_ID2index(rd->id32);
48 eOenum08_t* pmode = (eOenum08_t*) rd->data;
50 eOnvID32_t id32status = eoprot_ID_get(eoprot_endpoint_motioncontrol, eoprot_entity_mc_joint, index, eoprot_tag_mc_joint_status);
51 eo_nvset_NV_Get(mynvset, eok_ipv4addr_localhost, id32status, &aNV);
53 eOmc_joint_status_t jointstatus = {0};
56 eOresult_t res = eo_nv_Get(&aNV, eo_nv_strg_volatile, &jointstatus, &size);
57 jointstatus.interactionmodestatus = *pmode;
58 eo_nv_Set(&aNV, &jointstatus, eobool_true, eo_nv_upd_dontdo);