Putter Asavarojkul
Putter Asavarojkul

Reputation: 21

BLE connect to multiple devices (Swift)

How to connect BLE multiple devices at the same time in Swift

I'm working on iOS application project using BLE to transfer some data between them. The concept is one device is the main device that broadcast the data to other devices, then device that get data from bluetooth send data back to the main device. How to connect multiple devices at the same time using core bluetooth? (1-to-many topology) Is that possible to send and receive data in the same time?

Upvotes: 2

Views: 502

Answers (1)

user18309290
user18309290

Reputation: 8380

There are two different roles: peripheral and central.

A peripheral typically has data that is needed by other devices. A central typically uses the information served up by a peripheral to accomplish some task.

The central can discover and connect to multiple peripherals.

See Core Bluetooth Programming Guide for details. Even it is archived, it has the good overview of the feature.

Upvotes: 1

Related Questions