NetBurner 3.1
m2m_wifi_set_sleep_mode

Functions

NMI_API sint8 m2m_wifi_set_sleep_mode (uint8 PsTyp, uint8 BcastEn)
 

Detailed Description

Synchronous power-save mode setting function for the NMC1500.

Function Documentation

◆ m2m_wifi_set_sleep_mode()

NMI_API sint8 m2m_wifi_set_sleep_mode ( uint8  PsTyp,
uint8  BcastEn 
)
Parameters
[in]PsTypDesired power saving mode. Supported types are defined in tenuPowerSaveModes.
[in]BcastEnBroadcast reception enable flag. If it is 1, the WILC1000 must be awake each DTIM beacon for receiving broadcast traffic. If it is 0, the WILC1000 will not wakeup at the DTIM beacon, but its wakeup depends only on the the configured Listen Interval.
See also
tenuPowerSaveModes m2m_wifi_get_sleep_mode
Returns
The function returns M2M_SUCCESS for successful operations and a negative value otherwise.