Menu

OpenBT() fails

Help
TFJ
2009-08-26
2013-04-25
  • TFJ

    TFJ - 2009-08-26

    Hi all

    OpenBT() fails, even though I have increased timeout to 45 (as per earlier post). Can anyone give me a rundown on how to properly connect the NXT to the PC via Bluetooth?

     
    • TFJ

      TFJ - 2009-08-26

      Okay, I realize my previous post was not very informative, so here's some additional info:

      I am trying to create the simple program from step 3 of the tutorial, and calling OpenBT() fails. I am pretty sure my devices are paired, since my NXT shows up in the list of BT devices under windows. I must say, though, that I am a newbie to Bluetooth and that it is possible that this is where the error lies.

      I have increased the timeout value in the call to createNXTIterator() in Comm::NXTComm::OpenBT() to 45 (also tried 15) to no avail.

      Has anyone got an idea or a procedure to make OpenBT() work?

      Best,

      Corpus

       
      • Cory Walker

        Cory Walker - 2009-08-29

        Sorry this took so long, but I've been bogged down with school.

        Can you connect via Bluetooth using the included NXT-G software?

         
        • TFJ

          TFJ - 2009-08-30

          Hi.

          Got it to work yesterday, sorry. Turns out that I had to (1) remove ALL existing BT connections first (cell phones, NXTs, ...), then (2) pair the PC (master) and the NXT (slave) in advance.

          Thx,

          /C

           

Log in to post a comment.