Estimote / iOS-Fleet-Management-SDK

Estimote Fleet Management SDK for iOS
https://developer.estimote.com
MIT License
1.18k stars 398 forks source link

I am getting this error "[CoreBluetooth] XPC connection invalid" i am trying to get temperature value using estimote beacon. var beaconConnection : ESTBeaconConnection? // MARK:- Beacon Connection func beaconConnectionSetUp(beacon:CLBeacon){ beaconConnection = ESTBeaconConnection.init(beacon: beacon, delegate: self, startImmediately: true) beaconConnection?.start() } func readTemperatureFromBeacon() { beaconConnection?.readTemperature(completion: { (temperature, error) in if error == nil{ print(temperature!) }else{ print(error?.localizedDescription as Any) } }) } func beaconConnectionDidSucceed(_ connection: ESTBeaconConnection) { // let timer = Timer.scheduledTimer(timeInterval: 0.4, target: self, selector: #selector(readTemperatureFromBeacon), userInfo: nil, repeats: true) readTemperatureFromBeacon() } func beaconManager(_ manager: Any, didFailWithError error: Error) { print(error.localizedDescription) } #255

Closed Rajesh-Kasula closed 4 years ago