Added datafile and handling of MQTT publish message.
This commit is contained in:
@@ -77,3 +77,20 @@ Storage API:
|
||||
|
||||
|
||||
|
||||
datafile:
|
||||
- valueId
|
||||
- filename
|
||||
- number of entries
|
||||
- fd
|
||||
- getNumOfEntries()
|
||||
- readRecord(id, &record)
|
||||
- addRecord(record)
|
||||
|
||||
datarecord in file:
|
||||
- 8 bytes timestamp
|
||||
- 8 bytes value
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user