
Implements nearby::chrome::GattServer::UpdateCharacteristic() to store the updated value if the characteristic is READ only property, and wait to be notified of a ReadRequest via the GattServiceObserver, and then use the stored value in response. Tested: Manually verified in prototype Bug: b/311430390 Change-Id: Icf806f34a416ad700822a54aee24ea2f7b05cbfe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5049829 Commit-Queue: Juliet Lévesque <julietlevesque@google.com> Reviewed-by: Reilly Grant <reillyg@chromium.org> Reviewed-by: Ryan Hansberry <hansberry@chromium.org> Reviewed-by: Jack Shira <jackshira@google.com> Reviewed-by: Mustafa Emre Acer <meacer@chromium.org> Cr-Commit-Position: refs/heads/main@{#1277038}