Java Application for Serial Communication and Local Network Connections