11#include <ArduinoJson.h>
Bluetooth Server Class Definition.
Allowes to manage the settings received via BLE and to mirror them to the EEPROM.
Definition: ble_config_loader.h:18
uint8_t load_config_from_ble()
Load configuration settings from BLE.
Definition: ble_config_loader.cpp:41
~BleConfigLoader()
Destructor to clean up resources.
Definition: ble_config_loader.h:28
void save_config_to_eeprom()
Save configuration settings to EEPROM.
Definition: ble_config_loader.cpp:9
BleConfigLoader()
Constructor to create a BleConfigLoader instance.
Definition: ble_config_loader.cpp:3
void save_config_to_ble()
Save configuration settings to BLE.
Definition: ble_config_loader.cpp:75
BleServer my_server
BLE server for communication.
Definition: ble_config_loader.h:63
coordinate landmarkAddresses[NUM_LANDMARKS]
Array to store landmark positions.
Definition: ble_config_loader.h:64
void print_config()
Print loaded configuration settings to Serial.
Definition: ble_config_loader.cpp:103
void load_config_from_eeprom()
Load configuration settings from EEPROM.
Definition: ble_config_loader.cpp:26
void send_position(coordinate own_position)
Send position data over BLE.
Definition: ble_config_loader.cpp:96
Represents a Bluetooth Server for ESP32.
Definition: ble-server.h:37
Defines custom data types used in the UWB device code.
#define NUM_LANDMARKS
Definition: datatypes.h:8
Definition: datatypes.h:15