+46 70 6381070 +48 12 6586666 06 225 441 58 +43 2236 318131
  • EVtun
  • Accelev Wi-Fi update to solve Wi-Fi stability with some routers
News

Accelev Wi-Fi update to solve Wi-Fi stability with some routers

2021-01-15 08:58
by V-tech Tuning

You may be interested in some technicalities explaining last Wi-Fi update (to v1.06).
Most of Accelev chargers are correctly connected, some loose connection repeatedly within a short period.
After an investigation, we have found, that at some routers, an vintage (but still dominant) Nagle's algorithm is plagued.
Nagle's algorithm is used to reduce (nowadays slightly) total data transfer, and it is the default for most industrially embedded Wi-Fi modules - also ours. It compacts data to fill a full packet set by MTU at the router but may cause inappropriate behaviour - no proper, and on-time acknowledgement of data.
We have reduced data transfer to be minimal (about 10x lower, than OCPP1.6J/2.01J). Still, for some routers, especially NetGear, but also (less often) Apple and maybe others may cause timeout of transmission, thus - connection lost.
Within v1.06 Wi-Fi update, the primary correction is to switch off a default Nagle's algorithm.
After our tests with few chargers (some distant, like 2000 km) we have found, that this solves strange "connection lost" behaviour and the connection remains perfect.

Link to upgrade Wi-Fi to v1.06:
https://www.dropbox.com/s/1qhczfee060nhm8/WiFiScan.ino.bin?dl=1

Video how to update Wi-Fi (you need the only first part of this video, Wi-Fi update (no need to update firmware, I attach also link to firmware:
https://www.dropbox.com/s/w0usk3huik8hapw/Accelev%20Wi-Fi%20%26%20Firmware%20update.avi?dl=0

Firmware v2.60 if you don't have it only - for 1 and 2 phase chargers (always do this AFTER Wi-Fi update if you update Wi-Fi too):
https://www.dropbox.com/s/kjkxd7ae6ekham4/2_Phase_WiFi_v2.60.dfu?dl=1

For 3-phase chargers -  if you don't have it only - for 1 and 2 phase chargers (always do this AFTER Wi-Fi update if you update Wi-Fi too):
https://www.dropbox.com/s/ax8blorxuk20a1p/evse_3ph_wifibt_v2.60.dfu?dl=1

Go back