Closed triste24 closed 1 year ago
@objective-see test after commenting this line length -= sizeof(uint16_t); seems to be unnecessary.data.length=29 andsizeof(uint16_t)=2,so the length of packet is 27,no need to minus 2 again.
length -= sizeof(uint16_t);
data.length=29
sizeof(uint16_t)=2
Good catch! Much appreciated 👍🏽
@objective-see test after commenting this line
length -= sizeof(uint16_t);
seems to be unnecessary.data.length=29
andsizeof(uint16_t)=2
,so the length of packet is 27,no need to minus 2 again.