WF_CAGetListenInterval Function

From Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
WF_CAGetListenInterval Function
C
void WF_CAGetListenInterval(
    UINT16 * p_listenInterval
);
Description

Gets the Listen Interval used by the Connection Algorithm. This value is measured in 100ms intervals, the default beacon period of APs. 

 

Value 
Description 
1 
MRF24W wakes up every 100ms to receive buffered messages. 
2 
MRF24W wakes up every 200ms to receive buffered messages. 
... 
... 
65535 
MRF24W wakes up every 6535.5 seconds (~109 minutes) to receive buffered messages. 
Preconditions

MACInit must be called first. Only used when PS Poll mode is enabled.

Parameters
Parameters 
Description 
p_listenInterval 
Pointer to where listen interval is returned 
Returns

None.

Remarks

None.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.