M manios Active Member Licensed User Longtime User Jun 18, 2012 #1 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?
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 Jun 19, 2012 #2 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? Click to expand... This is not exactly a buffer. The data is sent to the messages queue. It is like an unbounded buffer. Upvote 0
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? Click to expand... This is not exactly a buffer. The data is sent to the messages queue. It is like an unbounded buffer.