OpenBCI / OpenBCI_WIFI

Firmware library that runs on the OpenBCI WiFi Shield
https://shop.openbci.com/collections/frontpage/products/wifi-shield?variant=44534009550
MIT License
33 stars 28 forks source link

Wifi packet loss in certain environments #63

Closed gerrievanzyl closed 6 years ago

gerrievanzyl commented 6 years ago

Problem

When using the new direct wifi connection the system experiences extreme packet loss in some environments (home). However it performs perfectly in other environments. The hardware (OpenBCI and computer) is identical

This seems to indicate that there are other devices that are interfering with the RF connection.

There is about 3-5 seconds of packet loss every 8-10 seconds.

We need to figure out what other devices are causing this interference and whether we can block devices while streaming is in progress..

Next Step

Next step is to do some tests in the poor environment to determine which hardware could be contributing to the problem. More info to follow.......

andrewjaykeller commented 6 years ago

Any testing updates @gerrievanzyl

gerrievanzyl commented 6 years ago

AJ, we did do lots of testing. And could not reproduce our previous issues. It may have been with a specific device on the network.

The new wifi firmware rocks. UDPx3 with 20ms at 1000hz works like a charm.

andrewjaykeller commented 6 years ago

Thank NASA for the UDPx3 idea!! I was working on software defined radio with them for a week and asked how they deal with UDP packet loss and they simply laughed and said send the same packet 3 times! Go figure....

gerrievanzyl commented 6 years ago

Wow, I thought that meant you concatenated three packets into one!

On Thu, Jan 25, 2018 at 6:50 AM, AJ Keller notifications@github.com wrote:

Thank NASA for the UDPx3 idea!! I was working on software defined radio with them for a week and asked how they deal with UDP packet loss and they simply laughed and said send the same packet 3 times! Go figure....

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/OpenBCI/OpenBCI_WIFI/issues/63#issuecomment-360444568, or mute the thread https://github.com/notifications/unsubscribe-auth/AOSh_zzc4LQkHUXpuPEzf5zMT_B0Dohrks5tOGpxgaJpZM4RbI1w .