Skip to content

Version of gattlib #1

@aliale09

Description

@aliale09

Dear Mr. DeanCording,
I am sorry, I couldn't find your email using git.
So I am writing this issue with a hope for your help with compiling of owonb32 client under Xubuntu 18.04.03. It's not possible to compile the client. As I could see from the gcc log, the problem is in wrong version of gattlib I have in the system. There is no specific information about the version you used.
Would you be so kind to specify it?
I have compiled the library to work with Bluez 5.49.

The client compilation errors are likes this:
owonb35.c:575:71: note: each undeclared identifier is reported only once for each function it appears in owonb35.c:575:22: error: too many arguments to function ‘gattlib_connect’
connection = gattlib_connect(NULL, address, BDADDR_LE_PUBLIC, BT_SEC_LOW, 0, 0);
^~~~~~~~~~~~~~~
In file included from owonb35.c:38:0:
/usr/local/include/gattlib.h:276:20: note: declared here
gatt_connection_t *gattlib_connect(const char *src, const char *dst, unsigned long options);

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