* companion: added Datastore methods: getStorageUsedKb(), getStorageTotalKb()

* companion: CMD_GET_BATTERY now changed to CMD_GET_BATT_AND_STORAGE
This commit is contained in:
Scott Powell
2025-06-20 16:47:59 +10:00
parent 85b164bcf1
commit a7c959631f
3 changed files with 42 additions and 7 deletions

View File

@@ -39,4 +39,6 @@ public:
bool putBlobByKey(const uint8_t key[], int key_len, const uint8_t src_buf[], uint8_t len);
File openRead(const char* filename);
bool removeFile(const char* filename);
uint32_t getStorageUsedKb() const;
uint32_t getStorageTotalKb() const;
};