Click here to Skip to main content
15,911,646 members

Comments by codenameyash (Top 12 by date)

codenameyash 15-Nov-13 9:48am View    
Point noted good sir, making some adjustments
codenameyash 25-Apr-12 11:00am View    
Thanks for that
codenameyash 10-Feb-12 4:01am View    
Hi, thanks for reply, the Dongle is a piece of hardware that we produce here, Using Microchips controller to interface RF over the Usb, it is one of their Drivers that is in use. Well I was trying to use the debugger, but to no avail as once the Serial Event stops working the breakpoints I have in wont fire. The strange thing to me is that when it works it works well, but when it fails it just doesn't work at all.
I will follow up on the threads Idea. Blocking calls? Not sure what you mean by that...
codenameyash 16-Jan-12 4:21am View    
Agreed, I quite like the events idea, Yes I do have a serial Data Received handler, however, say I do create something like a Delegate and subscribe to that delegate which notifies me when the correct flag has been set, How does that stop my other code from being executed in the mean time?
codenameyash 13-Dec-11 3:27am View    
Thanks for the reply, well the constraint is once I receive a message, I need to reply within 5ms or all communications fail.

You are correct with respect to the USB dongle, and it does have a converter inside. The Baudrate of the device is configurable and it is set at 115200.

To measure the reaction time, I have the receiving device toggle an LED when something is received over RF, and measure this toggle rate on an Oscilloscope. I have noticed it comes to 15ms. Another test that I have run was pre-loading a byte array and sending this byte array over the serial port constantly but to no avail the 15ms time still prevailed.