|
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "acc_definitions_a121.h"
#include "acc_definitions_common.h"
#include "acc_detector_presence.h"
#include "acc_hal_definitions_a121.h"
#include "acc_hal_integration_a121.h"
#include "acc_integration.h"
#include "acc_rss_a121.h"
#include "acc_sensor.h"
#include "acc_version.h"
Go to the source code of this file.
Data Structures | |
struct | example_config |
Macros | |
#define | SENSOR_ID (1U) |
#define | SENSOR_TIMEOUT_MS (1000U) |
#define | NBR_CONFIGS (2U) |
#define | NBR_ITERATIONS_PER_CONFIG (20U) |
Typedefs | |
typedef struct example_config | example_config_t |
Functions | |
static void | print_result (acc_detector_presence_result_t result, const char *config_name) |
static void | cleanup (acc_detector_presence_handle_t **presence_handle, acc_detector_presence_config_t **presence_config, acc_sensor_t *sensor, void *buffer, uint32_t nbr_configs) |
int | app_main (int argc, char *argv[]) |
Assembly test example. More... | |
#define NBR_CONFIGS (2U) |
Definition at line 45 of file example_detector_presence_multiple_configurations.c.
#define NBR_ITERATIONS_PER_CONFIG (20U) |
Definition at line 46 of file example_detector_presence_multiple_configurations.c.
#define SENSOR_ID (1U) |
Definition at line 43 of file example_detector_presence_multiple_configurations.c.
#define SENSOR_TIMEOUT_MS (1000U) |
Definition at line 44 of file example_detector_presence_multiple_configurations.c.
typedef struct example_config example_config_t |
int app_main | ( | int | argc, |
char * | argv[] | ||
) |
Assembly test example.
Service subsweeps example.
Low power service example.
Service multple configurations example.
Service sensor calibration caching example.
Service example.
Processing subtract adaptive background example.
Processing static presence example.
Processing peak interpolation example.
Processing noncoherent mean example.
Processing coherent mean example.
Processing amplitude example.
Detector presence example with multiple configurations.
Detector presence example.
Detector distance example with iq data print.
Detector distance with calibration caching example.
Detector distance example.
Control helper example.
Detector filters and states are reset on prepare (reconfiguration) to avoid risk of false detections when switching back to a zone.
Detector filters and states are reset on prepare (reconfiguration) to avoid risk of false detections when switching back to a zone.
Definition at line 72 of file example_detector_presence_multiple_configurations.c.
|
static |
Definition at line 262 of file example_detector_presence_multiple_configurations.c.
|
static |
Definition at line 298 of file example_detector_presence_multiple_configurations.c.