4.1.8 WINCS02 Service Layer

This section explains the internal detail and implementation of WINCS02 MCC Harmony component generated system services. The WINCS02 host system services provides all the necessary services to simplify the host application development. It encapsulates most of the WINCS02 drivers in a service layer and exposes simple API’s to develop user application. Each services allows to register user callback function to notify responses.

WINCS02 system service API’s uses underlying Wi-Fi driver for the requested operation. The Wi-Fi driver API's are using the underlying SPI interface to communicate to WINCS02 Wi-Fi module. The WINCS02 host system service uses Wi-Fi driver to handle all the asynchronous events and notifies the application using the registered callbacks. The following block diagram illustrates various layers of the system.

Figure 4-23. System Service layers

Following are the services implemented in the WINCS02 Host:

  • Wi-Fi System Service
  • MQTT System Service
  • Net Socket System Service
  • Wi-Fi Provisioning System Service
  • System Service