Skip to content

LECentral and LEPeripheral not compiling #1370

Closed
@dpharris

Description

@dpharris

Hi --
First, thank you for the great work!
I am trying to compile the two examples. I see that the BTstack was changed to BTstackLib, and I downloaded the directory. The examples list shows BTStack, and the examples do have #include ,
but they both complain:

In file included from /Users/daveharris/Library/Arduino15/packages/rp2040/hardware/rp2040/3.1.1/libraries/BTstackLib/src/BTstackLib.cpp:41:
/Users/daveharris/Library/Arduino15/packages/rp2040/hardware/rp2040/3.1.1//pico-sdk/lib/btstack/src/ble/sm.h:228:1: error: 'irk_lookup_state_t' does not name a type
228 | irk_lookup_state_t sm_identity_resolving_state(hci_con_handle_t con_handle);
| ^~~~~~~~~~~~~~~~~~
Using library BTstackLib at version 1.0 in folder: /Users/daveharris/Library/Arduino15/packages/rp2040/hardware/rp2040/3.1.1/libraries/BTstackLib
Using library SPI at version 1.0 in folder: /Users/daveharris/Library/Arduino15/packages/rp2040/hardware/rp2040/3.1.1/libraries/SPI

I looked at hci.h and it appears to have an appropriate definition for irk_lookup_state_t

Can you help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions