From c9061f57aabd166c2414be47b483ea8579cbe44b Mon Sep 17 00:00:00 2001 From: Timur Pocheptsov Date: Wed, 16 Mar 2016 10:58:12 +0100 Subject: LE controller - update docs (iOS/OS X) Document that connected/disconnected signals are unreliable on iOS/OS X in the peripheral role. Change-Id: Idd4b10ecdd91a85c7dfc0ec981b0a2aeab3ea8fe Reviewed-by: Alex Blasche --- src/bluetooth/qlowenergycontroller.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/bluetooth/qlowenergycontroller.cpp') diff --git a/src/bluetooth/qlowenergycontroller.cpp b/src/bluetooth/qlowenergycontroller.cpp index 7f3995ed..eeff4ab0 100644 --- a/src/bluetooth/qlowenergycontroller.cpp +++ b/src/bluetooth/qlowenergycontroller.cpp @@ -197,13 +197,17 @@ Q_DECLARE_LOGGING_CATEGORY(QT_BT) This signal is emitted when the controller successfully connects to the remote Low Energy device (if the controller is in the \l CentralRole) or if a remote Low Energy device connected to the controller (if the controller is in the \l PeripheralRole). + On iOS and OS X this signal is not reliable if the controller is in the \l PeripheralRole + - the controller only guesses that some central connected to our peripheral as + soon as this central tries to write/read a characteristic/descriptor. */ /*! \fn void QLowEnergyController::disconnected() This signal is emitted when the controller disconnects from the remote - Low Energy device or vice versa. + Low Energy device or vice versa. On iOS and OS X this signal is unreliable + if the controller is in the \l PeripheralRole. */ /*! -- cgit v1.2.3