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

Fails to compile #11

Open
FabianInostroza opened this issue Jul 12, 2020 · 2 comments
Open

Fails to compile #11

FabianInostroza opened this issue Jul 12, 2020 · 2 comments

Comments

@FabianInostroza
Copy link

Compilation fails with the following error:

[Error] BlueNrgHCIDriver.cpp@135,17: 'set_random_static_address' was not declared in this scope; did you mean 'get_random_static_address'?
[DEBUG] Return: 1
[DEBUG] Output: ./cordio-ble-x-nucleo-idb0xa1/BlueNrgHCIDriver.cpp: In member function 'virtual void ble::vendor::bluenrg::HCIDriver::handle_reset_sequence(uint8_t*)':
[DEBUG] Output: ./cordio-ble-x-nucleo-idb0xa1/BlueNrgHCIDriver.cpp:135:17: error: 'set_random_static_address' was not declared in this scope; did you mean 'get_random_static_address'?
[DEBUG] Output:   135 |                 set_random_static_address(pMsg);
[DEBUG] Output:       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
[DEBUG] Output:       |                 get_random_static_address

The method was added in a 6.0.0 PR (#12321) but the readme says this library should be used on mbed-os 5

@pan-
Copy link
Member

pan- commented Jul 13, 2020

@FabianInostroza Could you detail the issue ? Is this component not working with Mbed Os 5 ?

@FabianInostroza
Copy link
Author

FabianInostroza commented Jul 14, 2020

Hi @pan-,
The current head of master branch doesn't compile under mbed-os-5.15 because commit 02c14fb replaced some calls to methods only available on mbed-os-6.

I tried the commit before that (f055550) and it compiles and at least the heartbeat example works.

PD: It would be nice if documentation of the idb0xa1 on mbed mentioned this library because the other one (ble-x-nucleo-idb0xa1) also doesn't compile on mbed-os-5.15 and seems harder to get it working (lots of error on missing and duplicated definitions).

@FabianInostroza Could you detail the issue ? Is this component not working with Mbed Os 5 ?

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

No branches or pull requests

2 participants