Re: Questions about GATT server example in /test/example-gatt-server.py - Generice access service can't be overidden

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

 



Hello Josh,

On 24 May 2017 at 23:28, Josh Van Tol <josh@xxxxxxxxxxxxxxxxxx> wrote:
> I'm trying to build a custom device using BlueZ, and have been using
> the examples and tests that are included with BlueZ as a starting
> point.
>
> The problem I'm running into is that I'd like to provide my own
> implementation of the Generic Access Service (UUID '1800') but I get
> the error:
> Failed to register application: org.bluez.Error.Failed: Failed to
> create entry in database

This is a reserved UUID with a specific purpose and you shouldn't need
to redefine it:
https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.service.generic_access.xml

On BlueZ I think many of these values are set with values in
/etc/bluetooth/main.conf

>
> I would presume that this is because there's already such a service
> registered. Can anyone give me a pointer as to the proper way to
> un-register the existing service (or prevent it from being installed)?

If you are creating something custom then you might find this an
interesting read:
https://www.bluetooth.com/specifications/profiles-overview/creating-custom-profiles


>
> Regards,
> Josh van Tol
> --
> 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
--
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