You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand that you're facing an issue with pairing a physical button in your code setup. Despite the button appearing in the application and registering immediately upon registration, you want to pair it using the physical button during connection attempts. Pairing works fine when using display mode or keyboard mode, but the button part doesn't seem to work. You're asking whether this is a bug or if there's something wrong with your approach. You're also seeking advice regarding the Bluefruit.Security.setIOCaps(false, true, false) function.
To troubleshoot this, let's break down the situation:
Physical Button Pairing Issue: It seems like the problem lies in the pairing process using the physical button. This could be due to various reasons such as incorrect wiring, hardware compatibility issues, or code configuration.
Code Configuration: The function Bluefruit.Security.setIOCaps(false, true, false) is likely related to the input/output capabilities of your device. Setting it to (false, true, false) suggests that you're enabling keyboard-only mode. This might be causing the issue with the physical button pairing.
Troubleshooting Steps:
Double-check your wiring and ensure that the physical button is connected properly.
Review the documentation of Bluefruit_LE_Connect_Android_V2-master to ensure that you're following the correct procedure for pairing physical buttons.
Experiment with different configurations of Bluefruit.Security.setIOCaps() function to see if it resolves the issue. You might need to enable other capabilities besides just keyboard mode.
Bug vs. Configuration Issue: It's hard to determine whether this is a bug or a configuration issue without more detailed information. Try reaching out to the developer community or the support resources provided by the manufacturer for assistance. They might have encountered similar issues and can offer specific guidance.
In summary, thoroughly review your hardware setup, code configuration, and documentation provided by Bluefruit_LE_Connect_Android_V2-master. Experiment with different configurations, and consider seeking assistance from the developer community or manufacturer support for further troubleshooting.
Operating System
Windows 10
IDE version
arduino 2.3.2
Board
adafruit feather nrf52832
BSP version
1.6.0
Sketch
What happened ?
Bluefruit.Security.setIOCaps(false, true, false); // display = true, yes/no = true, keyboard = false
In this code setup, the button that pairs with the physical button is known as the button.
However, a button appears in the application and is registered immediately upon registration.
When attempting to connect, I would like to pair and connect using a physical button.
When pairing, both display mode and keyboard mode work well.
It's not just the button part.
It's not just the button part. Is this a bug? Or am I doing something wrong?
Thank you for your great advice.
How to reproduce ?
Just upload the code and connect via Bluetooth using the Bluefruit_LE_Connect_Android_V2-master app.
Debug Log
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: