-
Notifications
You must be signed in to change notification settings - Fork 270
Open
Description
According to the CoreBluetooth document,
peripheralManager(_:didReceiveRead:)
When you receive this callback, call the respond(to:withResult:) method of the CBPeripheralManager class exactly once to respond to the read request.
peripheralManager(_:didReceiveWrite:)
In the same way that you respond to a read request, each time you receive this callback, call the respond(to:withResult:) method of the CBPeripheralManager class exactly once. If the requests parameter contains multiple requests, treat them as you would a single request—if you can’t fulfill an individual request, you shouldn’t fulfill any of them. Instead, call the respond(to:withResult:) method immediately, and provide a result that indicates the cause of the failure.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels