ACCESSORY INTERFACE TO PORTABLE MEDIA DEVICE USING SESSIONS
First Claim
1. A computer-readable medium containing program instructions that, when executed by a processor of a mobile computing device, cause the processor to execute a method comprising:
- requesting accessory information from an accessory manager, wherein the accessory manager is a background process executing at the mobile computing device and provides communication connectivity between applications executing at the mobile computing device and an accessory communicatively coupled with the mobile computing device;
in the event an accessory is communicatively coupled with the mobile computing device, receiving from the accessory manager an accessory identifier and one or more protocol identifiers specifying at least one application communication protocol compatible with the accessory;
determining whether the application is compatible with the at least one application protocol;
in the event the application is compatible, opening a session for communication with the accessory through the accessory manager using the application communication protocol; and
communicating with the accessory using 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.
88 Citations
16 Claims
-
1. A computer-readable medium containing program instructions that, when executed by a processor of a mobile computing device, cause the processor to execute a method comprising:
-
requesting accessory information from an accessory manager, wherein the accessory manager is a background process executing at the mobile computing device and provides communication connectivity between applications executing at the mobile computing device and an accessory communicatively coupled with the mobile computing device; in the event an accessory is communicatively coupled with the mobile computing device, receiving from the accessory manager an accessory identifier and one or more protocol identifiers specifying at least one application communication protocol compatible with the accessory; determining whether the application is compatible with the at least one application protocol; in the event the application is compatible, opening a session for communication with the accessory through the accessory manager using the application communication protocol; and communicating with the accessory using the application communication protocol. - View Dependent Claims (2, 3, 4)
-
-
5. A method for an application to establish communication with an accessory using an application manager, the method comprising:
-
receiving an indication from the application manager specifying an application protocol compatible with the accessory; receiving an input stream and an output stream from the application manger for communication with the accessory using the application protocol; and thereafter, writing an application protocol messages for the accessory to the output stream. - View Dependent Claims (6, 7, 8)
-
-
9. A method performed by an application executing on a mobile computing device, the method comprising:
-
requesting accessory information from an application manager, wherein the accessory information includes information indicating one or more application protocols supported by an accessory communicatively coupled with a mobile computing device; determining whether an application protocol supported by the accessory matches an application protocol supported by the application; in the event application protocols match, requesting an input stream and an output stream for communication with the accessory using the application protocol; receiving an input stream and an output stream; and thereafter, writing an application protocol messages for the accessory to the output stream. - View Dependent Claims (10, 11, 12)
-
-
13. A method performed by an application executing on a mobile computing device, the method comprising:
-
accessing a table containing information indicating an application protocol supported by an accessory coupled with the mobile computing device; determining whether an application protocol supported by the application matches the application protocol in the table; in the event application protocols match, opening a communication session for communication with the accessory using the matched application; receiving an input stream and an output stream; and thereafter, writing an application protocol messages for the accessory to the output stream. - View Dependent Claims (14, 15, 16)
-
Specification