#endif
return RFAILED;
}
- if (oduUnpackUInt8(status, mBuf) != ROK) {
+ if (oduPackUInt8(status, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
__FILE__, __LINE__, (ErrCls)ERRCLS_ADD_RES,
#endif
return RFAILED;
}
- if (oduPackUInt8(&status, mBuf) != ROK) {
+ if (oduUnpackUInt8(&status, mBuf) != ROK) {
SPutMsg(mBuf);
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
return RFAILED;
}
/* crg_c_001.main_5 - ADD - Added the packing for status. */
- if (oduUnpackUInt8(status, mBuf) != ROK) {
+ if (oduPackUInt8(status, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
__FILE__, __LINE__, (ErrCls)ERRCLS_ADD_RES,
#endif
return RFAILED;
}
- if (oduPackUInt8(&status, mBuf) != ROK) {
+ if (oduUnpackUInt8(&status, mBuf) != ROK) {
SPutMsg(mBuf);
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
S32 i;
for (i=CRG_CFG_TRANSID_SIZE-1; i >= 0; i--) {
- CMCHKPK(oduUnpackUInt8, param->trans[i], mBuf);
+ CMCHKPK(oduPackUInt8, param->trans[i], mBuf);
}
return ROK;
}
S32 i;
for (i=0; i<CRG_CFG_TRANSID_SIZE; i++) {
- CMCHKUNPK(oduPackUInt8, ¶m->trans[i], mBuf);
+ CMCHKUNPK(oduUnpackUInt8, ¶m->trans[i], mBuf);
}
return ROK;
}
{
- CMCHKPK(oduUnpackUInt8, param->maxUlHqTx, mBuf);
+ CMCHKPK(oduPackUInt8, param->maxUlHqTx, mBuf);
return ROK;
}
{
CMCHKPK(SPkS16, param->rguDlSapId, mBuf);
CMCHKPK(SPkS16, param->rguUlSapId, mBuf);
- CMCHKPK(oduUnpackUInt8, param->macInst, mBuf);
- CMCHKPK(oduUnpackUInt16, param->sCellId, mBuf);
+ CMCHKPK(oduPackUInt8, param->macInst, mBuf);
+ CMCHKPK(oduPackUInt16, param->sCellId, mBuf);
return ROK;
}
Buffer *mBuf
)
{
- CMCHKUNPK(oduPackUInt16, ¶m->sCellId, mBuf);
- CMCHKUNPK(oduPackUInt8, ¶m->macInst, mBuf);
+ CMCHKUNPK(oduUnpackUInt16, ¶m->sCellId, mBuf);
+ CMCHKUNPK(oduUnpackUInt8, ¶m->macInst, mBuf);
CMCHKUNPK(SUnpkS16, ¶m->rguUlSapId, mBuf);
CMCHKUNPK(SUnpkS16, ¶m->rguDlSapId, mBuf);
return ROK;
CMCHKPK(cmPkCrgUeSCellCfg, ¶m->ueSCellCfg[(uint8_t)idx], mBuf);
}
- CMCHKPK(oduUnpackUInt8, param->numSCells, mBuf);
- CMCHKPK(oduUnpackUInt8, param->isSCellCfgPres, mBuf);
+ CMCHKPK(oduPackUInt8, param->numSCells, mBuf);
+ CMCHKPK(oduPackUInt8, param->isSCellCfgPres, mBuf);
return ROK;
}
{
uint8_t idx;
- CMCHKUNPK(oduPackUInt8, ¶m->isSCellCfgPres, mBuf);
+ CMCHKUNPK(oduUnpackUInt8, ¶m->isSCellCfgPres, mBuf);
if(TRUE == param->isSCellCfgPres)
{
- CMCHKUNPK(oduPackUInt8, ¶m->numSCells, mBuf);
+ CMCHKUNPK(oduUnpackUInt8, ¶m->numSCells, mBuf);
for(idx = 0; idx < param->numSCells; idx++)
{