Commit 5efe2e7
TC-EEVSE-2.3: Fix check when command returns success, but expects error (project-chip#41687)
* TC-CNET-4.12: Potential fix for connection timeout [WIP]
* Another try with srp
* some more fixes
* fix instance name
* Fix EEVSE check for command errors
* Fix app
* Restyled by autopep8
* Revert "fix instance name"
This reverts commit 2d5a46f.
* Revert "some more fixes"
This reverts commit 04a32b5.
* Revert "Another try with srp"
This reverts commit ecd3d2c.
* Revert "TC-CNET-4.12: Potential fix for connection timeout [WIP]"
This reverts commit 67b1b24.
* Made the check at a lower part of the SDK and changed to use an existing constant.
* Added stronger validation for all send_single_cmd() calls to ensure the expected_status is Success in the success path.
* Added comments as proposed in PR review
* Added suggestion from PR to improve assert message when it fails.
* Restyled by autopep8
---------
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: James Harrow <[email protected]>1 parent 3eeb701 commit 5efe2e7
File tree
4 files changed
+49
-1
lines changed- examples/energy-management-app/energy-management-common/energy-evse/src
- src
- app/clusters/energy-evse-server
- python_testing
4 files changed
+49
-1
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| |||
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
| 128 | + | |
127 | 129 | | |
128 | 130 | | |
129 | 131 | | |
| |||
161 | 163 | | |
162 | 164 | | |
163 | 165 | | |
| 166 | + | |
164 | 167 | | |
165 | 168 | | |
166 | 169 | | |
| |||
examples/energy-management-app/energy-management-common/energy-evse/src/EnergyEvseDelegateImpl.cpp
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
371 | 375 | | |
372 | 376 | | |
373 | 377 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
452 | 458 | | |
453 | 459 | | |
454 | 460 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
89 | 93 | | |
| 94 | + | |
90 | 95 | | |
91 | 96 | | |
92 | 97 | | |
| |||
106 | 111 | | |
107 | 112 | | |
108 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
109 | 118 | | |
| 119 | + | |
110 | 120 | | |
111 | 121 | | |
112 | 122 | | |
| |||
116 | 126 | | |
117 | 127 | | |
118 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
119 | 133 | | |
| 134 | + | |
120 | 135 | | |
121 | 136 | | |
122 | 137 | | |
| |||
127 | 142 | | |
128 | 143 | | |
129 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
130 | 149 | | |
| 150 | + | |
131 | 151 | | |
132 | 152 | | |
133 | 153 | | |
| |||
138 | 158 | | |
139 | 159 | | |
140 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
141 | 165 | | |
| 166 | + | |
142 | 167 | | |
143 | 168 | | |
144 | 169 | | |
| |||
149 | 174 | | |
150 | 175 | | |
151 | 176 | | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
152 | 181 | | |
| 182 | + | |
153 | 183 | | |
154 | 184 | | |
155 | 185 | | |
| |||
165 | 195 | | |
166 | 196 | | |
167 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
168 | 202 | | |
| 203 | + | |
169 | 204 | | |
170 | 205 | | |
171 | 206 | | |
| |||
298 | 333 | | |
299 | 334 | | |
300 | 335 | | |
301 | | - | |
| 336 | + | |
302 | 337 | | |
303 | 338 | | |
304 | 339 | | |
| |||
0 commit comments