B4R Question Asyncstream WaitForMoreDataDelay

janderkan

Well-Known Member
Licensed User
Longtime User
I use your SerialNative code, but have tried with SoftSerial as well.
The baud rate is set to 19.200
I set the WaitForMoreDataDelay to 10
When I receive data in the NewData event, the length of the buffer will never exceed 100.
Increasing the WaitForMoreDataDelay do not change the max length in each event.

The packet I receive has a length of 500, meaning I will receive it in 5 events.
Do I have to create my own buffer combining the 5 or is there another way?

Jan
 
Top