2022-01-27 20:09:43 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <AP_HAL/AP_HAL_Boards.h>
|
|
|
|
|
|
|
|
#ifndef AP_BEACON_ENABLED
|
|
|
|
#define AP_BEACON_ENABLED 1
|
|
|
|
#endif
|
|
|
|
|
2024-08-25 02:30:12 -03:00
|
|
|
#ifndef AP_BEACON_MAX_BEACONS
|
|
|
|
#define AP_BEACON_MAX_BEACONS 4
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef AP_BEACON_TIMEOUT_MS
|
|
|
|
#define AP_BEACON_TIMEOUT_MS 300
|
|
|
|
#endif
|
|
|
|
|
2022-01-27 20:09:43 -04:00
|
|
|
#ifndef AP_BEACON_BACKEND_DEFAULT_ENABLED
|
|
|
|
#define AP_BEACON_BACKEND_DEFAULT_ENABLED AP_BEACON_ENABLED
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef AP_BEACON_MARVELMIND_ENABLED
|
|
|
|
#define AP_BEACON_MARVELMIND_ENABLED AP_BEACON_BACKEND_DEFAULT_ENABLED
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef AP_BEACON_NOOPLOOP_ENABLED
|
|
|
|
#define AP_BEACON_NOOPLOOP_ENABLED AP_BEACON_BACKEND_DEFAULT_ENABLED
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef AP_BEACON_POZYX_ENABLED
|
|
|
|
#define AP_BEACON_POZYX_ENABLED AP_BEACON_BACKEND_DEFAULT_ENABLED
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef AP_BEACON_SITL_ENABLED
|
|
|
|
#define AP_BEACON_SITL_ENABLED (AP_BEACON_BACKEND_DEFAULT_ENABLED && CONFIG_HAL_BOARD == HAL_BOARD_SITL)
|
|
|
|
#endif
|