Skip to content

A device that can be used to test mobile games/apps by delaying and dropping packets at a set amount/rate

Notifications You must be signed in to change notification settings

Critters/LagBox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

A RaspberryPi-based device to test how your mobile games/app copes with lag and packet loss. The device bridges a WiFi connection with a wired connection and lets the user set the packet delay in ms and the loss as a percentage using a rotary encoder and an OLED display, housed in a 3D-printed enclosure

Setup: Install Adafruit's OLED display lib and dependencies: https://learn.adafruit.com/ssd1306-oled-displays-with-raspberry-pi-and-beaglebone-black/usage

I followed thse guides on how to make a WiFi hotspot: 1) https://howtoraspberrypi.com/create-a-wi-fi-hotspot-in-less-than-10-minutes-with-pi-raspberry/ 2) https://www.raspberrypi.org/forums/viewtopic.php?t=132674

This is where I found out about how to add delay and loss to packets in Linux, the app uses these commands. If you want to skip over using an OLED and encoder and just hook the pi up to a monitor and keyboard you can use them to add the delay/loss using the command prompt: https://stackoverflow.com/questions/614795/simulate-delayed-and-dropped-packets-on-linux

The pinout for the rotary encoder is in the code, the OLED was wired using the instructions on the above Adafruit site

About

A device that can be used to test mobile games/apps by delaying and dropping packets at a set amount/rate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages