asfak wrote:hello,
is it possible to set the wifi mode b, 1mbps speed ?
Thanks
In theory yes, but I never managed to get it properly working. See SDK documentation.
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.
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