摘要 |
In the present invention, a module (10) is a communication device that can perform data communication by connecting to terminals (20, 30) by using short-range wireless communication via preset connection destination addresses. The module (10) includes a switching request receiving unit (13) that receives a switching request instructing switching of a connection, when the module (10) is connected to one terminal (20), to another terminal (30); an address changing unit (14) that changes a connection destination address upon receiving a switching request from the switching request receiving unit (13); a connection severing unit (15) that forcefully severs the connection with the terminal (20) when the connection destination address is changed by the address changing unit (14); and a connection processing execution unit (16) that, after the connection with the terminal (20) has been severed by the connection severing unit (15), receives a connection request from the terminal (30) having the connection destination address changed by the address changing unit (14), and connects the module (10) to the terminal (30). |