Calling pair() works for keyboards since they do a PIN confirmation afterward and connect later. For headphones we can connect right away. Calling pair and connect works for both.