Chat freely about anything...

User avatar
By asfak
#50633 I have looked into two SDKs (RTOS and non-OS). Both of them offer same function call to set PHY mode
wifi_set_phy_mode(mode)
PHY_MODE_11B = 1,
PHY_MODE_11G = 2,
PHY_MODE_11N = 3
I can set the PHY to wifi b mode which is 11Mbps. But there is no options to set the PHY to 1Mbps mode.

The reason I want to set 1Mbps mode because This mode has best receiver sensitivity(-97dbm). Also I guess most of the IoT projects do not require higher data rates.
User avatar
By eriksl
#50679 That one works, you could use it.

But the ones under "rate control apis" (page 84 and further) don't work correctly:

wifi_set_user_fixed_rate
wifi_set_user_sup_rate
wifi_set_user_rate_limit
wifi_set_user_limit_rate_maks

What is the distance you need to bridge? I think you'll the range isn't that bad all, even 802.11n might be able to cross it.

There are a few tricks to improve reception:

- use external antenna
- use the latest SDK and make sure the RF storage sector is blanked once
- find the channel that gives least interference
- use low channels, below channel 6 (6 and upwards are interfered by magnetron ovens)
- add small capacitors to TX and RX, they seem to radiate some RF when not connected