add access to data
This commit is contained in:
@@ -6,12 +6,17 @@
|
|||||||
* fix MacOS build
|
* fix MacOS build
|
||||||
* fix name prefix warnings in Home Assistant MQTT discovery integration
|
* fix name prefix warnings in Home Assistant MQTT discovery integration
|
||||||
* fix impossible usage of multi-field writes in MQTT 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
|
## Features
|
||||||
* add temperatures in Kelvin and ... to Home Assistant MQTT discovery integration
|
* add temperatures in Kelvin and ... to Home Assistant MQTT discovery integration
|
||||||
* add options to turn off scanconfig and limit number of retries
|
* add options to turn off scanconfig and limit number of retries
|
||||||
* remove dependency on argp
|
* remove dependency on argp
|
||||||
* add time fields to Home Assistant MQTT discovery integration
|
* add time fields to Home Assistant MQTT discovery integration
|
||||||
|
+ add templates endpoint to HTTP JSON
|
||||||
|
|
||||||
|
|
||||||
# 23.2 (2023-07-08)
|
# 23.2 (2023-07-08)
|
||||||
|
|||||||
@@ -294,6 +294,12 @@ class SymbolString {
|
|||||||
return m_data.size() - lengthOffset - 1;
|
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).
|
* Return the data byte at the specified index (within DD).
|
||||||
* @param index the index of the data byte (within DD) to return.
|
* @param index the index of the data byte (within DD) to return.
|
||||||
|
|||||||
Reference in New Issue
Block a user