Hello,
I am using the latest version of TinyCLR OS on a BrainPad hooked up to an ESP8266-01s WiFi module. I can send commands to the module and received the results of those commands successfully. However, I am using the polling technique by creating a read thread that is responsible for checking the received buffer length. This tends to be pretty consistent, but I have some questions about the event handlers alternative to polling.
Questions:
-
What constitute the DataReceived event being triggered?
-
I get a lot of ‘Frame Error’ on the ErrorReceived event handler, what would trigger these and are there any remedies for fixing?
Thanks.