Bluetooth Protocol Inconsistency

While performing a handshake to establish a Bluetooth connection with the V5 Brain, the brain will display the “Radio Connection Code” on the screen. If the connection is not fully established after displaying the code (whether intentionally disconnected, or the connection is lost), the V5 Brain doesn’t ever display the code again if the connection process is started over. Power-cycling the brain will get it to behave as expected again during the connection process.

Here’s my attempt to document the connection handshake: https://docs.google.com/document/d/1a_86yG400ZVQ5E9QQLrh7AI8bo4girsP4GcXOGvG4-w/

The inconsistency appears to occur after my mobile app sends FFFFFFFF. The brain still responds with FFFFFFFF but the screen doesn’t show the connection code.

I’m trying to provide a consistent experience for students who are developing custom mobile apps for controlling their robots.