I am able to read and write data from my iOS app(Central). Just after Delegate connectPeripheral:periphal
is called, OS gives an alert asking for authentication PIN with two buttons "Cancel" and "Pair".
I am not able to get any notification when user presses "Cancel" or "Pair" button. I am also not able to detect if the pairing is successful or not.
self.peripheral.state
always returns 2 (connected)