Nordic Semiconductor nRF5 AirFuel SDK
version 2.2.0
|
The PRU Multi Profile project demonstrates how to integrate an application profile (or "app_profile") with the PRU Wireless Power Transfer (WPT) profile, enabling single chip product solutions with support for wireless charging. In this project, the Heart Rate Sensor Peripheral example from the nRF SDK is integrated with the WPT profile into an application. The two profiles are non-concurrent. i.e. The application profile must be stopped and the WPT profile started when charging) The switching between profiles is handled by the Multi Profile example application. This project includes the standard Heart Rate Sensor example from the nRF SDK and the changes required for it to be compatible with the Multi Profile API.
For a profile to be supported by the PRU Multi Profile project, it needs to implement the app_profile.h interface:
As seen in the list above, the application profile never needs to initialize/enable/disable the SoftDevice, simplifying its functionality. When converting examples from the nRF SDK to the "app_profile" format, the following steps are usually required (in addition to implementing the app_profile.h interface):