Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Re-connection automatic after deconnect, BLE
Forum Updated to NodeBB v4.3 + New Features

Re-connection automatic after deconnect, BLE

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 794 Views
  • 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.
  • martial123M Offline
    martial123M Offline
    martial123
    wrote on last edited by
    #1

    Hi every one,

    I need to etablish connection between my computer (Qt program) and external device.
    And for that, i would like to manage if I lose connection between each other, to reconnect automatically the device without humain help.

    There is a way to do that ?
    place variable = true or whatever..

    Thank you !

    Martial

    jsulmJ 1 Reply Last reply
    0
    • martial123M martial123

      Hi every one,

      I need to etablish connection between my computer (Qt program) and external device.
      And for that, i would like to manage if I lose connection between each other, to reconnect automatically the device without humain help.

      There is a way to do that ?
      place variable = true or whatever..

      Thank you !

      Martial

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @martial123 What about https://doc.qt.io/qt-5/qbluetoothsocket.html#disconnected ? And connect again when this signal occurs?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • martial123M Offline
        martial123M Offline
        martial123
        wrote on last edited by
        #3

        @jsulm said in Re-connection automatic after deconnect, BLE:

        And connect again when this signal occurs?

        Yes ! Your right ! I have already see that, but i just want to know, when i configure device and master, if there is parameter to put a certain value to reconnect automatically ( like when you connect your computer to a wifi network, you can click on box to reconnect automatically if you are in range ..)

        if not, like you said, when i catch this signal (connect...) I need to try to reconnect device and Central . or before, search why I have this deconnection .

        Thanks

        jsulmJ 1 Reply Last reply
        0
        • martial123M martial123

          @jsulm said in Re-connection automatic after deconnect, BLE:

          And connect again when this signal occurs?

          Yes ! Your right ! I have already see that, but i just want to know, when i configure device and master, if there is parameter to put a certain value to reconnect automatically ( like when you connect your computer to a wifi network, you can click on box to reconnect automatically if you are in range ..)

          if not, like you said, when i catch this signal (connect...) I need to try to reconnect device and Central . or before, search why I have this deconnection .

          Thanks

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @martial123 said in Re-connection automatic after deconnect, BLE:

          if there is parameter to put a certain value to reconnect automatically

          I'm not aware of such a parameter

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          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