3.2.6 RNWF11 Service Layer
This section explains the internal detail and implementation of RNWF11 MCC Harmony component generated system services. The RNWF11 host system services provides all the necessary services to simplify the host application development. It encapsulates most of the RNWF11 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.
The RNWF11 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 RNWF11 Wi-Fi module. The RNWF11 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.
- Wi-Fi System Service
- Cloud System Service
- Net Socket Service
- OTA Service
- System Service
- ECC Service