Compilation issue with BlueZ D-Bus API

Asked by Gabriel Mahu

Hello,

I am trying to implement a proof of concept application on top of the BlueZ Bluetooth stack D-Bus API, using dbus-cpp. The API consists of several entities that emulate Bluetooth devices and their properties, services and capabilities.

I have problems with the ManufacturerData property of the Device object. The introspection XML retrieved from the BlueZ Device object states that the type of the property is "a{qv}", the actual type being an array of pairs of uint16 and vector of bytes. The stub generated by the code generation tool uses Variant for the vector of bytes and this brakes compilation of code using the get_property method of the Object type (there is no operator == declared for Variant and one is needed in the Property setter).

I there something wrong in my approach? Could you please advise on a better one?

Thank you,
Gabriel

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu dbus-cpp Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.