简体   繁体   中英

How get bind Ble device list in swift?

I want to bind ble-device when connection. And when restart app, that reconnect ble-device where in binding list.

how connect ble-device with binding? how get binding list? if don't get bindin list, how connect device?

please, answer.

Well, it's too big area to explain with just answers. Start with reading https://developer.apple.com/reference/corebluetooth

Main classes are CBCentralManager, CBPeripheral, CBCharacteristic. Just for list device, CBCentralManagerDelegate, CBPeripheralDelegate would help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM