m2m_hw_sleep_mode_cfg

 

M2M_API_RESULT m2m_hw_sleep_mode_cfg (UINT8 cfun_mode,

                                                           M2M_T_HW_SLEEP_MODE_CFG _OPTIONS *options);

 

Description: the function sets the CFUN power saving mode. To have more information on CFUN power saving mode see documents [3], [6], and [11].

 

Parameters:
cfun_mode:   the available CFUN modes are:

                   0:       default, it is NON-CYCLIC SLEEP mode. It means that when an event is                           managed, the module enters CFUN=1 mode (full features).

                   5, 7:   are CYCLIC SLEEP modes. It means that when an event is managed, the

                            module enters again CFUN=5 or 7 mode. 

 

options:                 pointer not used. Set to NULL.

 

 

Return value:
         refer to M2M_API_RESULT enum