.. _nrf_machine_learning_api:

nRF Machine Learning: API documentation
#######################################

.. contents::
   :local:
   :depth: 2

Following are the API elements used by the application.

Edge Impulse Data Forwarder Event
*********************************

| Header file: :file:`applications/machine_learning/src/events/ei_data_forwarder_event.h`
| Source file: :file:`applications/machine_learning/src/events/ei_data_forwarder_event.c`

.. doxygengroup:: ei_data_forwarder_event
   :project: nrf
   :members:

Machine Learning Application Mode Event
***************************************

| Header file: :file:`applications/machine_learning/src/events/ml_app_mode_event.h`
| Source file: :file:`applications/machine_learning/src/events/ml_app_mode_event.c`

.. doxygengroup:: ml_app_mode_event
   :project: nrf
   :members:

Machine Learning Result Event
*****************************

| Header file: :file:`applications/machine_learning/src/events/ml_result_event.h`
| Source file: :file:`applications/machine_learning/src/events/ml_result_event.c`

.. doxygengroup:: ml_result_event
   :project: nrf
   :members:

Sensor Simulator Event
**********************

| Header file: :file:`applications/machine_learning/src/events/sensor_sim_event.h`
| Source file: :file:`applications/machine_learning/src/events/sensor_sim_event.c`

.. doxygengroup:: sensor_sim_event
   :project: nrf
   :members:
