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. Bluetooth Low Energy on iOS
Forum Updated to NodeBB v4.3 + New Features

Bluetooth Low Energy on iOS

Scheduled Pinned Locked Moved Mobile and Embedded
bluetooth low eios5.5
2 Posts 2 Posters 1.5k Views 2 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.
  • C Offline
    C Offline
    csanders
    wrote on last edited by
    #1

    I have implemented the new Bluetooth Low Energy API from 5.5 in my project on Android (Love it by the way! Took me about an hour to implement and hookup all the callbacks. Before I had a JNI layer that took me several days to write and debug). I started looking at implementing the new Bluetooth Low Energy API on iOS, but realized I am not sure how to connect to a peripheral. iOS does not give back an address, it just hands back a UUID, but QLowEnergyController expects a QBluetoothAddress...

    Has anyone connected to a ble device from an iOS device? How do you tell the QLowEnergyController what the remote address is? I can use the QBluetoothDeviceDiscoveryAgent on the iOS device to find the ble devices but they come back with all 0's for the address, a name, and a UUID.

    What am I missing?

    robolivableR 1 Reply Last reply
    1
    • C csanders

      I have implemented the new Bluetooth Low Energy API from 5.5 in my project on Android (Love it by the way! Took me about an hour to implement and hookup all the callbacks. Before I had a JNI layer that took me several days to write and debug). I started looking at implementing the new Bluetooth Low Energy API on iOS, but realized I am not sure how to connect to a peripheral. iOS does not give back an address, it just hands back a UUID, but QLowEnergyController expects a QBluetoothAddress...

      Has anyone connected to a ble device from an iOS device? How do you tell the QLowEnergyController what the remote address is? I can use the QBluetoothDeviceDiscoveryAgent on the iOS device to find the ble devices but they come back with all 0's for the address, a name, and a UUID.

      What am I missing?

      robolivableR Offline
      robolivableR Offline
      robolivable
      wrote on last edited by
      #2

      @csanders Bump this. I've got the same issue. Anyone at Qt able to shed some light on why it's so difficult to perform these features on iOS?

      I'm assuming it's something to do with Apple's MFi?

      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