View unanswered posts | View active topics It is currently Sun May 19, 2013 1:13 am






Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Bluetooth: Messages are "cached" and send / read later 
Author Message
Rookie

Joined: Sat Dec 04, 2010 10:32 am
Posts: 13
Post Re: Bluetooth: Messages are "cached" and send / read later
Hi,

thanks for you reply!
I understand that the Bluetooth chip is not 100% reliable, and that RobotC cannot fix that. However, there is definitely something in my program that is very likely to trigger a bug, and I would like to find it...

I no longer have a fixed timeout of 100 ms: I fixed that, as explained here. The only timeouts I still have are...
  • 1 second for Bluetooth to finish actions, and
  • 1 second for the confirmation to arrive.

The first timeout has never been hit (I play soundException if it happens), and the second timeout only controls weather the user sees "OK" or "no reponse". Confirmations that arrive after the timeout are automatically purged ("old ACK deleted"), so the timeout should not influence the actual communication in any way.

More ideas?

Thanks,
- Felix


Tue Sep 13, 2011 12:08 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 16 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.