The thesis topic is implementing a real-time communication between two devices in an Android application, measuring the attributes of communication, reducing the network malfunctions. The application can communicate with other devices over Bluetooth, Wi-Fi Direct or Wi-Fi.
I have implemented the establishment of connections and I have created a unified interface for managing the different sockets. Thereby the application can manage the transmission and use this interface, so there are no differences between the sockets.
I have implemented a test application. With it I have measured the attributes of connections: the average transmission delay and the effects of packet size on transmission. The clocks of devices should have been synchronized for the measurements. I have used the Precision Time Protocol to achieve that.
I have implemented a demonstration application, which works faultlessly when the delay of packets is average. After a packet with high latency or a lost packet it is able to restore the actual state of the game.