8000 Provide signatures for public functions that can take strings as opposed to BLEUUIDs · Issue #31 · nkolban/esp32-snippets · GitHub
[go: up one dir, main page]

Skip to content
Provide signatures for public functions that can take strings as opposed to BLEUUIDs #31
Closed
@nkolban

Description

@nkolban

There are public functions today that take BLEUUIDs ... provide alternatives/over-rides that accept strings.

For example, where we have a function that looks like:

void foo(BLEUUID uuid)

provide an additional signature that looks like:

void foo(char* uuid) {
   foo(BLEUUID(std::string(uuid)));
}

and

void foo(std::string uuid) {
   foo(BLEUUID(uuid));
}

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

      0