AStream NewData Event Question

manios

Active Member
Licensed User
Longtime User
Hi all,

I have a loop running inside the NewData Event as I need to decode the data received on a character by character base. Is there a time restriction how long the loop may take.
Is there another buffer maintained between the BT-adapter und the b4a part?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Assuming that the inner loop runs less than a few seconds then it should be fine (I guess that if you measure it you will see that it runs less than a second).

Is there another buffer maintained between the BT-adapter und the b4a part?
This is not exactly a buffer. The data is sent to the messages queue. It is like an unbounded buffer.
 
Upvote 0
Top