Using State Machines to Design Abstract Bluetooth Pairing Logic | Hacker News Reader