Interesting.
I however forgot to give you all the information. For my tests I was communicating with the dumb serial device, using your program as basis, with the following results:
1> PC - 70ms(average)
2> PDA(bluetooth) - 210ms(average)
If I understand your results correctly(Remember this is communicating with your simulation program which immediately sends the bytes back):
1> PDA(Physical serial port) - 33ms
2> PDA(Bluetooth virtual port) - 70ms
I am guessing that if you run you program(obviously modified) on a PC(i.e. PC-> PC) you would get a time of 70ms/3 = 23ms.
What I know suspect if that the time for serial communication on a PDA, with bluetooth, is +-3 slower than on a PC.
I am now going to test my PDA usi
ng your simulation program to see if I also get 70ms. If, so , I think my assumption is correct.
I would like to hear your comments on this.
Thanks again for the interest and help.
J