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)