You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Python] Process attribute cache updates in Python thread (#35557)
* [Python] Process attribute cache updates in Python thread
Instead of processing the attribute update in the SDK thread, process
them on request in the Python thread. This avoids acks being sent back
too late to the device after the last DataReport if there are many
attribute updates sent at once.
Currently still the same data model and processing is done. There is
certainly also room for optimization to make this more efficient.
* Get updated attribute values
Make sure to get the attribute values again after each command to get
the updated attribute cache.
* Reference ReadEvent/ReadAttribute APIs on dev controller object
Copy file name to clipboardexpand all lines: docs/guides/repl/Matter_Basic_Interactions.ipynb
+2-2
Original file line number
Diff line number
Diff line change
@@ -3504,7 +3504,7 @@
3504
3504
"source": [
3505
3505
"#### Read Events:\n",
3506
3506
"\n",
3507
-
"A `ReadEvents` API exists that behaves similarly to the `ReadAttributes` API. It permits the same degrees of wildcard expression as its counterpart and follows the same format for expressing all wildcard permutations."
3507
+
"A `ReadEvent` API exists that behaves similarly to the `ReadAttribute` API. It permits the same degrees of wildcard expression as its counterpart and follows the same format for expressing all wildcard permutations."
3508
3508
]
3509
3509
},
3510
3510
{
@@ -3609,7 +3609,7 @@
3609
3609
"source": [
3610
3610
"### Subscription Interaction\n",
3611
3611
"\n",
3612
-
"To subscribe to a Node, the same `ReadAttributes` API is used to trigger a subscription, with a valid `reportInterval` tuple passed in being used as a way to indicate the request to create a subscription."
3612
+
"To subscribe to a Node, the same `ReadAttribute` API is used to trigger a subscription, with a valid `reportInterval` tuple passed in being used as a way to indicate the request to create a subscription."
0 commit comments