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. Qt bluetooth keeps on "ConnectingState"
Forum Update on Monday, May 27th 2025

Qt bluetooth keeps on "ConnectingState"

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 171 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.
  • M Offline
    M Offline
    Manu_NaFu
    wrote on last edited by
    #1

    Hello,

    I bought a HM-10 bluetooth module and would like to connect it with an arduino uno board to my pc. I tried connecting it to my phone with an app called serial bluetooth terminal and it works, but when I try to connect to my ubuntu pc, it hangs in the "ConnectingState" and never connects.

    I don't really know what uuid to use, I just found this one on the internet but is not working for me:

    static const QString serviceUuid(QStringLiteral("00001101-0000-1000-8000-00805F9B34FB"));
    socket->connectToService(QBluetoothAddress(string), QBluetoothUuid(serviceUuid), QIODevice::ReadWrite);
    

    If you need more code I can post anything.

    Many thanks in advance.

    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