This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

What is that error mean “expression must be an lvalue or a function designator”



Hi all

       i add  the ZDP_MgmtLeaveRsp() in the ZDO Msg receive callback。

       but  it shows me  a  error “expression must be an lvalue or a function designator”,

      what is that  mean ?

      

static void zclTest_ProcessZDOMsgs( zdoIncomingMsg_t *pMsg )
{
   switch (pMsg->clusterID)
  {
   case Mgmt_Leave_req:
        RemoteLeaveReq = TRUE;
        zclEmerButton_BasicResetCB();
        ZDP_MgmtLeaveRsp( pMsg->TransSeq, &pMsg->srcAddr, ZSuccess, pMsg->SecurityUse );
     break;
     
   default:
     break;
  }
}