add access to data

This commit is contained in:
John
2023-11-11 09:46:37 +01:00
parent a8bd30a68f
commit bceeb5f4f9
2 changed files with 11 additions and 0 deletions
+5
View File
@@ -6,12 +6,17 @@
* fix MacOS build
* fix name prefix warnings in Home Assistant MQTT discovery integration
* fix impossible usage of multi-field writes in MQTT integration
* fix initial broadcast scan
* fix potentially unusable SSL context
* fix SYN generator timing
* fix missing check for PB/SB validity
## Features
* add temperatures in Kelvin and ... to Home Assistant MQTT discovery integration
* add options to turn off scanconfig and limit number of retries
* remove dependency on argp
* add time fields to Home Assistant MQTT discovery integration
+ add templates endpoint to HTTP JSON
# 23.2 (2023-07-08)
+6
View File
@@ -294,6 +294,12 @@ class SymbolString {
return m_data.size() - lengthOffset - 1;
}
/**
* Return a pointer to the data bytes.
* @return a pointer to the data bytes.
*/
const symbol_t* data() const { return m_data.data(); }
/**
* Return the data byte at the specified index (within DD).
* @param index the index of the data byte (within DD) to return.