Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pending bluetooth.org] Cannot download GATT specifications #31

Closed
shmuelzon opened this issue Apr 25, 2019 · 0 comments
Closed

[pending bluetooth.org] Cannot download GATT specifications #31

shmuelzon opened this issue Apr 25, 2019 · 0 comments

Comments

@shmuelzon
Copy link
Owner

shmuelzon commented Apr 25, 2019

Unfortunately, the Bluetooth SIG have made some modifications to their web site which makes it a problem to download the GATT specifications (services and characteristic definitions) during build.
The first is that they're blocking the Python script from accessing the resources (easily fixed by changing the User-Agent). The second, and more problematic, is that their GATT characteristic page shows the same content of the GATT definitions page and does not include the list of official characteristics.

I don't want to commit the auto-generated files in the repository, so I'm opening this issue with the hopes that people find it and attaching the generated files here, see link below. Place both gatt.h and gatt.inc in the main/ directory and the project should compile fine.

gatt.zip

Update: The web-site now correctly displays the list of characteristics however, some of them (e.g. org.bluetooth.characteristic.gap.device_name) are missing the XML definition so I cannot parse the data types. Since most of these characteristics are part of the Generic Access service that all devices expose, I’m still waiting on them to fix it. If it won’t be fixed in the near future, I might add these definitions to the default configuration just so the compilation won’t fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant