Minimum pairing key size [BLE]
Posted: Wed Nov 13, 2019 2:25 pm
Hello,
I am getting some seriously strange behavior from BLE. When I set the pairing key on the esp to 4 digits the esp can successfully pair as long as the connecting device is iOS. However, if we try to pair an android device the pairing process fails. On an android device, we must pad the key input with two zeros in order for the pairing process to succeed.
For example: ESP BLE pairing key is set to 252525 (6 digits). iOS and Android can connect by input 252525, the pairing process succeeds.
For example: ESP BLE pairing key is set to 2525 (4 digits). iOS can input 2525 and the pairing process will succeed. Android can input 2525 and the pairing process will FAIL. Abdroid can input 002525 and the pairing process will succeed.
Is there a pairing key limitation that I missed or what? Does anyone have any insight into what might be happening here?
I am getting some seriously strange behavior from BLE. When I set the pairing key on the esp to 4 digits the esp can successfully pair as long as the connecting device is iOS. However, if we try to pair an android device the pairing process fails. On an android device, we must pad the key input with two zeros in order for the pairing process to succeed.
For example: ESP BLE pairing key is set to 252525 (6 digits). iOS and Android can connect by input 252525, the pairing process succeeds.
For example: ESP BLE pairing key is set to 2525 (4 digits). iOS can input 2525 and the pairing process will succeed. Android can input 2525 and the pairing process will FAIL. Abdroid can input 002525 and the pairing process will succeed.
Is there a pairing key limitation that I missed or what? Does anyone have any insight into what might be happening here?