Skip to content

constructWire(with:)

Constructor for BTWire

swift
func constructWire(with peripheral: CBPeripheral) -> BTWire

Discussion

Each BTWire needs to be managed by a PeripheralManager to receive CBCentralManagerDelegate and CBPeripheralDelegate events