commit | d12ae88c1199d8f94573114080d05e493d4ae171 | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@google.com> | Tue Jan 31 23:01:25 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 31 23:01:25 2023 +0000 |
tree | 8a6f4ee440ca08fdb38c0b23bf98fbf0eae4ce80 | |
parent | 5b203053adfaf46288019cdd8d8970175d89ac8f [diff] |
pw_bluetooth_profiles: Implement Device Information Service (DIS) Added a new pw_bluetooth_profiles module to start implementing basic GATT services that can be reused by other projects. The DIS version 1.1 contains up to 9 characteristics with read-only values, representing properties that are typically static for the lifetime of a given firmware running on a given device, but some of which may be only known at runtime. All characteristics are optional and devices may choose to only expose some of them. This implementation provides a way to define the subset of characteristics to expose at compile time, allowing gatt::LocalServiceInfo and the span of Characteristic to be stored in flash. Bug: 255633576 Test: Added unit tests. Change-Id: Ic836bc56b935fb9d6980d8c4f267c8538b99c223 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/118971 Commit-Queue: Ben Lawson <benlawson@google.com> Reviewed-by: Keir Mierle <keir@google.com> Reviewed-by: Ben Lawson <benlawson@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.