APPLICATION COMMUNICATION WITH EXTERNAL ACCESSORIES
First Claim
1. A method for establishing a communication session between an application executing on a mobile computing device and an accessory in communication with the mobile computing device, the method executing at the mobile computing device, the method comprising:
- receiving a request from the application for information related to the accessory;
providing accessory information to the application, wherein the accessory information comprises an identifier of at least one application communication protocol with which the accessory is compatible;
receiving a request for a communication session between the accessory and the application for communication using the application communication protocol;
receiving a message from the application, wherein the message is formatted according to the application communication protocol;
wrapping the message with an accessory communication protocol wrapper; and
communicating the message to the accessory, wherein the message is communicated according to an accessory communication protocol that is different from the application communication protocol.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present invention provide various communication techniques for communication between a mobile computing device and an accessory. An accessory protocol that is generic to the mobile computing device can be used for some communication. An application executing at the mobile computing device can communicate with the accessory using an application communication protocol. In some embodiments, the application communication protocol can be different from the accessory communication protocol. In other embodiments the application protocol may only be recognized by the application and the accessory. In some embodiments, messages conforming to an application protocol can be communicated between the application and the accessory by packaging the messages inside a message conforming to the accessory communication protocol.
-
Citations
20 Claims
-
1. A method for establishing a communication session between an application executing on a mobile computing device and an accessory in communication with the mobile computing device, the method executing at the mobile computing device, the method comprising:
-
receiving a request from the application for information related to the accessory; providing accessory information to the application, wherein the accessory information comprises an identifier of at least one application communication protocol with which the accessory is compatible; receiving a request for a communication session between the accessory and the application for communication using the application communication protocol; receiving a message from the application, wherein the message is formatted according to the application communication protocol; wrapping the message with an accessory communication protocol wrapper; and communicating the message to the accessory, wherein the message is communicated according to an accessory communication protocol that is different from the application communication protocol. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A mobile computing device, comprising:
-
a housing; a communication interface disposed at least partially within the housing, and configured to exchange commands and data with an accessory using an accessory communication protocol ; memory disposed within the housing; and control logic disposed within the housing, and communicatively coupled with the memory and the communication interface, the control logic being configured to execute an accessory manager as a background process and an application, wherein the control logic executing as an accessory manager is configured to; monitor the communication interface for an accessory being coupled with the communication interface; in the event an accessory becomes coupled with the communication interface, receive accessory capability information including compatible application protocols from the accessory using the accessory communication protocol; receive, from the accessory, application communication protocol formatted messages wrapped with an accessory communication protocol wrapper; remove the accessory communication protocol wrapper from the messages; and communicate messages to the application. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
-
14. A method comprising:
-
monitoring an accessory interface of the mobile computing device for an indication that an accessory has been communicatively coupled with the accessory interface; in the event an accessory is communicatively coupled with the accessory interface, receiving capabilities information from the accessory, wherein the capabilities information is received using an accessory communication protocol, and the capabilities information includes information indicating one or more application communication protocols compatible with the accessory; establishing an input data stream for an application executing at the mobile computing device, wherein an application message received from the accessory wrapped in an accessory communication protocol wrapper is stripped from the accessory communication protocol wrapper and written to the application using the input data stream; and establishing an output data stream for the application, wherein an application message written to the output data stream from the application is wrapped in an accessory communication protocol wrapper and sent to the accessory through accessory interface. - View Dependent Claims (15, 16)
-
-
17. A method executing on a mobile computing device, the method comprising:
-
receiving from an application executing on the mobile computing device a request for a communication session between the mobile computing device and an external accessory using an application protocol; determining whether the application protocol is supported by the accessory; in the event the application protocol is supported by the accessory, providing an input stream and an output stream to the application for communication with the accessory using the application protocol; receiving a message from the application through the output stream wherein the message is formatted according to the application protocol; wrapping the message within an accessory protocol message; and sending the message to the accessory. - View Dependent Claims (18, 19)
-
-
20. A method executing on a mobile computing device, the method comprising:
-
opening a first communication session between a first application and a first accessory, wherein the communication session provides communication between the first application and the first accessory using a first communication protocol; receiving a first message from the first application; sending the first message to the accessory wrapped within an accessory protocol wrapper; opening a second communication session between a second application and the first accessory, wherein the communication session provides communication between the first application and the first accessory using a second communication protocol, wherein the first and second application protocols are different; and receiving a second message from the second application and sending the second message to the accessory wrapped within the accessory protocol wrapper.
-
Specification