A simulation of an adhoc machine to machine communication protocol using processing/java and built in eclipse