Adding ESP8266 code; modified for the latest password for LEDE
[iot2.git] / localconfig / iotpolicy / GPSPhoneGateway / gpsphonegateway.pol
1 public interface GPSGateway {
2
3         public void init();
4         public void start();
5         public void stop();
6         public int getRoomID();
7         public boolean getRingStatus();
8         public void setNewRoomIDAvailable(boolean bValue);
9         public void setNewRingStatusAvailable(boolean bValue);
10         public void registerCallback(GPSGatewayCallback _callbackTo);
11
12         capability Initialize {
13                 description = "Initialize object";
14                 method = "init()";
15                 method = "start()";
16                 method = "stop()";
17                 method = "registerCallback(GPSGatewayCallback _callbackTo)";
18         }
19
20         capability GPSUpdate {
21                 description = "Manage GPS data update";
22                 method = "getRoomID()";
23                 method = "getRingStatus()";
24                 method = "setNewRoomIDAvailable(boolean bValue)";
25                 method = "setNewRingStatusAvailable(boolean bValue)";
26         }
27 }
28
29