Wi-Fi: Shell Firmware example with nrf7002

Hi There

I have implemented the nrf firmware example "Wi-Fi Shell" on the nrf7002 development kit.
But I noticed a strange behaviour, after a while I cannot ping any server and it disconnects and reconnects from the access point.

It always gives the error reason=4 for the disconnection:
CTRL-EVENT-DISCONNECTED bssid=a4:6c:f1:fd:82:82 reason=4

Now as I understand it, reason 4 means "disconnected due to inactivity".

Is this conclusion correct is there any documentation about the error and how can I fix this problem so that it does not happen again?

Thanks for your Answer

Parents Reply
  • There was a issue where Zephr did not allow for zero payload packages for non IPv4/6 frameshttps://github.com/zephyrproject-rtos/zephyr/pull/54277 So if you don't send any "normal" packages the NWm will try to send keep alive to the access point, and since this was not allowed at the time it would disconnect the device. But then i would expect some error earlier in the log

    There were also an issue at some point where memory allocation could lead to the same disconnect event. So it could be something related to either of them. 

    Edit: with the new update my reply is no longer valid. 

    Would it be possible to get a log from wireshark? If not could you build your application with optimized for debug and run it again and post the log?

    Regards

    Runar

Children
Related