diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-04-02 19:49:30 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-04-02 20:35:22 -0700 |
commit | cb2514f3253fb842aa7973001cc1a394afbdd5e6 (patch) | |
tree | cc751f02e0860b8363db4b6ab328fba5e6c38738 /README.md | |
parent | 6e9217d3372b8d4fa737e485d361d09a85be64f0 (diff) |
binding: bluetooth: add changed action for adapter_changes event
Report back property changes in the adapter_changes event, which is
required for detecting when an adapter is truly powered on.
Bug-AGL: SPEC-2295
Change-Id: I58441369277d2e778f2bb077e7b1be4aa3a3b1b4
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -209,7 +209,21 @@ Sample of adding new adapter event: } </pre> -Sample of adapter being remove: +Sample of adapter property changes: + +<pre> +{ + "adapter": "hci0", + "action": "changed", + "properties": { + "powered": false, + "discovering": false, + "discoverable": false + } +} +</pre> + +Sample of adapter being removed: <pre> { |