MyGit

v0.4.0

steamclock/bluejay

版本发布时间: 2018-01-25 03:34:13

steamclock/bluejay最新发布版本:v0.8.9(2021-11-25 05:18:13)

We have changed the connection API slightly.

We should not assume all connection requests need a timeout. There are in fact many cases where an indefinite connection request, the default of CoreBluetooth's connection, is necessary and useful.

This change now requires you to explicitly specify whether your connection has a timeout or not. This will give you greater control and transparency over how your connection requests will behave.

The connection API now has an additional timeout parameter, and looks like this now: public func connect(_ peripheralIdentifier: PeripheralIdentifier, timeout: Timeout, completion: @escaping (ConnectionResult) -> Void)

相关地址:原始地址 下载(tar) 下载(zip)

查看:2018-01-25发行的版本