tag:blogger.com,1999:blog-20770763.post115378372779344171..comments2023-04-07T12:49:42.090+02:00Comments on bNXT Blog: Bluetooth is "busy"Filiphttp://www.blogger.com/profile/13402402250811541155noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-20770763.post-11722734975650880882007-12-25T19:29:00.000+01:002007-12-25T19:29:00.000+01:00I had the same problem, I found out that in order ...I had the same problem, I found out that in order to make the connection work correctly, NXT-G needs 3 com ports: 2 outoing ports called NXT 'Dev B' and NXT 'Dev A', and an incoming port called 'NXT'. Somehow, two of them disappeared and my system stopped working. After changing the log on for the BT service as described earlier, it seemed like Windows reinitialized that connection and correctly re-created the 3 ports and from now on BT seems to work flawlessly. I don't know the exact mechanics of the BT stack and what NXT-G expects to have in terms of port, but I just thought it could be a good hint on why it doesn't work in some cases.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20770763.post-68929195136657337202007-11-06T21:03:00.000+01:002007-11-06T21:03:00.000+01:00this works for the nxt software, but i am currentl...this works for the nxt software, but i am currently trying to run microsoft robotics studio, it still gives the line busy message.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20770763.post-22082865127843459052007-09-20T17:38:00.000+02:002007-09-20T17:38:00.000+02:00We, too, suffered from very frustrating Bluetooth ...We, too, suffered from very frustrating Bluetooth troubles. I use a cheap Bluetooth USB dongle, using Windows XP drivers (on a desktop) and Vista drivers (on a Laptop). On both computers, when 'scanning' from the Mindstorms software, the NXT would come up 'available'. Then, when trying to connect, a window popped up requesting the passcode (at the PC), then NXT would beep and request a passcode as well. After pressing the orange button, an error would occur in the Mindstorms software ("Error: a connection could not be made" or something vague like that). Because the error only came up at such a late stage in the connection process, I suspected that the Bluetooth hardware would be OK, but somehow a higher software layer caused the problem. After a lot of experimenting, I found a procedure that creates a Bluetooth connection, which works both on the Desktop (XP-SP2) and the Laptop (Vista). Some steps may not be needed, or alternative sequences might work, but this does it for me:<BR/><BR/>1. Switch on the PC<BR/><BR/>2. Slide in the Bluetooth dongle (my PC doesn't boot with the dongle installed)<BR/><BR/>3. On the PC, open the Bluetooth Devices window<BR/><BR/>4. If any NXT device is listed in the Devices list, Remove it (otherwise, a 'Line Busy' error will pop up later). Make sure 'Turn discovery on' is selected. Close the Bluetooth Devices window.<BR/><BR/>5. Switch on the NXT, and select 'Search' from the bluetooth menu, then 'Connect' to the found computer. Accept the passcode.<BR/><BR/>6. On the PC, a window comes up mentioning that a Bluetooth device is requesting to connect, asking if you want to allow connection. Click on the message to allow connection. A new window pops up, asking for the passcode. Type in the passcode and click Next. Again, the NXT beeps to verify the passcode; press the orange button on NXT to accept.<BR/><BR/>7. Open the Bluetooth Devices window. Select the NXT device and press 'Properties'. In the new window that opens, click the 'Services' tab. Now, Windows starts searching for services that NXT supports. Select all available services (in my case, two serial ports) and press OK. Windows now installs some new drivers. After that, close the Bluetooth Devices window.<BR/><BR/>8. Now, start the Mindstorms software on the PC, and open the NXT window. Scan for NXT devices, and after finding NXT, click "Connect" (if not already connected during scanning).<BR/><BR/>9. YES! It works! (for me anyway).<BR/><BR/>My guess is that with the above procedure, Windows not only recognizes NXT, but also knows with what type of connection services to approach NXT. Apparently, this allows the Mindstorms software to actually create a connection. Unfortunately, the sequence is a bit complicated, which is a problem for my son, the biggest Mindstorms user. Any help in shortening the sequence is appreciated.<BR/><BR/>I hope this is of any help to other frustrated NXT owners having Bluetooth problems!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20770763.post-30981051326593531382007-05-21T20:12:00.000+02:002007-05-21T20:12:00.000+02:00Bluetooth Connection Issue / Problem : PC to NXT B...Bluetooth Connection Issue / Problem : PC to NXT Brick<BR/><BR/>Technical Detail :<BR/>Lego Mindstorm Software (LMS) v1.00<BR/>LMS PC Driver v1.00 & v1.02 (from Lego website)<BR/>NXT Brick Firmware 1.04 (from Lego website)<BR/><BR/>Bluetooth Stack : <BR/>MS XP-SP2 Default, no updates/patches.<BR/><BR/>Bluetooth Hardware : <BR/>MSI BToes 2.0 3X v587-CI (Cambridge Silicon Radio - CSR chipset)<BR/><BR/><BR/>Symptoms :<BR/>LMS successfully SCAN and detects NXT brick. But unable to CONNECT to device.<BR/><BR/><BR/>TroubleShoot step :<BR/>XP Unable to create SPP/Bluetooth Serial Port.<BR/><BR/>1. Control Panel > Bluetooth devices <BR/>2. Add NXT device with NXT brick passkey (default 1234) <BR/>3. COM Port Tab > Add > Outgoing > Device = NXT > Service = Serial Port (SPP) 'Dev B'<BR/>4. Popup shows "Access is Denied".<BR/><BR/><BR/>Solution : <BR/>Change Bluetooth Service Log On Credentials.<BR/><BR/>1. Control Panel > Admin Tools > Services.<BR/><BR/>2. Bluetooth Support Service > Properties.<BR/><BR/>3. Log On tab > [Warning : Copy the "This account" field value and keep it somewhere safe. The password should be your local admin account password].<BR/><BR/>4. Check Log on as : "Local System Account" (instead of Local Service) > PopUp > OK.<BR/><BR/>5. General Tab > Service Status : STOP then START.<BR/><BR/>6. Repeat Troubleshoot steps. No more "Access is denied" popup message.<BR/><BR/>7. Test with LMS interface. If unsure, remove any existing bluetooth brick in LMS list. Scan <BR/>and then try Connecting.<BR/><BR/>I noticed the response in LMS is faster than using the Widcomm Bluetooth stack (v5.0.1.802). (By way of forcing the 'Generic Bluetooth Device' to the 'CSR Bluetooth Device' drivers in Device Manager panel)<BR/><BR/><BR/>Disclaimer :<BR/>Procees with caution. I bear no liability in case of any loss.<BR/><BR/><BR/>regards,<BR/>Bob D (Malaysia)Bobhttps://www.blogger.com/profile/05762292986280810996noreply@blogger.comtag:blogger.com,1999:blog-20770763.post-1174119718938101332007-03-17T10:21:00.000+01:002007-03-17T10:21:00.000+01:00some one said that you have to disable any other c...some one said that you have to disable any other connections to stop the nxt saying "Line is busy" it doesnt work please some one help!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20770763.post-1164335305564495982006-11-24T03:28:00.000+01:002006-11-24T03:28:00.000+01:00I have been having similar troubles. I started a ...I have been having similar troubles. I started a post outlining them here: <BR/><BR/>http://www.brick-labs.com/articles-and-tutorials/132/using-bluetooth-cannot-connect-to-nxt-device<BR/><BR/>I'll keep it updated as I go.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20770763.post-1159114780278139132006-09-24T18:19:00.000+02:002006-09-24T18:19:00.000+02:00I forgot to say in my post that I tried this with ...I forgot to say in my post that I tried this with 'brick' firmware? 1.0 and 1.3? the same things happened.. SOrryAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-20770763.post-1159111027590322712006-09-24T17:17:00.000+02:002006-09-24T17:17:00.000+02:00I have the same issues. Three different PC's and M...I have the same issues. Three different PC's and My Life Drive Palm. By the way, anybody notice if your Bluetooth is 'OFF' you get the same thing. I have no real problems using the NXT-G program to connect to the brick. Sometimes it gets 'fussy' but I can live with that.<BR/><BR/>Then I downloaded the Microsoft Robotics Studio.. Life got really bad after that!<BR/><BR/>In there it said 'Then configure your PC's Bluetooth adapter to be able to communicate with the NXT. Typically this involves using the Bluetooth software to create a secure partnership connection between your PC and the device. Follow the instructions provided for your computer (if already configured with Bluetooth) or your Bluetooth adapter. During this process (if successful) you will establish an inbound and an outbound port for serial communication (COM). You will need to use these numbers in the configuration file for the tutorial applications.' Gee, all downhill from there.<BR/><BR/>In my 'humble opinion' The real problem is in the 'brick!'.. But then again what do I know?<BR/><BR/>I have three three (yes three NXT Mindstorm kits). One for me and the other two were for my grand children. All three bricks do about the same thing on five different PC's. All run XP. Three XP-Home, 1 XP-Pro, 1 XP-Media?.<BR/><BR/>All of the PC's can connect to the NXT brick (with a few hickups) but in general work OK. NONE will connect if the brick trys to connect to the PC. I'm not sure what Bluetooth stack is used on three of the computers (I did not bother to look) I figgure, if the NXT-G software can connect I should be able to go the other way. BIG mistake in my thinking.<BR/><BR/>I have tried MANY different thing and all results are about the same.<BR/><BR/>My laptop is a ACER (I like it ALOT) with internal Bluetooth (you can switch bluetooth/Net off/on at will). To be honest, the other computers used my two bluetooth dongles. One is a Microsoft the other is a D-LINK DBT-120 as suggested by LEGGO.<BR/><BR/>The ACER has a built-in Broadcom bluetooth usind the WIDCOMM stack. NXT software said it 'woulden't work' during the NXT software install. (Or something like those words. I forget exactally).. It worked anyway using the NXT-G? You know, the Mindstorms program.<BR/><BR/>I have images of all my software on my laptop so I trashed it and did a secure wipe of the hard drive. Installed a fresh XP-Home install and did ALL the updates. Geeee... Took forever!<BR/><BR/>I would assume it was using the Microsoft bluetooth stack then. I'm never SURE about these PC's!<BR/><BR/>I used the Microsoft dongle and away with the NXT software install. No other programs were loaded onto the PC. Well, except what the XP software did. I took ALOT of notes...<BR/><BR/>Then I installed the DBT-120 which is stated to use WIDCOMM stack. Even on the D-LINK download page! WRONG!!!. From the Mfg. CD and the download package from D-LINK it loaded a Toshiba stack (I think Toshiba knows what they are doing so I am NOT knocking them).<BR/><BR/>I guess in general what i'm ranting about is that with all of the PC's and whatever stack they were using the LEGO software worked OK in general and the BRICK WILL not connect to any of them. Me thinks it's the BRICK!<BR/><BR/>I do not know how to fix it but one thing I did notice on three of the PC's (I forget which ones outside of my laptop) is when setting up for discovery of the 'NXT bricks' all would go well UNTILL after it was finished. The PC software thought all was well.. UNTILL you try to connect from the brick to the PC.<BR/><BR/>Trying different things, I found one very strange thing in the Bluetooth setup dialogs. After everything went as the dialogs wanted and the brick had the PC names and all that stuff.. Try to connect... LINE IS BUSY.. As usuall! I would return to the bluetooth software Add Device Wizard. It would do it's search thing and show the Brick Name.. WITH GET THIS.. Already connected under the brick name.. PC thought it was already connected BUT NO *<> on the brick.. Just a *<.<BR/><BR/>I had noticed that sometimes just before the brick displayed ..LINE IS BUSY.. the PC's dialog would 'FLASH' connected? under the brick name and go away as if the PC tried to connect but then remembered it was already connected.<BR/><BR/>Not sure how to explain this.. Make any sence? sense? cents?<BR/><BR/>Well, all in all, I have receipts for 850 or so US dollars (including TAX) and I may be off to LEGOLAND in Europe and knock on some doors for my refund!<BR/><BR/>Not really.. It's just that..<BR/><BR/>THEY HAVE A PROBLEM AND WILL NOT ADMIT TO IT!<BR/><BR/>And I had all these dreams of playing with our Lego Robo whatever's over the internet. If I could get the dang brick to connect maybe I could try messin' with the software to do it!<BR/><BR/>Have a good day all!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20770763.post-1156494185186439522006-08-25T10:23:00.000+02:002006-08-25T10:23:00.000+02:00Try enabeling the activesync servace on youre comp...Try enabeling the activesync servace on youre computer that worketd for me but now im geting "nxt lost" from the softwareAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-20770763.post-1154399589404570092006-08-01T04:33:00.000+02:002006-08-01T04:33:00.000+02:00I have kind of the same problem. I have a palm pil...I have kind of the same problem. I have a palm pilot life drive with bluetooth. The NXT will connect but always says line is busy every time. I have no idea what could be the problem. PhilAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-20770763.post-1154373290386539152006-07-31T21:14:00.000+02:002006-07-31T21:14:00.000+02:00I manually upgraded my bluetooth driver connecting...I manually upgraded my bluetooth driver connecting to Microsoft support. ALthough i had sp2 installed the driver is not automatically updated. After that i had no problem. Firmware is not upgraded but still as it came out of the box. After that search from your pc for bluetooth devices.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20770763.post-1153878080893136722006-07-26T03:41:00.000+02:002006-07-26T03:41:00.000+02:00I had started seeing this problem right after I st...I had started seeing this problem right after I stopped and started my NXT-G software.<BR/><BR/>When trying to initiate the connection from the NXT-G NXT- comm-window. I would do a scan and then connect and always end up with an error dialog after what appeared to be as successful pairing. I then reinstalled my bluetooth software and sure enough I got it to connect again... I then recylced both NXT-G and the NXT device and sure enough I couldn't connect again. This time the eror dialog told me to recycle the device. It then worked when I retried to connect from the NXT-G window.<BR/><BR/>It seems that whenever I restart NXT-G, my first attempt to connect from the NXT-G comm window seems to trigger some dialogs on my PC that suggest hardware is being re-installed. I'm not sure but the connection may be timing out.<BR/><BR/>Again: so what I do now is initiate the connection from the NXT-G comm window and upon failing, recyle the nxt device and then re-scan and connect from the NXT-G comm window.<BR/><BR/>I hope this helps<BR/>davidAnonymousnoreply@blogger.com