harlequin-tech / WiFlyHQ

WiFly RN-XV Arduino Library
Other
110 stars 68 forks source link

Wireless Data Rate #4

Closed faritka closed 12 years ago

faritka commented 12 years ago

I think it's important to be able to set the wireless speed. I couldn't find a method to set it easily.

Lowering the speed should improve the signal quality. In most cases, high speeds are not required for our applications.

set wlan rate sets the wireless data rate. Lowering the rate increases the effective range of the WiFly-GSX module.

harlequin-tech commented 12 years ago

Good idea. I've added setRate() and getRate() functions. The valid rates are: 1000000, 2000000, 5500000, 6000000, 9000000, 11000000, 12000000, 18000000, 24000000, 36000000, 48000000, 54000000 bits/sec.

harlequin-tech commented 12 years ago

I'm not sure what you mean. The WiFi connection speed rate is not related to the serial baud rate.

The new setRate() function that lets you specify the WiFi data rate. You may select the following rates:

1000000 - 1 Mbits/sec 2000000 - 2 Mbits/sec 5500000 - 5.5 Mbits/sec 6000000 - 6 Mbits/sec 9000000 - 9 Mbits/sec 11000000 - 11 Mbits/sec 12000000 - 12 Mbits/sec 18000000 - 18 Mbits/sec 24000000 - 24 Mbits/sec 36000000 - 36 Mbits/sec 48000000 - 48 Mbits/sec 54000000 - 54 Mbits/sec

This is not for the serial interface.

On 5/05/2012, at 3:33 PM, faritka wrote:

These are for the baud rate of the serial interface. It should be changed with caution because the baud rate of a WiFly must match the speed of the serial interface.

I would prefer the speed rate of the Wi-Fi connection. The valid values are: 0-12 (1Mb/sec - 54Mb/sec).


Reply to this email directly or view it on GitHub: https://github.com/harlequin-tech/WiFlyHQ/issues/4#issuecomment-5524105