Restructure project
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#pragma once
|
||||
#include "config.h"
|
||||
#include <bluefruit.h>
|
||||
|
||||
#ifdef FEATURE_CONFIG_SERVICE
|
||||
|
||||
extern BLEService cfgService;
|
||||
extern BLECharacteristic cfgBlob;
|
||||
extern BLECharacteristic cfgCommand;
|
||||
#ifdef FEATURE_TELEMETRY
|
||||
extern BLECharacteristic cfgTelemetry;
|
||||
#endif
|
||||
#ifdef FEATURE_IMU_STREAM
|
||||
extern BLECharacteristic cfgImuStream;
|
||||
#endif
|
||||
|
||||
void pushConfigBlob();
|
||||
void setupConfigService();
|
||||
|
||||
#ifdef FEATURE_TELEMETRY
|
||||
void pushTelemetry(unsigned long now);
|
||||
#endif
|
||||
|
||||
#endif // FEATURE_CONFIG_SERVICE
|
||||
|
||||
void applyChargeMode(ChargeMode mode);
|
||||
void loadConfig();
|
||||
void saveConfig();
|
||||
void factoryReset();
|
||||
Reference in New Issue
Block a user