James, This sounds weird. PINs were only used in classic Bluetooth as far as I know and have since been replaced with SSP. I don't think iOS can do classic Bluetooth so I would expect your are being requested to enter an SSP passcode exposed by a peer device in BTLE. In that case a 6-digit number between "000000" and "999999" is generated (same is true for classic actually). By the BT standard, all six digits must be present. The iOS (or somebody) must be bending the rules because a three-digit entry should fail. At least that is my understanding.
On Monday, December 28, 2015 at 6:44:04 AM UTC-5, zhangq...@hotmail.com wrote: > > Hi, > > We received a requirement of using 3 digits PIN for pairing with phone. > The PIN length had been changed to 3 on our device, pairing with IOS device > is okay by inputing only 3 numbers. But when pairing with Android device, > incorrect PIN reported when only 3 number inputed; pairing succeeded when > appending three zero in front of the three number. My question is if it is > how Android was designed? If not, how should I pair successfully with only > inputing 3 digits number. > > Thanks, > James > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/10b546a9-47a7-4b5a-a8b3-a39420d29f6a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.