AW: Gatt Client - RegisterApplication options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Luiz,

>Hi Johannes,

>On Tue, Jun 28, 2016 at 12:24 PM, Kropf Johannes
><Johannes.Kropf@xxxxxxxxx> wrote:
>> Hi,
>>
>> I upgraded to the newest version of bluez (5.40) and noticed that the "RegisterService" method to register the services for a client application is not existing anymore.
>>
>> However, I have troubles using the "RegisterApplication" method since I don't know how to put the profile hierarchy into the requested dict object. It is not clear for me, even after checking doc/gatt-api.txt and the source code.
>> Whatever I try results in the error message "No object received", invoked by the method
>> static void client_ready_cb(GDBusClient *client, void *user_data) in gatt-database.c

>I suspect that you don't have ObjectManager support, you can check
>tests/example-gatt-server how it is done in python, for other binding
>there should be a similar way to register the ObjectManager interface
>so bluetoothd is able to list the objects.

The ObjectManager Interface is available under the root of org.bluez, it is used also for finding devices as far as I understand.
The GetManagedObjects() method also works.
Which kind of object does bluetoothd try to find when calling the RegisterApplication method? 

Kind regards,
Johannes






--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux