|
#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.
Macros | |
#define | SENSOR_ID (1U) |
#define | SENSOR_TIMEOUT_MS (1000U) |
#define | DEFAULT_PRESET_CONFIG PRESENCE_PRESET_CONFIG_MEDIUM_RANGE |
Functions | |
static void | print_result (acc_detector_presence_result_t result) |
static void | cleanup (acc_detector_presence_handle_t *presence_handle, acc_detector_presence_config_t *presence_config, acc_sensor_t *sensor, void *buffer) |
static void | set_config (acc_detector_presence_config_t *presence_config, presence_preset_config_t preset) |
int | acconeer_main (int argc, char *argv[]) |
Assembly test example. More... | |
#define DEFAULT_PRESET_CONFIG PRESENCE_PRESET_CONFIG_MEDIUM_RANGE |
Definition at line 61 of file example_detector_presence_low_power_hibernate.c.
#define SENSOR_ID (1U) |
Definition at line 58 of file example_detector_presence_low_power_hibernate.c.
#define SENSOR_TIMEOUT_MS (1000U) |
Definition at line 59 of file example_detector_presence_low_power_hibernate.c.
Definition at line 48 of file example_detector_presence_low_power_hibernate.c.
int acconeer_main | ( | int | argc, |
char * | argv[] | ||
) |
Assembly test example.
Surface velocity example application.
Tank level reference application.
Smart presence reference application.
Breathing example application.
Service subsweeps example.
Service multple configurations example.
Low power service 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.
Low power detector presence example.
Detector presence example.
Distance detector low power example.
Detector distance example.
Control helper example.
Test if measure on wake up is enable Do a measurement if the the detector is ready (configured and calibrated)
Test if measure on wake up is enable Do a measurement if the the detector is ready (configured and calibrated)
Definition at line 79 of file example_detector_presence_low_power_hibernate.c.
|
static |
Definition at line 254 of file example_detector_presence_low_power_hibernate.c.
|
static |
Definition at line 400 of file example_detector_presence_low_power_hibernate.c.
|
static |
Definition at line 284 of file example_detector_presence_low_power_hibernate.c.