CLASS
GASmartAccessReaderSDK
public class GASmartAccessReaderSDK: NSObject, ObservableObject, CBPeripheralManagerDelegate
Properties
lockReconError
public var lockReconError: ErrorKey? = nil
delegate
public weak var delegate: GASmartAccessReaderDemoDelegate?
Methods
init(delegate:logLevel:)
public init(delegate: GASmartAccessReaderDemoDelegate, logLevel: LogLevel = LogLevel.error)
peripheralManagerDidUpdateState(_:)
public func peripheralManagerDidUpdateState(_ peripheral: CBPeripheralManager)
getPermissions()
public func getPermissions() -> Bool
addServices()
public func addServices()
startAdvertising()
public func startAdvertising()
peripheralManager(_:didReceiveWrite:)
public func peripheralManager(
_: CBPeripheralManager, didReceiveWrite requests: [CBATTRequest]
)
peripheralManager(_:didReceiveRead:)
public func peripheralManager(_: CBPeripheralManager, didReceiveRead request: CBATTRequest)