ldbus
ldbus copied to clipboard
Retrieve Table Length
I am monitoring signals emmitted by bluez(bluetooth) A lot of the signals contain tables with no entrys I need to know if a table is empty before trying to retrieve it's contents.
I noticed there is a dbus function 'dbus_message_iter_get_element_count()' that appears to do what I want, but I don't think it is implemented in ldbus.
questions: What is the proper way to determine an empty table in a signal message? Can the above function be added to ldbus?
Can the above function be added to ldbus?
Please send a PR :)
What is a PR? How Do I send one?
What is a PR? How Do I send one?
PR = Pull Request. This seems to be a reasonable introductory guide: https://www.freecodecamp.org/news/how-to-make-your-first-pull-request-on-github-3/
Do you have any experience with C?
Over 40 years of c experience, mostly embedded software
On Mon, Jan 24, 2022 at 4:32 AM daurnimator @.***> wrote:
What is a PR? How Do I send one?
PR = Pull Request. This seems to be a reasonable introductory guide: https://www.freecodecamp.org/news/how-to-make-your-first-pull-request-on-github-3/
Do you have any experience with C?
— Reply to this email directly, view it on GitHub https://github.com/daurnimator/ldbus/issues/17#issuecomment-1020052286, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHIRDRTJV5YDEZZQ4GCELRDUXVBHNANCNFSM5MUQ7WOA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>