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: about MAC test items in ZigBee IEEE 802.15.4 Test Spec

Part Number: CC2530
Other Parts Discussed in Thread: TIMAC, Z-STACK,

Hi TI professionals,

    I am trying to execute the MAC test items in "ZigBee IEEE 802.15.4 Test Spec".

   I use ZTool and the functions in mt_mac.c.

  in test item TP/154/MAC/BEACON-MANAGEMENT-01.

  the following should be tested.

  I find that MT_MacSetReq() has special case for beacon payload, ( because only pointer is stored in PIB structure, not the contents )

 however  MT_MacGetReq() doesn't have special case to deal with the pointer, thus only the pointer of beacon payload is returned.

  "ZigBee IEEE 802.15.4 Test Spec" requires that the beacon payload contents returned to pass the test.

  I checked both z-stack 3.0.0 and TIMAC 1.5.2.43299, neither can get correct result.

  it seems there's another code base which already go through "ZigBee IEEE 802.15.4 Test Spec" and passed the test.

  would you please help me to solve the problem?

  thanks.

MLME‐SET.request for the DUT such 
that: 
MLME‐SET.request( 
PIBAttribute=0x45=MacBeaconPayload, 
PIBAttributeValue=0x12 0x34 (to avoid 
confusion with short address) 

 
Verify the PIB is correctly set 
 
MLME‐GET.request ( 
PIBAttribute=0x45=MacBeaconPayload, 
PIBAttributeIndex = 0x00 (ignore, Only 
used for MAC 2006 security PIBs) 

  • Hi tsai,

    So, for the 15.4 testing you are asked to validate the frame over serial interface?, that is weird...

    I'm not aware of anything like that, but probably you can modify  ZMacGetReq like:

      if ( attr == ZMacBeaconMSDU)
      {

         //copy from pBeaconPayload

         osal_memcpy( value, macPib->pBeaconPayload,   size? );  

      }

    You will probably need to increase the size of ZTEST_DEFAULT_PARAM_LEN, since it is 16 bytes.

    Hope this helps!

  • Hi Luis,

        Thank you very much for your answer.

        I have no idea how TI get Zigbee Certification, and I guess it's done by Z Tool.

        www.zigbee.org/.../

        In the above link, for example, Z stack 2.7.0 + cc2530 passed the certification.

        however in Z stack 3.0.0, for example, we have to modify ZMacGetReq() as you suggested.

        I am wondering is there another code base which is ready to pass the certification?

       or can you teach me how to pass the Zigbee test plan?

        

        

  • Hi Team,

    Have this question any update?

    Thx! 

  • Hi Alvin,

    The certification is done by a test house and they can use several tools that are not available for companies or developers.

    Regards,

  • Hi Jose Maria Alvarez,
    thank you for your information, would you please share the name of the test house?
    does their tools can work directly without any modification of DUT firmware?
  • Hi For info on the certification test houses please visit www.zigbee.org/.../
  • Hi tsai,

    Why are you trying to run MAC testing?, if you want to develop a Zigbee application, you only need to care about the application certification. As long as you use Z-Stack, you already have a certified platform which covers MAC certification and Zigbee Core certification.
  • Hi Luis,

        thank you very much for your kindly help.

        from Zigbee web site, it seems that MAC certification is done only once by IC design house. product manufactures don't have to pass MAC test again.

        I guess IC design house prepare special code base to pass the MAC certification test, instead of using standard SDK code base.

        this maybe the reason why MT source code is buggy.

        I am studying Zigbee testing, therefore I want to understand the details about all kinds of Zigbee testing.