Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
239 views
in Technique[技术] by (71.8m points)

python - How to enable the "Service Changed Inidcation"(0x2A05) on the GATT server?

We're working on BlueZ 5.48. We implemented a GATT server on the embedded Linux in Python. Here is the sample code: example-gatt-server

We found an issue: after the firmware is upgraded, the cached attributes caused the app crash if some characteristics are changed.

We learnt "Under BLE standard 'Generic Attribute' (0x1801), there is a Characteristic 'Service Changed' (0x2A05) with 'indicate' property"(link).

How to enable the "Service Changed Inidcation"(0x2A05) on the GATT server? Is there any code example? Are there any other solutions for this problem?

Thanks in advance!

question from:https://stackoverflow.com/questions/65835507/how-to-enable-the-service-changed-inidcation0x2a05-on-the-gatt-server

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...