Common API

To interact with WF200, the host has access to a set of API which are exposed both in the split MAC case and in the full MAC case. To find the related driver functions, you can refer to the table below or to the COMMON_API group.

Common API Commands

CommandsValueAssociated Driver FunctionDescription
HI_CONFIGURATION0x09wf200_send_configurationConfigure the device through the Platform Data Set
HI_SHUT_DOWN0x32wf200_shutdownSend a request to shut down the internal power supplies

For each available command, there is an associated confirmation with the same ID value.

Common API Indications

IndicationsValueAssociated StructureDescription
HI_EXCEPTION_IND0xe0HiExceptionIndBody_tException
HI_ERROR_IND0xe4HiErrorIndBody_tError
HI_STARTUP_IND0xe1HiStartupIndBody_tStartup indication
HI_GENERIC_IND0xe3HiGenericIndBody_tGeneric status

This indications have to be managed by the host depending on the application and use case.