11 #include "EOYtheSystem.h"
17 #include "EoProtocol.h"
18 #include "EoProtocolMN.h"
19 #include "EoProtocolMC.h"
20 #include "EoProtocolAS.h"
21 #include "EoProtocolSK.h"
27 eOmn_appl_state_t *newstate_ptr = (eOmn_appl_state_t *)rd->data;
31 case applstate_running:
32 case applstate_config:
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);
EOnvSet * arrayofnvsets[]
void boardtransceiver_fun_UPDT_mn_appl_cmmnds_go2state(const EOnv *nv, const eOropdescriptor_t *rd)
void boardtransceiver_fun_UPDT_mc_joint_cmmnds_interactionmode(const EOnv *nv, const eOropdescriptor_t *rd)