RxBluetoothKit:用于RxSwift的iOS和OSX蓝牙库

时间:2021-02-06 01:25:24
【文件属性】:
文件名称:RxBluetoothKit:用于RxSwift的iOS和OSX蓝牙库
文件大小:736KB
文件格式:ZIP
更新时间:2021-02-06 01:25:24
swift swift-library rxswift bluetooth ble RxBluetoothKit是一个蓝牙库,可以使与BLE设备的交互更加轻松。 它由RxSwift和CoreBluetooth提供支持,并且为Central和Peripheral模式提供了不错的API。 所有这些都可以使用,并使您的代码更具可读性,可靠性和易于维护性。 这是您可以使用RxBluetoothKit进行的偷窥: manager. scanForPeripherals ( withServices : [serviceId]) . take ( 1 ) . flatMap { $0 . peripheral . establishConnection () }

网友评论