Topic: chunk size in datastream
Hi there,
In a server response, the data is transmitted in separate chunks. When processing these data chunks, the size of the next chunk appears interspersed with the data itself. Is this expected behavior? Is there a setting to hide this within the data stream? The application is developed in the Arduino IDE for STM32 using a W5500 Ethernet interface and utilizes wolfSSL 5.8.4.
<Point>
<position>45</position>
<price.amount>145.69</price.amount>
</Point>
<Point>
<position>46</position>
<price.amount>146.02</price.a
1b70
mount>
</Point>
<Point>
<position>47</position>
<price.amount>142.13</price.amount>
</Point>The 0x1b70 is the size of the next chunk.
The data is read into 256-byte buffers. This part works correctly, but the chunk size appearing in the middle of the stream makes interpretation difficult.