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.

simpliciti having trouble with smpl_no_payload and RX polls

I've been having trouble figuring out why my EP can't receive when I try to use RX POLLS.  It was able to receive data from the AP without it.   Anyway EP joins and links to AP just fine, then I have the AP send the EP a message  using the EP link ID.  I watched it in the debugger go all the way into the send function to the point that it realizes it's a polling EP and uses nwk_isSandFClient.

Then on EP side after turning on the receiver I wait a second and try a         result = SMPL_Receive(apLinkID, dmsg, &dlen);   This always returns no payload.   I used the debugger and went into this code and it looks like it's doing that because a len value is zero but I can't tell if it really received something from the AP or just timed out.   There is a      NWK_REPLY_DELAY(); in there but I didn't know if that blocks forever or if it can timeout.

Any ideas on how to get to the bottom of this?  I don't have a third set of boards and MSPFET to use as a sniffer so I was trying to find ways to isolate the problem.

Thank you,

-Eric

  • I've found that if I put a breakpoint at the end of the void MRFI_ReplyDelay(void) function, and then I just continue everytime I hit it, then my packet will be received by the receiver.   Still not clear what's happening though.  I can leave receive in a loop forever and I won't get the packet but if I do the breakpoint thing it works.