Peer-to-peer (P2P) peripheral communication control
A host establishes an up-to-date, an automated, secure, and Peer-Two-Peer (PSP) communication session with a peripheral. During the communication session, the host controls serialization, prioritization, and delivery of messages being passed. Each message providing command instructions and/or information for processing between the host and the peripheral.
1. A system, comprising:
a host comprising a host processor and a host non-transitory computer-readable storage medium;
a device comprising a device processor and a device non-transitory computer-readable storage medium;
the host non-transitory computer-readable storage medium comprising host executable instructions;
the device non-transitory computer-readable storage medium comprising device executable instructions;
the host executable instructions when executed by the host processor from the host-non-transitory computer-readable storage medium cause the host processor to perform first operations comprising:
instructing the device to reboot as a peripheral upon detection of the device through a wired connection to the host
establishing a secure communication session with the device as the peripheral; and
controlling the peripheral during the secure communication session through messages passed during the secure communication session; and
the device executable instructions when executed by the device processor from the device non-transitory computer-readable storage medium cause the device processor to perform second operations comprising:
rebooting the device to operate in an accessory mode of operation as the peripheral;
processing some of the messages on the device received from the host during the secure communication session; and
sending other of the messages to the host for further processing by the host or a second peripheral during the secure communication session, wherein the messages are customized for the host using a customized message passing format.
2. The system of claim 1 , wherein the host and the device are both tablet computers.