Skip to content

Commit 0dc16a6

Browse files
committed
Fix spelling, add words to wordlist
1 parent 083263c commit 0dc16a6

File tree

4 files changed

+95
-86
lines changed

4 files changed

+95
-86
lines changed

.github/.wordlist.txt

+7
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ EchoMessage
465465
EchoRequests
466466
EchoResponse
467467
EchoService
468+
ECW
468469
edaf
469470
edc
470471
EDR
@@ -738,6 +739,7 @@ kCase
738739
Kconfig
739740
kDacPublicKey
740741
KeypadInput
742+
keypair
741743
keyset
742744
kGroup
743745
kInvalidCommandId
@@ -884,6 +886,7 @@ mlan
884886
MLD
885887
mmevk
886888
moal
889+
Mobly
887890
ModeSelect
888891
modprobe
889892
Modustoolbox
@@ -948,6 +951,7 @@ nrfdks
948951
nrfutil
949952
nrfxlib
950953
NTAG
954+
NTP
951955
nullable
952956
nullptr
953957
NUM
@@ -1013,6 +1017,7 @@ OTBR
10131017
otcli
10141018
outform
10151019
outgoingCommands
1020+
overridable
10161021
OxygenConcentrationMeasurement
10171022
OzoneConcentrationMeasurement
10181023
PAA
@@ -1051,6 +1056,7 @@ perfetto
10511056
periodicQueryTimeout
10521057
pexpect
10531058
pickString
1059+
PICSCODE
10541060
PID
10551061
Pigweed
10561062
PinCode
@@ -1366,6 +1372,7 @@ TestGenExample
13661372
TestGroupDemoConfig
13671373
TestMultiRead
13681374
TestName
1375+
TestOnlySendCommandTimedRequestFlagWithNoTimedInvoke
13691376
TESTPASSWD
13701377
TestPICS
13711378
TESTSSID

docs/testing/ChipDeviceCtrlAPI.md

+69-67
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,62 @@
11
# Table of Contents
22

