3.6.2.2.4 Bluetooth®
The entire application related to Bluetooth is implemented in the
btApp.c
file.
- Sends data from the pcCOMM layer to
the RN4678 module
- Checks for new data to be transmitted
- If new data is available in pcCOMM, then it sends the data to the PC
- Copies data from the RN4678 module to
the pcCOMM buffer
- Checks for new data from the PC
- If new data is received from the PC, it copies the data to pcCOMM buffer
Other than the data transaction, the handling of COMPORT open/close, etc., is also handled in this layer.