• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Connecting to a known BT address with BLE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Connecting to a known BT address with BLE


  • Subject: Connecting to a known BT address with BLE
  • From: Jimmy Adler <email@hidden>
  • Date: Wed, 05 Sep 2012 00:49:06 +0200

Hi,

I was wondering how to go about connecting (or attempt to
connect) to a BLE device that I know the address to.

It seems I should do
[centralManager connectPeripheral:peripheral options:nil]
with a peripheral that I construct myself, but that is not legal
since all the properties in the object are readonly.

Is there any way of doing this?

I have tried scanning for my device and printing the resulting
UUID for the peripheral, but that does not match with the given
address of the device. (the address is printed on the device
and scanned using barcode scanner to initiate pairing).

Should I not receive the correct address when printing the UUID
of the peripheral received in "didDiscoverPeripheral"?

Br,

Jimmy
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Connecting to a known BT address with BLE
      • From: Etan Kissling <email@hidden>
  • Prev by Date: Re: BTLE test environment
  • Next by Date: CoreBluetooth: writeValue:forCharacteristic:type: always fails when using 128-Bit UUIDs on iOS 6 beta 4
  • Previous by thread: Why didDiscoverPeripheral is invoked if i invoke connectPeripheral in didDisconnectPeripheral?
  • Next by thread: Re: Connecting to a known BT address with BLE
  • Index(es):
    • Date
    • Thread