CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2005
    Posts
    5

    Java Bluetooth Programming

    I am using Atinav aveLinkBT for Bluetooth programming under J2SE. I am having some trouble with the Atinav SDK. I dont know what to do with the USB.dll file. I thought it was something spesific Atinav had. But it seems BlueCove also has a dll file with its Bluetooth SDK.. So what is this dll file for. Anyone knows?

  2. #2
    Join Date
    Oct 2003
    Location
    .NET2.0 / VS2005 Developer
    Posts
    7,104

    Re: Java Bluetooth Programming

    ask the manufacturer of the java enabled device; they created the dll
    "it's a fax from your dog, Mr Dansworth. It looks like your cat" - Gary Larson...DW1: Data Walkthroughs 1.1...DW2: Data Walkthroughs 2.0...DDS: The DataSet Designer Surface...ANO: ADO.NET2 Orientation...DAN: Deeper ADO.NET...DNU...PQ

  3. #3
    Join Date
    Feb 2005
    Posts
    5

    Re: Java Bluetooth Programming

    Quote Originally Posted by cjard
    ask the manufacturer of the java enabled device; they created the dll
    The DLL file was delivered by Atinav, not the Bluetooth USB dongle manufactor...

  4. #4
    Join Date
    Jan 2006
    Posts
    1

    Re: Java Bluetooth Programming

    actually i am trying to use a bluetooth usb dongle too and it comes with a software which enables it to read it as a serial port. Does anyone know how I can initilialize, read from and send to this port? an example code is appreciated.

  5. #5
    Join Date
    Dec 2005
    Posts
    99

    Re: Java Bluetooth Programming

    Hi,

    I once attemped to use the Atinav SDK for bluetooth in Java, its been a while but if I remember correctly the USB.dll file is used for interfacing between the Atinav SDK (written in java) and the Microsoft bluetooth stack(written in c/c++), i.e. it is a JNI shared library and should be placed in the C:\j2sdk1.5.0\jre\lib\i386 directory (you should replace 'C:\j2sdk1.5.0\' with the location of your java installation)

    Kind regards,
    Noel

  6. #6
    Join Date
    Feb 2006
    Posts
    4

    Re: Java Bluetooth Programming

    Quote Originally Posted by mebrure
    actually i am trying to use a bluetooth usb dongle too and it comes with a software which enables it to read it as a serial port. Does anyone know how I can initilialize, read from and send to this port? an example code is appreciated.

    Hi!!
    I'm trying the same as you!! Have you found any solution??

    Some code example would be of much help.
    My mail is [email protected]

    Thanks!!

  7. #7
    Join Date
    Feb 2006
    Posts
    4

    Re: Java Bluetooth Programming

    Hi!!
    I'm connecting my PC (USB dongle) with my smartphone via bluetooth and the service my smartphone offers me is the Serial Port connection. Therefore, the port which has been asigned to use it is the COM4.

    Now I want to send AT commands to the modem of the smartphone to make a telephone call. Therefore I use the Windows Hyper Terminal and try to establish the connection (via COM4). I set the following parameters :

    bauds : 115200
    data bits : 8
    parity : none
    stop bits : 1
    Flow control : Hardware

    The connection seems to get established but when I try to write the AT commands on the panel ... I can't ... I can't write anything!

    I think the problem could be that the parameters aren't correct....

    Does anyone know which parameters do I have to set to establish the bluetooth serial port communication??

    Do you think there could be any other reason for this problem??

    Thanks a lot!!!

    Hirahi.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured