-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scanning for the DFU Bootloader timeouts with error 255 #484
Labels
Comments
w-sso
changed the title
Scanning for the DFU Bootloader... (timeout 5000 ms) Scanning for new address finished with: null Connection state change error: 255 newState: 0 How did it happen?
Connection state change error: 255 newState: 0 An error occurred while connecting to the device: 255
Dec 23, 2024
w-sso
changed the title
Connection state change error: 255 newState: 0 An error occurred while connecting to the device: 255
Scanning for the DFU Bootloader... (timeout 5000 ms) Scanning for new address finished with: null Connection state change error: 255 newState: 0 How did it happen? Connection state change error: 255 newState: 0 An error occurred while connecting to the device: 255
Dec 23, 2024
public void onScanResult(final int callbackType, final ScanResult result) {
final String address = result.getDevice().getAddress();
Log.i("TAG", "onScanResult: "+
result.getDevice().getAddress()+" mDeviceAddress "+mDeviceAddress
+" mDeviceAddressIncremented " );
if (!mFound && mSelector.matches(
result.getDevice(), result.getRssi(),
result.getScanRecord().getBytes(),
mDeviceAddress, mDeviceAddressIncremented
)) {
mBootloaderAddress = address;
mFound = true;
// Notify the waiting thread
synchronized (mLock) {
mLock.notifyAll();
}
}
} Why does the address increment problem exist |
philips77
changed the title
Scanning for the DFU Bootloader... (timeout 5000 ms) Scanning for new address finished with: null Connection state change error: 255 newState: 0 How did it happen? Connection state change error: 255 newState: 0 An error occurred while connecting to the device: 255
Scanning for the DFU Bootloader timeouts with error 255
Dec 30, 2024
Please provide full log. The snippet above isn't enough. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Where do you suspect the issue?
Issue in DFU library, e.g. upload stops in the middle
Version
2.7.0 or 2.8.0 (Latest)
Describe the issue
It appeared while trying to connect
Relevant log output
The text was updated successfully, but these errors were encountered: