GENERAL_DRIVER_API

Functions

sl_status_t wf200_send_configuration (const char *pds_data, uint32_t pds_data_length)
 Function to send PDS chunks.
 
sl_status_t wf200_shutdown (void)
 Shutdown wf200.

Function Documentation

◆ wf200_send_configuration()

sl_status_t wf200_send_configuration ( const char *  pds_data,
uint32_t  pds_data_length 
)

Function to send PDS chunks.

Note
The PDS file contains the WF200 settings (refer to wf200_pds.h)
Parameters
pds_dataData to be sent in the compressed PDS format
pds_data_lengthSize of the data to be sent
Returns
SL_SUCCESS if the configuration has been sent correctly, SL_ERROR otherwise

Definition at line 663 of file wf200.c.

◆ wf200_shutdown()

sl_status_t wf200_shutdown ( void  )

Shutdown wf200.

Note
Send the shutdown command and clear GPIO WUP to enable wf200 to go to sleep
Returns
SL_SUCCESS if the wf200 has been shutdown correctly, SL_ERROR otherwise

Definition at line 705 of file wf200.c.

References HI_SHUT_DOWN_REQ_ID, wf200_send_command(), and WF200_STA_INTERFACE.