Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED]Question about Bluetooth Chat Example
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]Question about Bluetooth Chat Example

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 3.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    peterlin82
    wrote on last edited by
    #1

    I have two computers.
    I try Bluetooth Chat Example.
    I always get "Connection reset by peer".

    Information:
    Qt 5.2.0 for Android (Linux 32-bit, 490 MB),but I try Bluetooth Chat Example in Ubuntu 12.04.3(Desktop).
    Azio BTD-V201 USB Micro Bluetooth Adapter

    Any help would be appreciated!

    sorry for my english.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      peterlin82
      wrote on last edited by
      #2

      I try computer(Qt5.2.0 Bluetooth Chat Example) and Nexus 7(Android 4.3 Bluetooth Chat).

      When Qt is Server,I get "Device connection was lost" in Android.

      When Android is Server,I can send data to Android ,
      but I can't receive data from Android.

      Any help would be appreciated!

      sorry for my english.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        anson0315
        wrote on last edited by
        #3

        I got the same problem, and I found web http://stackoverflow.com/questions/17216264/bluetooth-connection-between-android-and-linux-rpi-lost-on-first-write-action

        open file : /etc/bluetooth/main.conf
        set DisablePlugins = pnat ( default is #DisablePlugins = network,input )

        then btchat example works correctly.
        I hope this is help for you.

        1 Reply Last reply
        0
        • P Offline
          P Offline
          peterlin82
          wrote on last edited by
          #4

          anson0315,Thank you very much.
          Solved by using DisablePlugins = pnat

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved