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.

CC2530: Write attributes to a Z-Stack 1.22 based device

Part Number: CC2530

Hello

I try to catch the data of a write sequence in my firmware.

I thought this would get me to this code section:

  if ( events & SYS_EVENT_MSG )
  {
    while ( (MSGpkt = (afIncomingMSGPacket_t *)osal_msg_receive( zclZigUP_TaskID )) )
    {
      evt = MSGpkt->hdr.event;
      
      switch ( evt )
      {
      case ZCL_INCOMING_MSG:
        // Incoming ZCL Foundation command/response messages
        // <----- HERE
        zclZigUP_ProcessIncomingMsg( (zclIncomingMsg_t *)MSGpkt );
        break;
        

Actually i will get into the surrounding loop function, but the evt variable is always 0xFD and ZCL_INCOMING_MSG is 0x34
Therefore i dont get into zclZigUP_ProcessIncomingMsg.

I dont know what goes wrong...
Could someone guide me, where i can read out the values of the attributes sent to the device?

Here is the log from wireshark:

39953    30917.726539    0x0000    0x583a    ZigBee HA    64    ZCL: Write Attributes, Seq: 15
39954    30917.728618            IEEE 802.15.4    16    Ack
39955    30917.739220    0x583a    0x0000    ZigBee    56    APS: Ack, Dst Endpt: 1, Src Endpt: 8
39956    30917.741044            IEEE 802.15.4    16    Ack
39957    30917.749348    0x583a    0x0000    ZigBee HA    62    ZCL: Write Attributes Response, Seq: 15

Unfortunately there is no sample application which show how to handle attribute writes to a zigbee end node.

Thanks!