Two Bluetooth Serial Ports - lots of RFCOMM errors

Ok... So I'm sure I'm a unique case here, but I'll throw it out anyway, just in case anyone else might be experiencing the same problem, or might know of a fix...
I'm trying to use two Bluetooth serial ports, a Bluetooth GPS and a ham radio TNC (think of it as an RF modem), simultaneously. I was able to do it twice, so I know it can work, but in getting to those two times, I encountered numerous RFCOMM errors mentioning authentication, other failed or hung up connection attempts (The Powerbook seemed to connect to the device, but no data flowed to the application), and even a few "You need to restart your computer. Hold the power button down for a few seconds..." (I guess you could call it the black screen error?) screens. Many times, I could get one device to connect and pass data, but the second one would cause errors. Sometimes I couldn't even get one device to connect.
The devices I'm connecting to are a Pharos iGPS-BT and a Socket Cordless Serial Adapter. The GPS comm settings are 4800-7-E-1 and the serial adapter is at 9600-8-N-1.
Like I said, I actually accomplished it twice, so I know it can be done, but it seems to be a LOT harder getting there than it really should be. Anyone have any thoughts or ideas?

Well, it seems like I've figured it out. I deleted the pairings (and thus the related serial ports), re-paired (probably not necessary; I probably could've just deleted the serial ports and re-added them), and I haven't had problems since.
It seems that the problems were related to the fact that I renamed the ports to considerably shorter names (i.e. bt-gps instead of PharosiGPS-BT-GPSRFcom-1). I've left both ports with their original names and have had no problems since.
- Mike

