i am using many techniques to keep memory low. For example i am using my own wifi library for 2 reasons:
- i can keep control over wifi init settings, which include static and dynamic buffers
- it is much easier to me to migrate into esp-idf if needed
This is my current wifi setup, which may impact wifi throughput , but is satisfactory for my client needs:
Code: Select all
wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
cfg.static_tx_buf_num = 4;
cfg.dynamic_tx_buf_num = 16;
cfg.tx_buf_type = 1; // 0 - static, 1 - dynamic
cfg.cache_tx_buf_num = 4; // can't be zero!
cfg.static_rx_buf_num = 4;
cfg.dynamic_rx_buf_num = 16;