【Question】How to improve wifi send data rate?
Posted: Mon Sep 27, 2021 6:30 am
- while(true){
- if(status == WIFI_CONNECTED){
- //the raw buffer len must be <= 1500 Bytes and >= 24 Bytes
- err = esp_wifi_80211_tx(WIFI_IF_AP, ds2ds_pdu, sizeof(ds2ds_pdu), true);
- ESP_LOGE(TAG, "Send wifi data. (%s)", esp_err_to_name(err));
- //sys_delay_ms(1000);
- }
- else{
- sys_delay_ms(5000);
- printf("continue... \n");
- }
- }
Thanks for anyone answer my question!