From afc50af845da62e86bec2158d4d5c45a411f889a Mon Sep 17 00:00:00 2001 From: Hyunjin Park Date: Mon, 21 Sep 2015 19:11:23 +0900 Subject: [PATCH] [systeminfo][wearable] add ethernet ACR : TWDAPI-31 Change-Id: I39c621f138aa591409c705ad887968f9bc9e0142 Signed-off-by: Hyunjin park --- .../html/device_api/wearable/tizen/systeminfo.html | 131 +++++++++++++++++++-- 1 file changed, 118 insertions(+), 13 deletions(-) diff --git a/org.tizen.web.apireference/html/device_api/wearable/tizen/systeminfo.html b/org.tizen.web.apireference/html/device_api/wearable/tizen/systeminfo.html index e94f9fc..c7bbb11 100644 --- a/org.tizen.web.apireference/html/device_api/wearable/tizen/systeminfo.html +++ b/org.tizen.web.apireference/html/device_api/wearable/tizen/systeminfo.html @@ -39,6 +39,8 @@ NETWORK
  • WIFI_NETWORK
  • +ETHERNET_NETWORK (Since: 2.4)
  • +
  • CELLULAR_NETWORK
  • SIM
  • @@ -122,13 +124,15 @@ For more information on the SystemInfo features, see SystemInfoWifiNetwork -
  • 2.18. SystemInfoCellularNetwork +
  • 2.18. SystemInfoEthernetNetwork +
  • +
  • 2.19. SystemInfoCellularNetwork
  • -
  • 2.19. SystemInfoSIM +
  • 2.20. SystemInfoSIM
  • -
  • 2.20. SystemInfoPeripheral +
  • 2.21. SystemInfoPeripheral
  • -
  • 2.21. SystemInfoMemory +
  • 2.22. SystemInfoMemory
  • @@ -223,6 +227,10 @@ For more information on the SystemInfo features, see SystemInfoEthernetNetwork + + + SystemInfoCellularNetwork @@ -247,7 +255,7 @@ For more information on the SystemInfo features, see The device property identifier. -
      enum SystemInfoPropertyId { "BATTERY", "CPU", "STORAGE", "DISPLAY", "DEVICE_ORIENTATION", "BUILD", "LOCALE", "NETWORK", "WIFI_NETWORK", "CELLULAR_NETWORK", "SIM", "PERIPHERAL", "MEMORY" };
    +
      enum SystemInfoPropertyId { "BATTERY" , "CPU", "STORAGE", "DISPLAY", "DEVICE_ORIENTATION", "BUILD", "LOCALE", "NETWORK", "WIFI_NETWORK", "ETHERNET_NETWORK", "CELLULAR_NETWORK", "SIM", "PERIPHERAL", "MEMORY" };

    Since: 2.0 @@ -258,6 +266,9 @@ For more information on the SystemInfo features, see Remark : MEMORY is supported since Tizen 2.3

    +

    Remark : + ETHERNET_NETWORK is supported since Tizen 2.4 +

    1.2. SystemInfoNetworkType

    @@ -2675,8 +2686,90 @@ It is written in MM:MM:MM:SS:SS:SS format.
    +
    +

    2.18. SystemInfoEthernetNetwork

    +
    + This property reflects the information of the Ethernet network in this system. +
    +
       [NoInterfaceObject] interface SystemInfoEthernetNetwork : SystemInfoProperty {
    +    readonly attribute DOMString cable;
    +
    +    readonly attribute DOMString status;
    +
    +    readonly attribute DOMString ipAddress;
    +
    +    readonly attribute DOMString ipv6Address;
    +
    +    readonly attribute DOMString macAddress;
    +  };
    +

    + Since: + 2.4 +

    + +
    +

    Attributes

    +
      +
    • + readonly +DOMString cable
      + Represents the cable status (ATTACHED or DETACHED) of the ethernet interface. +
      +

      + Since: + 2.4 +

      +
    • +
    • + readonly +DOMString status
      + Represents the status (DEACTIVATED, DISCONNECTED or CONNECTED) of the ethernet interface. +
      +

      + Since: + 2.4 +

      +
    • +
    • + readonly +DOMString ipAddress
      + Represents the IPv4 address of the ethernet network. +
      +

      + Since: + 2.4 +

      +
    • +
    • + readonly +DOMString ipv6Address
      + Represents the IPv6 address of the ethernet network. +
      +

      + Since: + 2.4 +

      +
    • +
    • + readonly +DOMString macAddress
      + Represents the MAC address of the ethernet interface. +
      +
      +

      +It is written in MM:MM:MM:SS:SS:SS format. +

      +
      +

      + Since: + 2.4 +

      +
    • +
    +
    +
    -

    2.18. SystemInfoCellularNetwork

    +

    2.19. SystemInfoCellularNetwork

    This property reflects the information of the Cellular network in this system.
    @@ -2830,7 +2923,7 @@ identify a mobile phone operator/carrier using the GSM, CDMA, iDEN, TETRA and UM Privilege: http://tizen.org/privilege/telephony

    -

    Remark : +

    Warning: http://tizen.org/privilege/systemmanager (partner level) has been deprecated since 2.3.1. Instead, use http://tizen.org/privilege/telephony.

    @@ -2845,7 +2938,7 @@ identify a mobile phone operator/carrier using the GSM, CDMA, iDEN, TETRA and UM
    -

    2.19. SystemInfoSIM

    +

    2.20. SystemInfoSIM

    This property reflects the information of the SIM card information.
    @@ -2941,7 +3034,7 @@ identify a mobile phone operator/carrier using the GSM, CDMA, iDEN, TETRA and UM Privilege: http://tizen.org/privilege/telephony

    -

    Remark : +

    Warning: http://tizen.org/privilege/systemmanager (partner level) has been deprecated since 2.3.1. Instead, use http://tizen.org/privilege/telephony.

    @@ -3044,7 +3137,7 @@ identify a mobile phone operator/carrier using the GSM, CDMA, iDEN, TETRA and UM Privilege: http://tizen.org/privilege/telephony

    -

    Remark : +

    Warning: http://tizen.org/privilege/systemmanager (partner level) has been deprecated since 2.3.1. Instead, use http://tizen.org/privilege/telephony.

    @@ -3084,7 +3177,7 @@ identify a mobile phone operator/carrier using the GSM, CDMA, iDEN, TETRA and UM
    -

    2.20. SystemInfoPeripheral

    +

    2.21. SystemInfoPeripheral

    This property reflects the peripheral information of the current device.
    @@ -3111,7 +3204,7 @@ identify a mobile phone operator/carrier using the GSM, CDMA, iDEN, TETRA and UM
    -

    2.21. SystemInfoMemory

    +

    2.22. SystemInfoMemory

    This property represents information about the memory state on the device system.
    @@ -3164,7 +3257,7 @@ To guarantee the running of this application on a device which supports telephon

    4. Full WebIDL

    module SystemInfo {
     
    -  enum SystemInfoPropertyId { "BATTERY", "CPU", "STORAGE", "DISPLAY", "DEVICE_ORIENTATION", "BUILD", "LOCALE", "NETWORK", "WIFI_NETWORK", "CELLULAR_NETWORK", "SIM", "PERIPHERAL", "MEMORY" };
    +  enum SystemInfoPropertyId { "BATTERY" , "CPU", "STORAGE", "DISPLAY", "DEVICE_ORIENTATION", "BUILD", "LOCALE", "NETWORK", "WIFI_NETWORK", "ETHERNET_NETWORK", "CELLULAR_NETWORK", "SIM", "PERIPHERAL", "MEMORY" };
     
       enum SystemInfoNetworkType { "NONE", "2G", "2.5G", "3G", "4G", "WIFI", "ETHERNET", "UNKNOWN" };
     
    @@ -3450,6 +3543,18 @@ To guarantee the running of this application on a device which supports telephon
         readonly attribute double signalStrength;
       };
     
    +   [NoInterfaceObject] interface SystemInfoEthernetNetwork : SystemInfoProperty {
    +    readonly attribute DOMString cable;
    +
    +    readonly attribute DOMString status;
    +
    +    readonly attribute DOMString ipAddress;
    +
    +    readonly attribute DOMString ipv6Address;
    +
    +    readonly attribute DOMString macAddress;
    +  };
    +
       [NoInterfaceObject] interface SystemInfoCellularNetwork : SystemInfoProperty {
     
         readonly attribute DOMString status;
    -- 
    2.7.4