Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

What is the purpose of the "void mlme_poll_ind (mlme_poll_ind_t * p_ind)" function in the 802.15.4 Library.

Hello,

I am currently developing a small Star network for the nRF52840 dongle using plain 802.15.4 protcol with the IEEE802.15.4 Library provided by the nRF5 SDK.

I use a non-beacon enabled PAN. I am not sure on how to handle indirect messages. It is my understanding that the PAN Coordinator handles indirect messages automatically by puting them in the transaction queue and sending them out when a mlme-poll request from a node is receiveid. Am I right in that assumption? If so then I don't get the purpose of the

void mlme_poll_ind (mlme_poll_ind_t *  	p_ind)

function. The Library API states that it's purpose is to notify the next higher layer that a mlme-poll request has been received, but why is that even necessary if the MAC layer handels the request on it's own? I also don't see who should call this function?

Any clearification is much appretiated.

Cheers, lorv

Related