3-
- [chip.ChipDeviceCtrl](#chip.ChipDeviceCtrl)
4-
- [CommissionableNode](#chip.ChipDeviceCtrl.CommissionableNode)
5-
- [Commission](#chip.ChipDeviceCtrl.CommissionableNode.Commission)
6-
- [DeviceProxyWrapper](#chip.ChipDeviceCtrl.DeviceProxyWrapper)
7-
- [ChipDeviceControllerBase](#chip.ChipDeviceCtrl.ChipDeviceControllerBase)
8-
- [Shutdown](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.Shutdown)
9-
- [ShutdownAll](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.ShutdownAll)
10-
- [ExpireSessions](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.ExpireSessions)
11-
- [DiscoverCommissionableNodes](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.DiscoverCommissionableNodes)
12-
- [DiscoverCommissionableNodesLongDiscriminator](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.DiscoverCommissionableNodesLongDiscriminator)
13-
- [DiscoverCommissionableNodesShortDiscriminator](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.DiscoverCommissionableNodesShortDiscriminator)
14-
- [DiscoverCommissionableNodesVendor](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.DiscoverCommissionableNodesVendor)
15-
- [DiscoverCommissionableNodesDeviceType](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.DiscoverCommissionableNodesDeviceType)
16-
- [DiscoverCommissionableNodesCommissioningEnabled](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.DiscoverCommissionableNodesCommissioningEnabled)
17-
- [PrintDiscoveredDevices](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.PrintDiscoveredDevices)
18-
- [DiscoverAllCommissioning](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.DiscoverAllCommissioning)
19-
- [OpenCommissioningWindow](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.OpenCommissioningWindow)
20-
- [GetFabricIdInternal](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.GetFabricIdInternal)
21-
- [GetNodeIdInternal](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.GetNodeIdInternal)
22-
- [GetConnectedDeviceSync](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.GetConnectedDeviceSync)
23-
- [ComputeRoundTripTimeout](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.ComputeRoundTripTimeout)
24-
- [GetRemoteSessionParameters](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.GetRemoteSessionParameters)
25-
- [TestOnlySendBatchCommands](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.TestOnlySendBatchCommands)
26-
- [TestOnlySendCommandTimedRequestFlagWithNoTimedInvoke](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.TestOnlySendCommandTimedRequestFlagWithNoTimedInvoke)
27-
- [SendCommand](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.SendCommand)
28-
- [SendBatchCommands](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.SendBatchCommands)
29-
- [SendGroupCommand](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.SendGroupCommand)
30-
- [WriteAttribute](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.WriteAttribute)
31-
- [WriteGroupAttribute](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.WriteGroupAttribute)
32-
- [Read](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.Read)
33-
- [ReadAttribute](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.ReadAttribute)
34-
- [ReadEvent](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.ReadEvent)
35-
- [ZCLSend](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.ZCLSend)
36-
- [ZCLReadAttribute](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.ZCLReadAttribute)
37-
- [ZCLWriteAttribute](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.ZCLWriteAttribute)
38-
- [ZCLSubscribeAttribute](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.ZCLSubscribeAttribute)
39-
- [InitGroupTestingData](#chip.ChipDeviceCtrl.ChipDeviceControllerBase.InitGroupTestingData)
40-
- [ChipDeviceController](#chip.ChipDeviceCtrl.ChipDeviceController)
41-
- [Commission](#chip.ChipDeviceCtrl.ChipDeviceController.Commission)
42-
- [CommissionThread](#chip.ChipDeviceCtrl.ChipDeviceController.CommissionThread)
43-
- [CommissionWiFi](#chip.ChipDeviceCtrl.ChipDeviceController.CommissionWiFi)
44-
- [SetWiFiCredentials](#chip.ChipDeviceCtrl.ChipDeviceController.SetWiFiCredentials)
45-
- [SetThreadOperationalDataset](#chip.ChipDeviceCtrl.ChipDeviceController.SetThreadOperationalDataset)
46-
- [ResetCommissioningParameters](#chip.ChipDeviceCtrl.ChipDeviceController.ResetCommissioningParameters)
47-
- [SetTimeZone](#chip.ChipDeviceCtrl.ChipDeviceController.SetTimeZone)
48-
- [SetDSTOffset](#chip.ChipDeviceCtrl.ChipDeviceController.SetDSTOffset)
49-
- [SetDefaultNTP](#chip.ChipDeviceCtrl.ChipDeviceController.SetDefaultNTP)
50-
- [SetTrustedTimeSource](#chip.ChipDeviceCtrl.ChipDeviceController.SetTrustedTimeSource)
51-
- [SetCheckMatchingFabric](#chip.ChipDeviceCtrl.ChipDeviceController.SetCheckMatchingFabric)
52-
- [GetFabricCheckResult](#chip.ChipDeviceCtrl.ChipDeviceController.GetFabricCheckResult)
53-
- [CommissionOnNetwork](#chip.ChipDeviceCtrl.ChipDeviceController.CommissionOnNetwork)
54-
- [CommissionWithCode](#chip.ChipDeviceCtrl.ChipDeviceController.CommissionWithCode)
55-
- [CommissionIP](#chip.ChipDeviceCtrl.ChipDeviceController.CommissionIP)
56-
- [IssueNOCChain](#chip.ChipDeviceCtrl.ChipDeviceController.IssueNOCChain)
57-
- [BareChipDeviceController](#chip.ChipDeviceCtrl.BareChipDeviceController)
58-
- [\_\_init\_\_](#chip.ChipDeviceCtrl.BareChipDeviceController.__init__)
3+
- [Table of Contents](#table-of-contents)
4+
- [chip.ChipDeviceCtrl](#chipchipdevicectrl)
5+
- [CommissionableNode](#commissionablenode)
6+
- [Commission](#commission)
7+
- [DeviceProxyWrapper](#deviceproxywrapper)
8+
- [ChipDeviceControllerBase](#chipdevicecontrollerbase)
9+
- [Shutdown](#shutdown)
10+
- [ShutdownAll](#shutdownall)
11+
- [ExpireSessions](#expiresessions)
12+
- [DiscoverCommissionableNodes](#discovercommissionablenodes)
13+
- [DiscoverCommissionableNodesLongDiscriminator](#discovercommissionablenodeslongdiscriminator)
14+
- [DiscoverCommissionableNodesShortDiscriminator](#discovercommissionablenodesshortdiscriminator)
15+
- [DiscoverCommissionableNodesVendor](#discovercommissionablenodesvendor)
16+
- [DiscoverCommissionableNodesDeviceType](#discovercommissionablenodesdevicetype)
17+
- [DiscoverCommissionableNodesCommissioningEnabled](#discovercommissionablenodescommissioningenabled)
18+
- [PrintDiscoveredDevices](#printdiscovereddevices)
19+
- [DiscoverAllCommissioning](#discoverallcommissioning)
20+
- [OpenCommissioningWindow](#opencommissioningwindow)
21+
- [GetFabricIdInternal](#getfabricidinternal)
22+
- [GetNodeIdInternal](#getnodeidinternal)
23+
- [GetConnectedDeviceSync](#getconnecteddevicesync)
24+
- [ComputeRoundTripTimeout](#computeroundtriptimeout)
25+
- [GetRemoteSessionParameters](#getremotesessionparameters)
26+
- [TestOnlySendBatchCommands](#testonlysendbatchcommands)
27+
- [TestOnlySendCommandTimedRequestFlagWithNoTimedInvoke](#testonlysendcommandtimedrequestflagwithnotimedinvoke)
28+
- [SendCommand](#sendcommand)
29+
- [SendBatchCommands](#sendbatchcommands)
30+
- [SendGroupCommand](#sendgroupcommand)
31+
- [WriteAttribute](#writeattribute)
32+
- [WriteGroupAttribute](#writegroupattribute)
33+
- [Read](#read)
34+
- [ReadAttribute](#readattribute)
35+
- [ReadEvent](#readevent)
36+
- [ZCLSend](#zclsend)
37+
- [ZCLReadAttribute](#zclreadattribute)
38+
- [ZCLWriteAttribute](#zclwriteattribute)
39+
- [ZCLSubscribeAttribute](#zclsubscribeattribute)
40+
- [InitGroupTestingData](#initgrouptestingdata)
41+
- [ChipDeviceController](#chipdevicecontroller)
42+
- [Commission](#commission-1)
43+
- [CommissionThread](#commissionthread)
44+
- [CommissionWiFi](#commissionwifi)
45+
- [SetWiFiCredentials](#setwificredentials)
46+
- [SetThreadOperationalDataset](#setthreadoperationaldataset)
47+
- [ResetCommissioningParameters](#resetcommissioningparameters)
48+
- [SetTimeZone](#settimezone)
49+
- [SetDSTOffset](#setdstoffset)
50+
- [SetDefaultNTP](#setdefaultntp)
51+
- [SetTrustedTimeSource](#settrustedtimesource)
52+
- [SetCheckMatchingFabric](#setcheckmatchingfabric)
53+
- [GetFabricCheckResult](#getfabriccheckresult)
54+
- [CommissionOnNetwork](#commissiononnetwork)
55+
- [CommissionWithCode](#commissionwithcode)
56+
- [CommissionIP](#commissionip)
57+
- [IssueNOCChain](#issuenocchain)
58+
- [BareChipDeviceController](#barechipdevicecontroller)
59+
- [\_\_init\_\_](#__init__)
5960

6061
<a id="chip.ChipDeviceCtrl"></a>
6162

@@ -94,7 +95,7 @@ class DeviceProxyWrapper()
9495

9596
Encapsulates a pointer to OperationalDeviceProxy on the c++ side that needs to
9697
be freed when DeviceProxyWrapper goes out of scope. There is a potential issue
97-
where if this is copied around that a double free will occure, but how this is
98+
where if this is copied around that a double free will occur, but how this is
9899
used today that is not an issue that needs to be accounted for and it will
99100
become very apparent if that happens.
100101

@@ -379,8 +380,8 @@ async def SendCommand(nodeid: int,
379380

380381
Send a cluster-object encapsulated command to a node and get returned a future
381382
that can be awaited upon to receive the response. If a valid responseType is
382-
passed in, that will be used to deserialize the object. If not, the type will be
383-
automatically deduced from the metadata received over the wire.
383+
passed in, that will be used to de-serialize the object. If not, the type will
384+
be automatically deduced from the metadata received over the wire.
384385

385386
timedWriteTimeoutMs: Timeout for a timed invoke request. Omit or set to 'None'
386387
to indicate a non-timed request. interactionTimeoutMs: Overall timeout for the
@@ -488,7 +489,7 @@ to the XYZ attribute on the test cluster to endpoint 1
488489

489490
**Returns**:
490491

491-
- [AttributeStatus] (list - one for each pth)
492+
- [AttributeStatus] (list - one for each path)
492493

493494
<a id="chip.ChipDeviceCtrl.ChipDeviceControllerBase.WriteGroupAttribute"></a>
494495

@@ -663,15 +664,16 @@ sent.
663664
SubscriptionTransaction. This is used to set a callback function, which is a
664665
callable of type Callable[[TypedAttributePath, SubscriptionTransaction],
665666
None] Get the attribute value from the change path using GetAttribute on the
666-
SubscriptionTransasction You can await changes in the main loop using a
667+
SubscriptionTransaction You can await changes in the main loop using a
667668
trigger mechanism from the callback. ex. queue.SimpleQueue
668669

669-
- read request: AsyncReadTransation.ReadResponse.attributes. This is of type
670+
- read request: AsyncReadTransaction.ReadResponse.attributes. This is of type
670671
AttributeCache.attributeCache (Attribute.py), which is a dict mapping
671672
endpoints to a list of Cluster (ClusterObjects.py) classes (dict[int,
672-
List[Cluster]]) Access as ret[endpoint_id][<cluster class>][<Attribute
673-
class>] Ex. To access the OnTime attribute from the OnOff cluster on EP 1
674-
ret[1][clusters.onoff][Clusters.OnOff.Attributes.OnTime]
673+
List[Cluster]]) Access as
674+
returned_object[endpoint_id][<Cluster class>][<Attribute class>] Ex. To
675+
access the OnTime attribute from the OnOff cluster on endpoint 1
676+
ret[1][Clusters.OnOff][Clusters.OnOff.Attributes.OnTime]
675677

676678
**Raises**:
677679

@@ -940,7 +942,7 @@ Set the DefaultNTP to set during commissioning
940942
def SetTrustedTimeSource(nodeId: int, endpoint: int)
941943
```
942944

943-
Set the trusetd time source nodeId to set during commissioning. This must be a
945+
Set the trusted time source nodeId to set during commissioning. This must be a
944946
node on the commissioner fabric.
945947

946948
<a id="chip.ChipDeviceCtrl.ChipDeviceController.SetCheckMatchingFabric"></a>
@@ -1052,7 +1054,7 @@ def __init__(operationalKey: p256keypair.P256Keypair,
10521054
name: str = None)
10531055
```
10541056

1055-
Creates a controller without autocommissioner.
1057+
Creates a controller without AutoCommissioner.
10561058

10571059
The allocated controller uses the noc, icac, rcac and ipk instead of the
10581060
default, random generated certificates / keys. Which is suitable for creating a

docs/testing/python.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Python framework tests
22

33
The python test framework is built on top of the ChipDeviceCtrl.py python
4-
controller API and the mobly test framework. Python tests are interaction tests,
4+
controller API and the Mobly test framework. Python tests are interaction tests,
55
and can be used for certification testing, and / or integration testing in the
66
CI.
77

@@ -33,7 +33,7 @@ Python tests located in src/python_testing
3333
- Use ChipDeviceCtrl to interact with the DUT
3434
- Controller API is in ChipDeviceCtrl.py (see API doc in file)
3535
- some support functions in matter_testing_support.py
36-
- Use mobly assertions for failing tests
36+
- Use Mobly assertions for failing tests
3737
- self.step() along with a steps\_ function to mark test plan steps for cert
3838
tests
3939
-
@@ -198,7 +198,7 @@ Example
198198
## Accessing Clusters and Cluster Elements by ID
199199

200200
[ClusterObjects.py](https://github.com/project-chip/connectedhomeip/blob/master/src/controller/python/chip/clusters/ClusterObjects.py)
201-
has a set of objects that map ID to the codegen'd object.
201+
has a set of objects that map ID to the code generated object.
202202

203203
`chip.clusters.ClusterObjects.ALL_CLUSTERS`
204204

@@ -253,7 +253,7 @@ Single attribute
253253

254254
`await dev_ctrl.ReadAttribute(node_id, [(1, Clusters.OnOff.Attributes.OnTime)])`
255255

256-
Multipath
256+
Multi-path
257257

258258
`await dev_ctrl.ReadAttribute(node_id, [(1, Clusters.OnOff.Attributes.OnTime),(1, Clusters.OnOff.Attributes.OnOff)])`
259259

@@ -343,15 +343,15 @@ pai = await dev_ctrl.SendCommand(nodeid, 0, Clusters.OperationalCredentials.Comm
343343
- read_single_attribute_expect_error
344344
- send_single_cmd
345345
- step() function to mark step progress for the test harness
346-
- skip / skip_step / skip_remaning_steps functions for test harness
346+
- skip / skip_step / skip_remaining_steps functions for test harness
347347
integration
348348
- check_pics / pics_guard to handle pics
349349

350350
## Mobly helpers
351351

352-
The test system is based on mobly, and the
352+
The test system is based on Mobly, and the
353353
[matter_testing_support.py](https://github.com/project-chip/connectedhomeip/blob/master/src/python_testing/matter_testing_support.py)
354-
class provides some helpers for mobly integration
354+
class provides some helpers for Mobly integration
355355

356356
- default_matter_test_main
357357
- Sets up commissioning and finds all tests, parses command arguments
@@ -425,7 +425,7 @@ See
425425
- --tests to select tests
426426
- --PICS
427427
- --int-arg, --bool-arg, --float-arg, --string-arg, --json-arg, --hex-arg
428-
- specify as key:value ex --bool-arg mybool:False
428+
- specify as key:value ex --bool-arg pixit_name:False
429429
- used for custom arguments to scripts (PIXITs)
430430

431431
## PICS and PIXITS
@@ -438,7 +438,7 @@ See
438438
- use --int-arg, --bool-arg etc on the command line to specify PIXITs
439439
- Warn users if they don’t set required values, add instructions in the
440440
comments
441-
- ret = self.user_params.get("pixit_name", default)
441+
- pixit_value = self.user_params.get("pixit_name", default)
442442

443443
## Support functions
444444

@@ -474,7 +474,7 @@ second_ctrl = fa.new_fabric_admin.NewController(nodeId=node_id)
474474
- basic_composition_support
475475
- wildcard read, whole device analysis
476476
- CommissioningFlowBlocks
477-
- various commissining support for core tests
477+
- various commissioning support for core tests
478478
- spec_parsing_support
479479
- parsing data model XML into python readable format
480480

0 commit comments

Comments
 (0)