Method and apparatus interfacing between an application and a library of a master for network managing
First Claim
Patent Images
1. A method in which an application operates in a device for managing a network of remote devices, the method comprising:
- initializing a library in the device in response to a request from the application, wherein the library is for modifying and monitoring or controlling remote devices connected to the network, wherein the modifying comprises at least removing the remote devices or adding new remote devices;
obtaining, from the library in response to a request from the application, a list of the remote devices connected to the network and information related to the remote devices;
registering, at the library in response to a request from the application, an event that is generated by at least one of the remote devices, wherein the registered event corresponds to one of a plurality of event codes;
registering, at the library in response to a request from the application, a first call-back function to handle only one of the plurality of event codes that relates to one of the remote devices and a second call-back function to handle every one of the plurality of event codes that relates to every one of the remote devices; and
calling the registered first or second call-back functions whose routines are included in the application when the registered event is generated.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention relates to method and apparatus for interfacing for controlling a device between various applications operated on a home network and a library to ensure their compatibility. An interfacing method according to the present invention discloses processes to initialize a library being executed in a device for managing a home network, to set a home code for managing a home network exclusively, to manage address of each device on a home network, and to set conditions necessary for device monitoring.
-
Citations
6 Claims
-
1. A method in which an application operates in a device for managing a network of remote devices, the method comprising:
-
initializing a library in the device in response to a request from the application, wherein the library is for modifying and monitoring or controlling remote devices connected to the network, wherein the modifying comprises at least removing the remote devices or adding new remote devices; obtaining, from the library in response to a request from the application, a list of the remote devices connected to the network and information related to the remote devices; registering, at the library in response to a request from the application, an event that is generated by at least one of the remote devices, wherein the registered event corresponds to one of a plurality of event codes; registering, at the library in response to a request from the application, a first call-back function to handle only one of the plurality of event codes that relates to one of the remote devices and a second call-back function to handle every one of the plurality of event codes that relates to every one of the remote devices; and calling the registered first or second call-back functions whose routines are included in the application when the registered event is generated. - View Dependent Claims (2, 3, 4, 5, 6)
-
Specification