When executing the Bond command on the 8001 and trying to pair it from my laptop (Windows 10) or iPhone (iOS 9), I receive a strange order of events to the command:
- Event: CommandResponse
- Event: Connected
- Event: PipeStatus
- --- about 9 seconds pass ---
- Event: BondStatus statusCode = 1 (FAILED)
- Event: Disconnected
Also, two different things happen on the iPhone and on Windows; when accessing the 8001 from the iPhone with the LightBlue app, only the top 3 events occur, and I can access characteristics just fine. When closing out of the app, the last 2 events occur. On Windows, when trying to pair, I get an error ("That didn't work"), and the event sequence as pictured above occurs.
Also, I expected the iPhone to give me a pair request dialog when accessing the 8001 using the Bond command, but that doesn't happen at all.
What am I doing wrong?