cowen71 / mqtt-LabVIEW

AN MQTT Driver implementation for LabVIEW
28 stars 34 forks source link

overflow problem #3

Open herdinc opened 4 years ago

herdinc commented 4 years ago

Hello, First of all i want to thank for the mqtt library. I have run into overflow problem when i want to send data that is bigger than 128. Normally, the payload must be 8-byte. On the other hand, payload counts 9 byte or 10 byte during the data between 128 and 256. I made same change in the sub-vi (mqttCmdCalculateByteArrayLength.vi ) to solve this problembut it doesnt work. I have added my changes to the attachment.
before before after after