Similar Messages

  • Is it possible to communicate with two different devices using two seperate serial ports in the same labview program?

    The two bits of the program will talk to each instrument successfully if the other part of the program is not running. i do not need them to communicte with both serial ports at the exact same time, just within the same program, one after the other. i am using labview 6. any ideas of what i could be doing wrong?

    Hello,
    If you are using the Legacy serial VIs, you should really switch to the VISA VIs. Also make sure you are opening a session to each of the com ports at the beginning of the program and closing each at the end of the program. Problems can arise if your try to open a session to a port that already has a session open. Also you should update LabVIEW to 6.0.2
    If you are still having problems post the error code and error message you are getting.
    Ray K
    NI Applications Engineer

  • Cannot delete bluetooth serial port! going crazy! help!

    Brief background-
    I want to sync my Treo 680 with my intel iMac. I have never gotten BT sync to work with any mac or any palm I've ever had. But this time, somehow I did.
    And now it's dead again.
    I have given up on troubleshooting, and just want to delete all bluetooth profiles, devices, etc that I have created, and to start fresh.
    The thing is, they won't delete.
    In the bluetooth section of System Prefs, there is a sharing tab.
    Under that I have:
    Bluetooth file transfer
    bluetooth file exchange
    bluetooth-PDA-sync
    PalmBT
    the first three are not delete-able since they came with the system, I guess.
    "palmBT" is one I made, that is a duplicate of bluetooth-pda-sync.
    I just want to delete it altogether. They are both turned off, but it doesn't matter. if i try to turn either one on, I get an error. I forget the exact words- something about transport monitor could not complete my request.
    Not sure if this is an OS problem, or a palm hotsync problem. But like I said, I DID work for a while. I have no idea what may have changed to break it.
    So I select "palmBT" and click "remove serial port service" and get this error:
    "You are attempting to remove a port which is in use. Quit the application using this port and try again."
    What does this mean? The port most certainly is not 'in use'! If it were, I wouldn't be here looking for help! There are NO applications running- what am I supposed to quit?!
    Help!!!

    Ooh, god I hope not... just for this?! If that's the case I'll give up on BT sync and just stick with USB.
    if I do that, it will be the THIRD time I have had to wipe this hard drive since I got the computer in MARCH.
    I am still not fully recovered from the last time (but at least I have a backup now)
    there must be something else to try- anyone?

  • Connection to serial port via USB adapter- error -214722150​3

    I am trying to drive a stepper motor provided with possible Labview or VB programs. This motor is supposed to be connected via serial port, but the computer has not some, so I bought an USB adpater to connect my motor via USB. I am using the labview programs provided (Labview 8.0). The program cannot connect to the port and returns error -2147221503. Where may I find some help with that ?
    Thanks
    Attachments:
    error labview.JPG ‏234 KB

    I see references to 'Luminos'. Is this the provider of the stepper motor and LabVIEW code? If so, your first step should be to contact them. The whole VI is nothing but ActiveX properties and methods and the vendor would be the only one who knows what is going on.

  • What bluetooth serial ports settings for?

    While configuring my A2dp stereo headset/handsfree with Lion, i notices that there is an option for editing serial ports for each device. It gives some option to add a profile. Can someone tell me what exactly it is for and how can I use it for my advantage, if any?
    Neerav

    Well, it seems like I've figured it out. I deleted the pairings (and thus the related serial ports), re-paired (probably not necessary; I probably could've just deleted the serial ports and re-added them), and I haven't had problems since.
    It seems that the problems were related to the fact that I renamed the ports to considerably shorter names (i.e. bt-gps instead of PharosiGPS-BT-GPSRFcom-1). I've left both ports with their original names and have had no problems since.
    - Mike

  • Unable to delete serial port (advanced bluetooth prefs)

    I was messing around with the advanced Bluetooth preferences and added a couple serial ports to this list.  But when I select the items, the remove button remains inactive.  How do I delete these?  (Note: checking the checkboxes doesn't change the state of the remove button.)

    Hi ChouDoufu,
    did you get a reply, or find a way to fix this problem? I'm experiencing exactly the same issue. Moreover, if I go to "My Bluetooth Places" and "View My Bluetooth services", I can see the various services, and even enable some of them such as File Transfer or Bluetooth Imaging. However, I cannot enable Bluetooth Serial Port, which is what I'd need to be able to connect my Palm with my Lenovo. By the way, it works fine with my other computers, just not with this Lenovo T60p...
    Cheers,
    ejay 

  • Problem connecting N79 to serial port using blueso...

    Greeetings to All,
    I have a big problem, when i connect my n79 using bluesoleil v3.0, i got File transfer, dialup networking and object push services only.
    If i try to start serial port service to connect my n79 to a serial port it displayes error "can not start service".
    i have tried various bluesoleil versions but the problem remains same everytime. on the other hand i can connect my sony k750i to a serial port without any problem.
    can someone tell me how to connect n79 to a serial port using bluesoleil
    OR
    Does N79 not support bluetooth serial port connectivity?
    or is there any other way to connect n79 to a serial port using blesoleil and my bluetooth dongle on a WINXP SP2 system?
    Thanks in Advance

    Yes, PCSuite supports a great deal of Bluetooth drivers. These are all built in so, give it a try.
    Windows Vista x32 en x64 editions:
    Microsoft Windows Bluetooth stack
    Toshiba Bluetooth stack, driver versie 5.10.12
    IVT BlueSoleil Bluetooth stack, driver versie 5.0.5
    Windows XP x64:
    Microsoft Windows Bluetooth stack
    Toshiba Bluetooth stack, driver versie 5.10.12
    IVT BlueSoleil Bluetooth stack, driver versie 5.0.5
    Windows XP:
    Microsoft Windows Bluetooth (enkel in Service Pack 2)
    Toshiba Bluetooth stack, driver versie 4.0, 5.0 and 5.10.12
    WIDCOMM Bluetooth stack, driver versie 1.4.2, 3.x, 4.x and 5.x
    IVT BlueSoleil Bluetooth stack, driver versie 2.x, 3.x and 5.0.5
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • J2ME in Pocket PC - sockets - serial port

    Hi Guys,
    I am writing a J2ME application for a Pocket PC using Windows Mobile 2003
    I have chosen the J9 VM to run my J2ME applications on the PPC.
    My application will use tcp/ip sockets communication to connect to a server. Do you know if there are any issues of using this part of J2ME on a Pocket PC?? ( I have tested the same application on Java enabled mobile phone and it is fine)
    I also want to access the serial port from my J2ME application (read/write data). Do you know if it is possible to do it on a Pocket PC through the normal way?? (using the javax.microedition.io package??)

    evelknievel you said that implemmented bluetooth
    connection like a serial link, where can i find some
    documentation to do that?i am sorry, that i cannot offer you a link to a tutorial, because i just tried it out by myself using an iPAQ h5550 with windows CE 4.2 (i think this is equivlent to PocketPC 2003, or 2003 SE) which is able to create such connections. the bluetooth-driver of each side of your "serial bluetooth link" has to implement the so called "serial port profile". maybe you should google for it...
    i found some information on this:
    "To open the connection using the:
    * PocketPC
    o Most Bluetooth drivers for PocketPC provide the mapping between Bluetooth serial ports and virtual COM (inbound/outbound) ports. For example WIDCOMM Bluetooth driver (BTW-CE 1.4) that comes with hp iPAQ h5550 by default assigns COM port 5 as the inbound Bluetooth serial port and COM port 8 as the outbound Bluetooth serial port. These COM ports are configurable from the driver's Bluetooth manager."
    i found it here:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/15987c8cb752ead786256dc20070b433?OpenDocument
    hopefully this information is useful to you or anybody else :)
    best regards
    evelknievel

  • N95, Bluesoleil = serial port service

    N95 firmware 10.0.018
    Bluesoleil v2.3
    PC Suite 6.81.13
    Is Bluetooth serial port service available for N95?
    I tried to use serial port service in Bluesoleil 2.3 but only dial-up networking, object push and file transfer services are available. SPP is not.
    On the other hand, when synchronizing contacts and calendar with Outlook by using PC Suite, I can clearly see in Bluesoleil panel that serial connection service is established (icon turns green in Bluesoleil indicating service in use). Bluesoleil pops a balloon messages
    * My Bluetooth COM port 15 (COM15) is connected to remote device.
    * Connected (COM15)
    So, service is available from N95, but I can not use it from Bluesoleil alone?
    Is there a way to use serial port in applications other than PC Suite?

    I updated firmware to 12.0.013, and the problem is still here.
    Does anyone have any idea?

  • NI Serial Port / Eurotherm Temperature Controller

    NI Serial Port / Eurotherm Temperature Controller
    I am using a N.I. AT 232/4 board with four additional N.I. serial ports. First of all, after installing Windows NT (before I was using Windows 98) the NI Serial Port Diagnostics Program was not able to detect any of the ports even though the ports are correctly installed within Windows. When I was still using Windows 98 the NI Serial Port Diagnostics Program was able to detect all the four ports. Is it necessary that the diagnostics program detects the ports in order to use them with Lab View? I have also two regular Serial ports, which have never been detected by the diagnostics program, but I should still be able to use them with Lab view as well? D
    oes the NI Serial Port Diagnostics Program not function with Windows NT? Do you have an update version for Windows NT?
    I�m trying to control a Eurotherm 2416 and 903 Temperature Controller with two serial ports. Unfortunately, Eurotherm does not give support anymore about Lab View drivers for their Controllers, since they have developed their own Automation Program (iTools) now. I still want to control the Eurotherm Controller with Lab View via the serial port. Do you still have the driver VI�s for the 2416 and 903? It would be nice if you could send me the Eurotherm divers also along with some documentation.
    There is already a question posted about Eurotherm Controller (Eurotherm Temperature Controller not Functioning with NI Serial Board). It is probably a similar problem unfortunately the solution did not bring the right success. Therefore, I would like to ask you to specify the so-called 4-Wire mode.
    Thank You very much for Your help!
    Sincerely,
    Benjamin Thoma

    NI-Serial 1.45 does not install correctly on Windows NT Server 4.0 Terminal Server Edition. The driver (serial.sys), configuration utility (niports.cpl), and inf file (niserial.inf) are installed incorrectly to the user profiles directory.
    A workaround is to copy the files to the right folders which is detailed shortly.
    Definition: "%windows%" refers to the operating system folder. Note: The default operating system folder for this version of Windows is "Wtsrv".
    serial.sys - %windows%\system32\drivers
    niports.cpl - %windows%\system32
    niserial.inf - %windows%\inf
    Note: "niserial.inf" does not need to be copied unless an AT card is being used.
    The above files can either be obtained from the installation CD in the WinNT folder or from the hard-disk locations that they were
    incorrectly installed to which are detailed shortly. Note: Leaving the incorrectly installed files where they are will not harm the system. Definition: "%userid%" refers to the ID that was used when logging in to Windows.
    serial.sys - %windows%\Profiles\%userid%\Windows\system32\drivers
    niports.cpl - %windows%\Profiles\%userid%\Windows\system32
    niserial.inf - %windows%\Profiles\%userid%\Windows\inf
    For the newly copied driver to take effect the system must be rebooted.
    As for the instrument drivers, you can search our instrument driver site to try to find them. Go to "other driver resources" at the link below.
    http://zone.ni.com/idnet/
    For more information on the 4-wire mode, see chapter 6 of the "Serial Hardware and Software for Windows User Manual". I have included a link to the manual.
    http://digital.ni.com/manuals.nsf/caba5d53e9b015a186256793004eebb7/d1260d4fb98e3f228625699f005968d1?OpenDocument
    Kim L.
    Applications Engineer
    National Instruments

  • Problems reading the serial port with labview 5.1.

    I open the example serial.vi , I select write to serial port, run the programm, I don`t have any problem. But when I select read serial port, I get the error code 16392and hex code error x4008. I need to know what can I do? Thanks a lot

    Any time you get an error in LV you can right click on the error cluster indicator and do a "Explain Error".
    If you do this for the error code you reported, the explanation says that it was a framing error.
    In serial communications, a framing error indicates that the hardware was not able to detect a start bit, data then the stop bits that comprise a frame.
    This prompts me to suggest that you check you port setting on the serial port. You want to make sure you are setting the port for the correct;
    Number of start/stop bits,
    Baud rate
    data bits
    parity (just for good measure)
    and hardware handshaking.
    I hope this helps,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • General bluetooth serial adapter questio/ discussion (concept question)

    Dear all,
     I am working on a project which need to use my notebook (bluetooth enable) to talks to a "Willies bluetooth serial port adapter" which is connected to a microcontoller circuit to control other devices.  So, I am trying to write a labview program which send a virtual serial port signal via bluetooth. Am I confusing you? Do you have any clue how to do it? Starting from a VISA vi, then some bluetooth vi?
     I have not yet received the "Willies bluetooth serial port adapter", and I will receive it next week. My critical job now is to make myself able to do bluetooh data transfer, so I will have more chance able to do the real tasks next week. I am trying to use labview in my notebook to connect to my pda phone, does my pda phone need any VI ?? Any clue? I believe the notebook to pda bluetooth transfer is similar to the bluetooth serial port adapter. What do you think?
    ====================
    =Labview 7.0 & 8.0 & 8.5=
    =====================

    Hello, for the bluetooth Serial adapter is not need extra driver. detil operation it could follow the user manual.
    HyperTerminal Settings
    l Bits per second: 19200 bps (baud rate)
    l Data bit: 8
    l Parity: None
    l Stop bit: 1
    l Flow control: H/W
    Please check the followind detail of bluetooth serial adapter:
    Features
    l Supports Bluetooth Serial Port Profile and Generic Access Profile   
    l No need of external host and software
    l Easy of installation and use
    l Supports configuration of the local device
    l Easy of maintenance
    l Supports up to 100 meters (line of sight)
    .1. General
    Specification
    Description
    Baud Rate
    Supports 4.8/9.6/19.2/38.4/57.6/115.2/230.4 Kbps
    Coverage
    Up to 100 m
    Connection
    Point-to-point (pico net)
    Signal
    TxD, RxD, GND, CTS, and RTS
    RS-232 Interface
    D_SUB 9-pin female
    Standard
    Bluetooth specification version 2.0+EDR
    Frequency
    2.400 to 2.4835 GHz
    Hopping
    1,600/sec, 1MHz channel space
    Modulation
    GFSK-1 Mbps, DQPSK-2 Mbps, and 8-DPSK-3 Mbps
    Tx. Power
    Max. 18 dBm (Class 1)
    Rx. Sensitivity
    -86 dBm typical
    Antenna
    Chip antenna or SMA female + external antenna (optional)
    Antenna Gain
    Chip antenna max. 1 to 2 dBi
    Power Supply
    +5 to +6 V DC
    Current Consumption
    Max. 90 mA
    Operation Temperature
    -20°C to +75°C
    Dimensions
    35 mm (W) x 65 mm (D) x 16 mm (H)

  • [SOLVED] How to set non-root access to serial ports?

    I have this device which is listed as
    /dev/ttyUSB0
    I need to
    sudo chown sms /dev/ttyUSB0
    every time I reboot. Normally I would think to add myself to some group but "tty" group is not doing the trick... proof:
    [sms@sms-linux ~]$ groups sms
    tty wheel sms
    [sms@sms-linux ~]$ MinOZW
    Starting MinOZW with OpenZWave Version 1.0.758
    2014-03-15 06:32:07.921 Cannot find a path to the configuration files at ../../../config/, Using /usr/local/etc/openzwave/ instead...
    2014-03-15 06:32:07.928 mgr, Added driver for controller /dev/ttyUSB0
    2014-03-15 06:32:07.929 Opening controller /dev/ttyUSB0
    2014-03-15 06:32:07.931 Trying to open serial port /dev/ttyUSB0 (attempt 1)
    2014-03-15 06:32:07.933 ERROR: Cannot open serial port /dev/ttyUSB0. Error code 13
    2014-03-15 06:32:07.935 ERROR: Failed to open serial port /dev/ttyUSB0
    2014-03-15 06:32:07.936 WARNING: Failed to init the controller (attempt 0)
    ^C
    [sms@sms-linux ~]$ sudo MinOZW
    [sudo] password for root:
    Starting MinOZW with OpenZWave Version 1.0.758
    2014-03-15 06:32:23.776 Cannot find a path to the configuration files at ../../../config/, Using /usr/local/etc/openzwave/ instead...
    2014-03-15 06:32:23.782 mgr, Added driver for controller /dev/ttyUSB0
    2014-03-15 06:32:23.784 Opening controller /dev/ttyUSB0
    2014-03-15 06:32:23.786 Trying to open serial port /dev/ttyUSB0 (attempt 1)
    2014-03-15 06:32:23.794 Serial port /dev/ttyUSB0 opened (attempt 1)
    Edit: yes, it was after logout and even reboot.
    Last edited by smsware (2014-03-15 15:07:15)

    Hi,
    I also have a similar problem. I added myself to uucp group, but I still cannot access the serial port.
    [manjaro@mycomp work]$ sudo gpasswd -a manjaro uucp
    [sudo] password for manjaro:
    Adding user manjaro to group uucp
    [manjaro@mycomp work]$ groups manjaro
    lp wheel uucp network video audio storage users
    [manjaro@mycomp work]$ ls -l /dev/ttyUSB0
    crw-rw---- 1 root uucp 188, 0 23.06.2014 21:32 /dev/ttyUSB0
    [manjaro@mycomp work]$ lpc21isp firmware.hex /dev/ttyUSB0 19200 11059
    lpc21isp version 1.97
    File firmware.hex:
    loaded...
    Start Address = 0x00004F9C
    converted to binary format...
    image size : 30304
    Image size : 30304
    Can't open COM-Port /dev/ttyUSB0 ! (Error: 13d (0xD))
    But when I try as root, it works:
    [manjaro@mycomp work]$ sudo lpc21isp firmware.hex /dev/ttyUSB0 19200 11059
    [sudo] password for manjaro:
    lpc21isp version 1.97
    File firmware.hex:
    loaded...
    Start Address = 0x00004F9C
    converted to binary format...
    image size : 30304
    Image size : 30304
    Synchronizing (ESC to abort)..... OK
    Read bootcode version: 13
    Download Finished... taking 27 seconds
    Now launching the brand new code
    Do you have any idea what I am doing wrong?
    Last edited by manjaro (2014-06-23 19:57:40)

  • Getting error in call library node when establishing communication with MAX1452 on serial port using dll

    I want to communicate with MAX1452 in labview on PC serial port. Maxim provides dll file which has functions to communicate with device.It says first two functions should be findcom port and initialization sequence where findcom port returns PC's serial port address while initialization sequence helps device to learn baud rate.Iam not getting exception error in call library node.i have kept dll file in the same location as VI.

    Labview verison is 7.1 and os is win xp.
    The data types are according to the dll functions defined in functions definitions( attached previously).
    I'd put dll in the same directory where the code resides.
    Attachments:
    Code.vi ‏23 KB

  • Error 37 with serial port / no with hyperterminal

    I have added to my Pc a card with two serial port, I can access to them by hyperteminal or by labview but only at port 0 and 1 at the same time or 2 and 3, if not I have an error 37. What can I do?

    Error 37 means that LabVIEW cannot find the appropriate serial device. This indicates that one of the following conditions exists:
    LabVIEW cannot open the specified serial port;
    LabVIEW cannot find the file serpdrv.
    Make sure that the serial driver was installed before the board, and that the com ports appear normally in the control panel. If you cannot get it working, contact NI through either phone or email support. Since there are several potential causes, this is difficult to diagnose without more information. You can contact NI using the following webpage.
    http://sine.ni.com/apps/we/niae_asc.main
    Kim L.
    Applications Engineer
    National Instruments

Maybe you are looking for

  • Centralized View for all the Project Document in Solution Manager

    we assign roadmap to our Implementation project and as per roadmap we upload different documents for the project(e.g. business case, project charter) at different phases of roadmap. can we see all the documents related to a project from a single cent

  • IBook as key board for iMac

    Hi everyone. I just got a new G4 iBook and was wondering if there is any way to use it as a wireless keyboard (and maybe a wireless mouse) for my G5 iMac.

  • Has anyone managed to embed flash content within there responsive HTML5 website?

    Has anyone managed to embed flash content within there responsive HTML5 website? I'm aiming to get my client gallery Flash based but don't want to sacrifice my responsive HTML5 layout to achieve this. I feel the Flash gallery would be more secure tha

  • Sdhc card won't work

    I cannot make the iPad recognize videos on SDHC card connected through camera connection kit.  Video is in both m4v and mp4 format.  I have reformated the card and everything. Tips?

  • Php mysql select query executes twice

    I have a select query running in a page that returns an image array and when it executes Firefox is returning the results twice. I have tested it in IE, and it runs fine. Just wondering if anyone would know why this is happening. I have searched many