Menu

Bug in OpenBT for Bluetooth

Help
2007-08-05
2013-04-25
  • Nobody/Anonymous

    For those who want to use the Bluetooth connection : There is a bug in comm.h. The timeout is set to 1 which is far too low. It never worked for me. I changed the timeout to 45 and now it works fine. To do this change the '1' on line 70 in comm.h  to '45'.

    Note : other timeouts may work too (the author suggests 15)

     
    • Cory Walker

      Cory Walker - 2007-08-06

      I don't know why yours has to have a longer timeout. If I change mine, it takes forever to connect. Mine connects fastest with the timeout set as one. Nobody has ever had trouble with this before. Does it take a long time for your NXT to connect with the timeout set to 45?

      -Cory Walker

       
    • Nobody/Anonymous

      It takes approx. 30 seconds to open the Bluetooth connection. I tried swithcing back to '1' and then I cannot connect. use '45' again and - bingo - I can connect. If you know what I need to do to make the connection faster, let me know.

      Note : the reason I used 45 as timeout is because this was also used by 'FantomTalk', a demo program for the fantom library.

       

Log in to post a comment.