From 1b1ceb67b25e0ea56c1e972514a48468fe478ad3 Mon Sep 17 00:00:00 2001 From: Thomas Friebel Date: Tue, 14 Apr 2020 00:17:25 +0200 Subject: [PATCH] docs/library: Document that char_data/notify_data are also references. --- docs/library/ubluetooth.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/library/ubluetooth.rst b/docs/library/ubluetooth.rst index a16019e604..62a823924f 100644 --- a/docs/library/ubluetooth.rst +++ b/docs/library/ubluetooth.rst @@ -68,7 +68,8 @@ Event Handling The optional *trigger* parameter allows you to set a mask of events that your program is interested in. The default is all events. - Note: the ``addr``, ``adv_data`` and ``uuid`` entries in the tuples are + Note: the ``addr``, ``adv_data``, ``char_data``, ``notify_data``, and + ``uuid`` entries in the tuples are references to data managed by the :mod:`ubluetooth` module (i.e. the same instance will be re-used across multiple calls to the event handler). If your program wants to use this data outside of the handler, then it must