Skip to content
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

[Bug] TestHarness on Linux: CHIP: BLE: No adaptor #158

Open
jscarey1 opened this issue Jan 26, 2024 · 7 comments
Open

[Bug] TestHarness on Linux: CHIP: BLE: No adaptor #158

jscarey1 opened this issue Jan 26, 2024 · 7 comments
Labels

Comments

@jscarey1
Copy link

Describe the bug

Attempting to use chip-tool packaged in TH.
chip-tool fails to begin commissioning due to No Adapter Available

Steps to reproduce the behavior

No response

Expected behavior

No response

Log files

[1706218624.215723][3475:3477] CHIP:CTL: Setting wifi credentials from parameters
[1706218624.215755][3475:3477] CHIP:CTL: Setting attestation nonce to random value
[1706218624.215768][3475:3477] CHIP:CTL: Setting CSR nonce to random value
[1706218624.215777][3475:3477] CHIP:CTL: Checking ICD registration parameters
[1706218624.215786][3475:3477] CHIP:CTL: Commission called for node ID 0x0000000000000001
[1706218624.215799][3475:3477] CHIP:DIS: Closing all BLE connections
[1706218624.215825][3475:3477] CHIP:TOO: Pairing Failure: src/platform/Linux/BLEManagerImpl.cpp:664: CHIP Error 0x00000003: Incorrect state
[1706218624.215837][3475:3477] CHIP:TOO: Run command failure: src/platform/Linux/BLEManagerImpl.cpp:664: CHIP Error 0x00000003: Incorrect state
[1706218624.215851][3475:3477] CHIP:BLE: No adapter available for new connection establishment

PICS file

No response

Screenshots

No response

Environment

TH = v2.10-beta2+spring2024

Additional Information

No response

@ccruzagralopes
Copy link
Contributor

Hi @jscarey1,
I believe that the error was actually caused by an Incorrect state.
Was the device being commissioned in commissioning mode at the time?

@jscarey1
Copy link
Author

jscarey1 commented Jan 29, 2024 via email

@ccruzagralopes
Copy link
Contributor

I believe you can achieve that using the SDK repository directly. That's where they python test scripts are hosted and you can run them directly in there, without TH.
Maybe @cecille can help you with the setup?

@jscarey1
Copy link
Author

@cecille
Is this something you could assist with?

@jscarey1
Copy link
Author

jscarey1 commented Feb 5, 2024

Still waiting for someone to help with this. I cannot find any guides to perform these actions.

@ccruzagralopes
Copy link
Contributor

Maybe you can open an issue in the SDK repository or transfer this one over there. There could be more people over there that has the knowledge you need.

@jscarey1
Copy link
Author

jscarey1 commented Feb 5, 2024

#31927

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants