The host has to implement a set of functions to enable the driver to access multiple resources (Firmware, GPIOs, memory, buses, and so on). The implementation of these functions is dependent on the platform and type of operating system used. The list of functions required to be implemented by the host are located in
sl_wfx_host_api.h. For each function, you can find additional information in their Doxygen header or in the HOST_API group.
The first set of functions initializes the host and retrieves the firmware information and the PDS information.
The host also needs to provide GPIO access to the FMAC driver.
In addition, several functions serve to manage the confirmations and indications coming from WFx.
These functions allocate or free memory.
The last set of required functions are supporting the chosen communication bus.