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. Unable to make BLE connect with iOS device
Forum Updated to NodeBB v4.3 + New Features

Unable to make BLE connect with iOS device

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 220 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.
  • A Offline
    A Offline
    ankursaxena
    wrote on last edited by
    #1

    QT C++ v 5.14.0 | BLE Communication

    Linux (Central) HCI Version: 5.0 (0x9) | Apple IPhone(Peripheral) Latest


    I have two Problem:

    Problem 1: When I try to connect a Linux Machine (Client) with an Apple IPhone (Peripheral), through BLE using QT C++ api " ptr_LowEnergy_Controller->connectToDevice(); "

            (here: ptr_LowEnergy_Controller is a pointer of type QLowEnergyController).
    
    
    
            A Pop-up having prompt "Pair this Device" comes on Apple IPhone, to pair it with Linux Machine,
    
    
    
            So is this a correct behaviour in case of BLE Communication also ??
    

    Problem 2: After pairing my Linux Machine with Apple Iphone (like above steps), I try to write some data on exposed Characteristics,

           (we use fixed registered, UUIDs for Service and Characteristics) 
    
    
    
           Also, at the IPhone side, [writeWithoutResponse], [readable, writeable] properties are set for Characteristic.
    
    
    
           I get below Error, do they make any sense to anyone ??
    
    
    
          qt.bluetooth.bluez: Cannot initiate writing of "{00000001-0000-1000-8000-00805f9b34fb}" of service "{0d4aba2e-1aee-4c8b-bc7c-af8559186193}" "org.bluez.Error.NotPermitted" "Write not permitted"
    
    
    
          qt.bluetooth.bluez: Cannot initiate writing of "{00000002-0000-1000-8000-00805f9b34fb}" of service "{0d4aba2e-1aee-4c8b-bc7c-af8559186193}" "org.bluez.Error.NotPermitted" "Write not permitted" 
    

    IMP NOTE: My BLE code is running succesfully with an Android Mobile Device, above api is working fine in case of an Android Device.

    Please help me, or just tell me is it possible to connect a Linux Machine with IPHONE Device through BLE ??

    Thanks !!

    1 Reply Last reply
    0
    • J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      Please do not double post the same question in multiple sub forums, one is enough

      https://forum.qt.io/topic/117378/unable-to-make-ble-connect-with-ios-device


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      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