|
UWB-Tracking
|
Allowes to manage the settings received via BLE and to mirror them to the EEPROM. More...
#include <ble_config_loader.h>
Public Member Functions | |
| BleConfigLoader () | |
| Constructor to create a BleConfigLoader instance. More... | |
| ~BleConfigLoader () | |
| Destructor to clean up resources. More... | |
| void | save_config_to_eeprom () |
| Save configuration settings to EEPROM. More... | |
| void | load_config_from_eeprom () |
| Load configuration settings from EEPROM. More... | |
| void | save_config_to_ble () |
| Save configuration settings to BLE. More... | |
| uint8_t | load_config_from_ble () |
| Load configuration settings from BLE. More... | |
| void | send_position (coordinate own_position) |
| Send position data over BLE. More... | |
| void | print_config () |
| Print loaded configuration settings to Serial. More... | |
Private Attributes | |
| BleServer | my_server |
| BLE server for communication. More... | |
| coordinate | landmarkAddresses [NUM_LANDMARKS] |
| Array to store landmark positions. More... | |
Allowes to manage the settings received via BLE and to mirror them to the EEPROM.
| BleConfigLoader | ( | ) |
Constructor to create a BleConfigLoader instance.
|
inline |
Destructor to clean up resources.
| uint8_t load_config_from_ble | ( | ) |
Load configuration settings from BLE.
| void load_config_from_eeprom | ( | ) |
Load configuration settings from EEPROM.
| void print_config | ( | ) |
Print loaded configuration settings to Serial.
| void save_config_to_ble | ( | ) |
Save configuration settings to BLE.
| void save_config_to_eeprom | ( | ) |
Save configuration settings to EEPROM.
| void send_position | ( | coordinate | own_position | ) |
Send position data over BLE.
| own_position | The coordinates to send. |
|
private |
Array to store landmark positions.
|
private |
BLE server for communication.