I have strange issues with Raspberry 3B WiFi.
What I see is that connections are lost frequently and they come back if I ping from Raspberry to address I want to connect.
As an example, if my ESP32 is connecting to Raspberry with mosquito mqtt-service once a minute, everything work just fine if I let Raspberry to ping the ESP32, but if I stop the pinging ESP32 at the same time when ESP32 tries to publish data to the mqtt (Raspberry), connection will be lost in a few minutes. There is no way to establish connection from ESP32 (or from any other device, not even VNC, SSH etc) if Raspberry loose connectivity. There is no entries in the syslog and I have added to the rc.local power management setting so that the WiFi adapter shall not save energy. Country for the WiFi is set to FI (Finland).
What I see from the WiFi AP router side is that Raspberry is not connected 802.11n all other devices connected to the AP. For example ESP32 connects with 80211n, but Raspberry never. It is really annoying to build applications connecting to Raspberry, because every class needs to start with connectivity checking.
Kernel is latest: 4.19.118-v7+
iwconfig: wlan0 IEEE 802.11 ESSID:"secret"
Mode:Managed Frequency:2.422 GHz Access Point: 00:00:00:00:00:00
Bit Rate=72.2 Mb/s Tx-Power=31 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=61/70 Signal level=-49 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:4 Invalid misc:0 Missed beacon:0
Raspberry is running influxdb, mqtt-broker and gateway, grafana, polling DHT22-sensor and sending 433MHz remote every now and then. Processor utilization is typically < 1%, memory 218/926 used.
Codes used at the ESP32 side https://github.com/divergentti/kanalana ... ster/esp32 (Finnish comments).
Raspberry was bought as a full starter pack (NOOBS), power supply in the box is 5V / 2.5A.
Are all Raspberries defective so that WiFi is not robust? If it is a WiFi chip issue, should I add WiFi dongle instead? How about warranty?
Thank you in advance for your advices.