Closed ldoering closed 10 months ago
@ldoering Thanks for the report! We're looking into the issue and will work on a fix shortly. I'll post an update here once I have more info.
@ldoering A fix has been proposed by our team. You can see the PR over here.
I'll close this issue for now as a resolution is in the process of being applied to the CSA public repo already.
Description of the issue
During commissioning the Alexa App is sending a Network Scan Command via BLE. When no Network is in range the vApplicationMallocFailedHook is triggered and the device will freeze. As soon as at least one Network is in Range the problem does not occur.
In network-commissioning.cpp's Instance::OnFinished (Line 545) "scanResponseArray.Alloc" for a count of "0" seems to trigger this.
The Issues does not seem to be triggered by other ecosystems, since they do not use this ScanNetwork function
Steps to reproduce the issue
Device type(s) and network topology
Tested using a EFR32MG24 Device, a Echo Dot Gen 2 and a Android Phone.
Proposed solution(s)
Filter the Case (networks->Count() == 0) in network-commissioning.cpp
SMG version
release_2.0.0-1.1
Protocol(s)
Thread, Bluetooth
Hardware platform(s)
EFR32MG24
Development platform(s)
No response
Captured data or logs
No response