Other Parts Discussed in Thread: TIMAC
hi,
I am using cc2531 and TIMAC 1.3.1 with some customization.
Initially i started coordinator with MSA_CoordinatorStartup() with StartReq.panCoordinator = TRUE.
I started Router-1 with MSA_CoordinatorStartup() with StartReq.panCoordinator = FALSE and an empty beacon payload.
Then called MAC_MlmeAssociateReq( &req). After it gets associated with coordinator and gets short address from coordinator,
Now, I prepared beacon payload and used MAC_MlmeSetReq ( MAC_BEACON_PAYLOAD, &msa_BeaconPayload) to set the beacon payload in Router -1.
( I verified this by breakpoints and calling MAC_MlmeGetReq ( MAC_BEACON_PAYLOAD, xyz) . I got the same payload as in the msa_BeaconPayload buffer).
Now I started Router-2 and issued active scan request, I got 2 beacons. one from Coordinator with beacon payload and second from Router-1 with empty payload.
Why did the Router-1 sent beacon response with empty payload? Did i do anything wrong by using MAC_MlmeSetReq after association in Router-1 ?
Pl. help me with the correct procedure.
Thanks in advance,
Mahesh KV