-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix status response handling in write handler #21440
Fix status response handling in write handler #21440
Conversation
32ec9c5
to
d2518cd
Compare
PR #21440: Size comparison from 561eaea to d2518cd Increases (40 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, p6, telink)
Decreases (6 builds for cc13x2_26x2)
Full report (41 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, p6, telink)
|
d2518cd
to
ad59476
Compare
PR #21440: Size comparison from 90fe78e to ad59476 Increases (40 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, p6, telink)
Decreases (6 builds for cc13x2_26x2)
Full report (41 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, p6, telink)
|
ad59476
to
964f055
Compare
PR #21440: Size comparison from 0ac799e to 964f055 Increases (41 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, p6, telink)
Decreases (6 builds for cc13x2_26x2)
Full report (41 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, p6, telink)
|
@yunhanw-google This is failing the nRF Connect unit tests, with this error:
I am guessing the PacketBuffers there are bigger, and we end up not chunking.... We should probably reserve an amount of space dependent on the packet buffer available space, not a hardcoded 900 bytes. |
This reverts commit 75ffda4.
…chip#21440)" (project-chip#21701)" This reverts commit 5ab5be3.
#21707) * Revert "Revert "Fix status report handling in write handler (#21440)" (#21701)" This reverts commit 5ab5be3. * Fix nrf test in nrf test, somehow CONFIG_BUILD_FOR_HOST_UNIT_TEST is disabled, need to disable this test in nrf tests apply restyle * Update src/app/WriteHandler.cpp Co-authored-by: Boris Zbarsky <[email protected]> Co-authored-by: Boris Zbarsky <[email protected]>
…)" (project-chip#21701) This reverts commit 75ffda4.
…chip#21440)"… (project-chip#21707) * Revert "Revert "Fix status report handling in write handler (project-chip#21440)" (project-chip#21701)" This reverts commit 5ab5be3. * Fix nrf test in nrf test, somehow CONFIG_BUILD_FOR_HOST_UNIT_TEST is disabled, need to disable this test in nrf tests apply restyle * Update src/app/WriteHandler.cpp Co-authored-by: Boris Zbarsky <[email protected]> Co-authored-by: Boris Zbarsky <[email protected]>
Problem
Fix status response handler in ReadHandler
This PR is cut from #19356
Change overview
When receiving unknown message in write handler, write handler would send status response with invalid action.
Testing
Write client sends out the chunked write request and receive response, then inject the unknown report message in write handler side, write handler would send status response with invalid action.