RAFW Flexible Software Package Documentation  Release v2.0.1

 
MATTER_WIFI_APPS_LOCK_W

Functions

fsp_err_t RM_MATTER_WIFI_Open (matter_ctrl_t *const p_ctrl, rm_matter_app_cfg_t const *const p_cfg)
 
fsp_err_t RM_MATTER_WIFI_Close (matter_ctrl_t *const p_ctrl)
 

Detailed Description

Function Documentation

◆ RM_MATTER_WIFI_Open()

fsp_err_t RM_MATTER_WIFI_Open ( matter_ctrl_t *const  p_ctrl,
rm_matter_app_cfg_t const *const  p_cfg 
)

Configure and start the MATTER. Implements matter_api_t::open.

This function should only be called once. The subsequent calls will have no effect.

Example:

void matter_apps_on_example (void)
{
MATTERReturnCode_t matter_err = MATTER_On();
assert(eMatterSuccess == matter_err);
}
Return values
FSP_SUCCESSMatter successfully configured.
FSP_ERR_ASSERTIONNull pointer, or one or more configuration options is invalid.
FSP_ERR_ALREADY_OPENModule is already open. This module can only be opened once.

◆ RM_MATTER_WIFI_Close()

fsp_err_t RM_MATTER_WIFI_Close ( matter_ctrl_t *const  p_ctrl)

Configure and start the MATTER. Implements matter_api_t::close.

This function should only be called once. The subsequent calls will have no effect.

Example:

void matter_apps_close_example (void)
{
assert(eMatterSuccess == matter_err);
}
Return values
FSP_SUCCESSMatter successfully configured.
FSP_ERR_ASSERTIONNull pointer, or one or more configuration options is invalid.
FSP_ERR_ALREADY_OPENModule is already open. This module can only be opened once.