Bean-iOS-OSX-SDK
Bean-iOS-OSX-SDK copied to clipboard
Punch Through's SDK for speeding up development with the LightBlue Bean development platform
Installing pod should not require ssh keys on github.
When trying to connect to a bean on the iPad pro I'm seeing VERY long connect times. As in 3-4 minutes. On iPhone it is an instant connection. This did...
This feels hacky, but it serves my needs.
No peripheral discovered with the corresponding UUID On rescan, the bean that is already in `beanRecords` was being reported as discovered but was deleted from `beanRecords`. Thus failing connection attempt...
Keep intermediate state while rediscovering services. Otherwise bean goes to connected-and-validated state too early – while the services are still `nil`. At this time, calling any operation that rely on...
Adds notifications for scratch updates (all five banks), so there is no need for polling. This is mostly copy-pasted from other profiles.
Can you subscribe to be notified of scratch bank changes? I've looked around – and the only option seems to request explicitly `PTDBean.readScratchBank`, which means polling.
With CoreBluetooth I can save peripheral identifier, and later – even after app restarts – can use that identifier to get `CBPeripheral` in let peripheral = centralManager.retrievePeripherals(withIdentifiers: [identifier]) .first! Then...