diff mbox series

[BlueZ,2/2] doc/gatt-api: Add new error for StartNotify

Message ID 20200821061643.16278-2-sonnysasaka@chromium.org
State New
Headers show
Series None | expand

Commit Message

Sonny Sasaka Aug. 21, 2020, 6:16 a.m. UTC
From: Joseph Hwang <josephsih@chromium.org>

When a device is disconnecting, StartNotify is not allowed. This adds a
new error type to the doc.

---
 doc/gatt-api.txt | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/doc/gatt-api.txt b/doc/gatt-api.txt
index 98fe7487c..04789c6d3 100644
--- a/doc/gatt-api.txt
+++ b/doc/gatt-api.txt
@@ -186,6 +186,7 @@  Methods		array{byte} ReadValue(dict options)
 			Possible Errors: org.bluez.Error.Failed
 					 org.bluez.Error.NotPermitted
 					 org.bluez.Error.InProgress
+					 org.bluez.Error.NotConnected
 					 org.bluez.Error.NotSupported
 
 		void StopNotify()