Menu

With BrainBox H4 CF but I can't init stack

Help
hugoshih
2004-11-26
2013-04-10
  • hugoshih

    hugoshih - 2004-11-26

    I bought the H4 card.
    But I still can't running stack.
    Here is the debug information: 
    BluetoothServer:
    HCI: Sending Command: 3075
    BluetoothClient:
    org.javabluetooth.stack.hci.HCIException: HCIManagerRemoteClient: IOException: java.net.ConnectException: Connection timed out: connect
    org.javabluetooth.stack.hci.HCIException: BluetoothStack not initalized.
            at org.javabluetooth.stack.BluetoothStack.getBluetoothStack(BluetoothStack.java:71)
            at org.javabluetooth.demo.BluetoothClient.main(BluetoothClient.java:84)
    Exception in thread "main"

    What should i do
    Chris !!  Plz help!!

     
    • hugoshih

      hugoshih - 2004-11-26

      More details: 
      My H4 mode CF card is set in comport 21
      When running BluetoothServer I got the message:

      HCI: Sending Command: 3075
      HCI: Received Command Status Event: 0

      I put a debug line under server.run()
      try {      
               watchA = hciDriver.send_HCI_HC_Reset();
               BluetoothTCPServer server = new BluetoothTCPServer(2600);
               server.run();
               System.out.println("server is running");
              }catch (HCIException e){
                  System.out.println("Can't reset cause of "+e);
              }

      obviously may server is not running  
      what should i do
      Plz!! Chris HELP!!

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.