V1.1.5 Update
This commit is contained in:
parent
76b650e019
commit
29b5b4f746
|
@ -19,6 +19,10 @@ This library is now complete, the remaining work is mainly maintenance and bug f
|
|||
|
||||
# Change Log
|
||||
|
||||
**V1.1.5 2024.2.23**
|
||||
|
||||
+ Fix the bug of the pack vector may be accessed out of range.
|
||||
|
||||
**V1.1.4 2024.2.1**
|
||||
|
||||
+ Fix the bug of vector may be accessed out of range.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name= DLLN3X ZigBee Mesh Module Library
|
||||
version= 1.1.4
|
||||
version= 1.1.5
|
||||
author= Dylan Liu <mentalflow@ourdocs.cn>
|
||||
maintainer= Dylan Liu <mentalflow@ourdocs.cn>
|
||||
sentence= This library allows you to use DLLN3X ZigBee mesh module very easily.
|
||||
|
|
|
@ -131,7 +131,7 @@ public:
|
|||
{
|
||||
data.clear();
|
||||
for (int i = 0; i < pack_data.size(); i++) {
|
||||
if (pack_data[i] != 0xFE) {
|
||||
if (pack_data[i] != 0xFE || i == pack_data.size() - 1) {
|
||||
data.push_back(pack_data[i]);
|
||||
} else if (pack_data[i + 1] == 0xFD) {
|
||||
data.push_back(0xFF);
|
||||
|
|
Loading…
Reference in New Issue