3.2.8 RNWF02 Service Layer

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

RNWF02 system service API’s construct one or more AT commands for the requested operation. The constructed AT command frames are passed to the underlying UART driver and sent to RNWF02 Wi-Fi module. The RNWF02 host sys service implements a queue 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 3-63. System Service layers

Following are the services implemented in the RNWF02 Host:

  • Wi-Fi System Service
  • Cloud System Service
  • Net Socket Service
  • OTA Service
  • System Service