摘要 |
A mobile device includes a wireless communication function that performs wireless communication. The mobile device retains therein content to be acquired by an information processing apparatus that is connected to the smart phone by the wireless communication and that is targeted for cooperation. Then, when the retained content has been updated, the mobile device searches for the information processing apparatus targeted for the cooperation by booting up the wireless communication function. Thereafter, the mobile device connects, by the wireless communication, to the information processing apparatus that has been searched for and that is targeted for the cooperation. |
主权项 |
1. A non-transitory computer-readable recording medium having stored therein a wireless communication program causing a mobile device retaining content to execute a process comprising:
comparing, at predetermined interval that is determined according to an operating state of the mobile device, after the predetermined time has elapsed since an information processing apparatus targeted for the cooperation has acquired the content, a list of the content that is acquired by the information processing apparatus targeted for the cooperation before the predetermined time with a list of content retained after the predetermined time has elapsed, the content including at least one of a still image, a moving image, a sound or an application; determining whether a difference is present in a comparison result at the comparing; searching for, when the determining determines the difference is present, the information processing apparatus that is not connected to the mobile device in a normal operation and that is targeted for the cooperation, for establishing the wireless communication with the information processing apparatus in an communicate area via wireless communication, by booting up a wireless communication function to perform the wireless communication; and connecting to, by the wireless communication, the information processing apparatus that has been searched for and that is targeted for the cooperation, wherein the connecting includes maintaining the connection of the wireless communication for a predetermined time after the information processing apparatus targeted for the cooperation completes the acquisition of the content, the connecting includes causing the information processing apparatus targeted for the cooperation to acquire the content when the retained content has been updated within the predetermined time, and the connecting includes disconnecting the connection of the wireless communication when the retained content has not been updated within the predetermined time. |