Go to the documentation of this file.
37 #define SENSOR_ID (1U)
38 #define MAX_DATA_ENTRY_LEN 15 // "-32000+-32000i" + zero termination
43 int app_main(
int argc,
char *argv[]);
63 printf(
"acc_control_helper_create() failed\n");
71 printf(
"acc_control_helper_activate() failed\n");
76 for (uint32_t i = 0U; i < 5U; i++)
80 printf(
"acc_control_helper_get_next failed\n");
90 printf(
"Application finished OK\n");
98 printf(
"Processed data:\n");
101 for (uint16_t i = 0; i < data_length; i++)
103 if ((i > 0) && ((i % 8) == 0))
108 snprintf(buffer,
sizeof(buffer),
"%" PRIi16
"%+" PRIi16
"i", data[i].real, data[i].imag);
110 printf(
"%14s ", buffer);
void acc_config_start_point_set(acc_config_t *config, int32_t start_point)
Set the starting point of the sweep.
bool acc_control_helper_create(acc_control_helper_t *radar, acc_sensor_id_t sensor_id)
Create a helper instance.
Data type for interger-based representation of complex numbers.
void acc_control_helper_destroy(acc_control_helper_t *radar)
Destroy a helper instance.
static void print_data(acc_int16_complex_t *data, uint16_t data_length)
const acc_hal_a121_t * acc_hal_rss_integration_get_implementation(void)
Get hal implementation reference.
acc_processing_metadata_t proc_meta
int app_main(int argc, char *argv[])
Assembly test example.
const char * acc_version_get(void)
Get the version of the Acconeer software.
acc_int16_complex_t * frame
static const acc_hal_a121_t hal
bool acc_control_helper_activate(acc_control_helper_t *radar)
Activate the sensor.
#define MAX_DATA_ENTRY_LEN
bool acc_control_helper_get_next(acc_control_helper_t *radar)
Perform a radar measurement and wait for the result.
acc_processing_result_t proc_result