From 129ba2b168152c94696b5e7cd433acfd976c7fb0 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 19 Nov 2018 14:19:31 +0200 Subject: [PATCH] doc/gatt-api: Restrict supported file descriptors Only support sockets with AcquireWrite/AcquireNotify since pipe don't work with sendmsg therefore MSG_NOSIGNAL cannot be used. --- doc/gatt-api.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/gatt-api.txt b/doc/gatt-api.txt index be4c60c6f..8dda60b8a 100644 --- a/doc/gatt-api.txt +++ b/doc/gatt-api.txt @@ -100,9 +100,9 @@ Methods array{byte} ReadValue(dict options) fd, uint16 AcquireWrite(dict options) [optional] - Acquire file descriptor and MTU for writing. Usage of - WriteValue will be locked causing it to return - NotPermitted error. + Acquire file descriptor and MTU for writing. Only + sockets are supported. Usage of WriteValue will be + locked causing it to return NotPermitted error. For server the MTU returned shall be equal or smaller than the negotiated MTU. @@ -130,9 +130,9 @@ Methods array{byte} ReadValue(dict options) fd, uint16 AcquireNotify(dict options) [optional] - Acquire file descriptor and MTU for notify. Usage of - StartNotify will be locked causing it to return - NotPermitted error. + Acquire file descriptor and MTU for notify. Only + sockets are support. Usage of StartNotify will be locked + causing it to return NotPermitted error. For server the MTU returned shall be equal or smaller than the negotiated MTU. -- 2.47.3