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.

Z-Stack active scan only reports 1st network?

Other Parts Discussed in Thread: CC2430, Z-STACK

Hi,

On Z-stack V1.4.3/CC2430 I'm trying to get ZMacScanReq() to do an active scan. It works OK but only reports the first network it discovers.

I have three active coordinators, two on channel 11 and one on channel 19. Using a wireless analyser I can see a becon request being issued on both channels by the scan and all three coordinators respond.

The MAC_MLME_SCAN_CNF in zmac_cb.c only reports the first network and not the others.

If I power down any two of the coordinators the remaining network is discovered every time.

My request is parameterised as follows:

ZMacScanReq_t req;
  req.ScanChannels = 0x07FFF800;
  req.ScanType = ZMAC_ACTIVE_SCAN;
  req.ScanDuration = 6;
  req.ChannelPage = 0;
  req.MaxResults = 5;

MAC_MlmeScanReq(&req)

Any ideas?

 

Thanks, Steve.