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

[bluetooth/bthecho] Unable to build bthecho #1177

Open
steam3d opened this issue Jun 6, 2024 · 3 comments
Open

[bluetooth/bthecho] Unable to build bthecho #1177

steam3d opened this issue Jun 6, 2024 · 3 comments
Assignees
Labels

Comments

@steam3d
Copy link

steam3d commented Jun 6, 2024

When build the bthecho sample as described in README I get error

'BthEchoSampleSrv' is reserved
'BthEchoSampleCli' is reserved

image

BthEchoSampleCli.inx file:

AddService = BthEchoSampleCli,%SPSVCINST_ASSOCSERVICE%, BthEchoSampleCli_Service_Inst

KmdfService = BthEchoSampleCli, BthEchoSampleCli_Inst_wdfsect

BthEchoSampleSvr.inx file:

AddService = BthEchoSampleSrv,%SPSVCINST_ASSOCSERVICE%, BthEchoSampleSrv_Service_Inst

KmdfService = BthEchoSampleSrv, BthEchoSampleSrv_Inst_wdfsect

@NeoAdonis NeoAdonis changed the title Unable to build bthecho [bluetooth/bthecho] Unable to build bthecho Jun 18, 2024
@NeoAdonis NeoAdonis self-assigned this Jun 18, 2024
@NeoAdonis
Copy link
Member

This is by design: we expect samples to be changed and used only as the basis to build new drivers, rather than being built as they are.

There are ways to exclude this error. We use those, for example, to validate that the sample driver builds as expected. However, the right way to resolve this issue is to rename the service.

I'm closing this for now but feel free to add more comments if you have any other questions or issues!

@steam3d
Copy link
Author

steam3d commented Jun 18, 2024

@NeoAdonis I quote README file:
image

I expect to get a successful build according to the REAMDE file, but not an error. This should definitely be fixed so as not to confuse developers and generate additional issues

@NeoAdonis
Copy link
Member

@steam3d I agree. Thanks for letting me know! I'll reach out to the team to see what's the best approach to document this.

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

2 participants