Synchronous RIL proxy
First Claim
1. A method implemented by at least one device for processing of commands in a hardware-independent proxy layer of the at least one device comprising the proxy layer, a hardware-specific driver layer, a client application, and a radio, the method comprising:
- exposing by the proxy layer a set of application program interfaces (APIs) comprising a synchronous first API and a corresponding asynchronous second API,receiving by the proxy layer from the client application a function call of the first API, wherein the first API is associated with a function to be performed by the radio;
waiting by the proxy layer to receive a first result notify event indicating that the function has been performed;
after receiving the first result notify event, passing by the proxy layer to the client application first result data associated with the first result notify event; and
receiving, by the proxy layer, from the client application a function call of the second API, wherein the second API is associated with the function to be performed by the radio.
2 Assignments
0 Petitions
Accused Products
Abstract
A hardware-independent proxy layer for synchronous processing of commands in a mobile telephone is disclosed. Such synchronous processing may include receiving a function call of an application program interface (API) that is associated with a function to be performed by a mobile telephone, waiting to receive from a driver layer a result notify event indicating that the function has been performed, and, after receiving the result notify event from the driver layer, passing to the client first result data associated with the first result notify event. The API may be translated into an input/output control (IOCTL) code, which may be sent to the driver layer.
-
Citations
18 Claims
-
1. A method implemented by at least one device for processing of commands in a hardware-independent proxy layer of the at least one device comprising the proxy layer, a hardware-specific driver layer, a client application, and a radio, the method comprising:
-
exposing by the proxy layer a set of application program interfaces (APIs) comprising a synchronous first API and a corresponding asynchronous second API, receiving by the proxy layer from the client application a function call of the first API, wherein the first API is associated with a function to be performed by the radio; waiting by the proxy layer to receive a first result notify event indicating that the function has been performed; after receiving the first result notify event, passing by the proxy layer to the client application first result data associated with the first result notify event; and receiving, by the proxy layer, from the client application a function call of the second API, wherein the second API is associated with the function to be performed by the radio. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A mobile telephone comprising:
-
a client application; a radio; a hardware-independent proxy layer and a hardware-specific driver layer, wherein; the proxy layer is adapted to process function calls of first synchronous and corresponding second asynchronous application program interfaces (APIs) associated with functions to be performed by the radio; the proxy layer is adapted to receive from the client application a function call of the first application program interface (API), wherein the first API is associated with a function to be performed by the radio, to wait to receive a first result notify event indicating that the function has been performed, and to pass to the client application, after receiving the first result notify event, first result data associated with the first result notify event; the proxy layer is adapted to receive from the client application a function call of the second API, wherein the second API is associated with the function to be performed by the radio. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. At least one computer readable storage medium storing computer executable instructions which, when executed by at least one processor, provide a hardware-independent proxy layer for processing of commands in a mobile telephone, the telephone comprising the proxy layer, a hardware-specific driver layer, a client application, and a radio, the proxy layer comprising:
-
a set of application program interfaces (APIs) comprising a synchronous first API and a corresponding asynchronous second API; a main thread comprising computer executable instructions for receiving from the client application a function call of the first API, wherein the first API is associated with a function to be performed by the radio, waiting to receive a first result notify event indicating that the function has been performed, and, after receiving the first result notify event, passing to the client application first result data associated with the first result notify event; and a notify thread comprising computer executable instructions for receiving from the driver layer a first notify event indicating that the function has been performed and passing the first result notify event to the main thread, wherein; the main thread further comprises computer-executable instructions for receiving from the client application a function call of the second API, wherein the second API is associated with the function to be performed by the radio, and the notify thread further comprises computer-executable instructions for receiving a second notify event from the driver layer that passes to the notify thread second result data associated with the second result notify event, and for conveying the second result data to the client application using a result callback function. - View Dependent Claims (15, 16, 17, 18)
-
Specification