Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
電源状態 | powerstatus | string | Yes | ON:電源オン OFF:電源オフ UNKNOWN:不明 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "powerstatus" : "OFF" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
風量設定値 | airflow | float | Yes | 0.0〜1.0 |
風量自動モード設定 | airflowauto | boolean | No | true:自動モード有効 false:自動モード無効 ※(注1) 風量自動モード設定をtrue設定した時のみ省略可。 ※(注2) 省略時及びfalse設定時は、「風量設定値」が反映される。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "airflowauto" : "true", "airflow" : "0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
airflow | float | No | 風量設定値。 0.0〜1.0 |
airflowauto | boolean | No | 風量自動モード設定。true : 自動モード有効 false : 自動モード無効 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
epc | array(string) | Yes | 取得プロパティのEPC。取得するプロパティのEPCをカンマ区切りで列挙。10進または16進(0xXX)の値 |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
EPCのリスト | properties | array(object) | Yes | 指定されたEPCの配列。 | |
EPC | epc | string | Yes | ECHONET Property Code | |
設定値 | value | string | Yes | ECHONET Property Codeの設定値。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "properties" : [ { "epc" : "OperationStatus", "value" : "49" }, { "epc" : "InstallationLocation", "value" : "0" } ] }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
epc | string | Yes | EPC。 ECHONET Property Code |
value | string | Yes | EPCの設定値。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "epc" : "OperationStatus", "value" : "49" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
運転モード設定 | modesetting | string | Yes | Automatic:自動 Cooling:冷房 Heating:暖房 Dehumidification:除湿 AirCirculator:送風 Other:その他 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "modesetting" : "Automatic" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
modesetting | string | Yes | 運転モード設定。 Automatic:自動 Cooling:冷房 Heating:暖房 Dehumidification:除湿 AirCirculator:送風 Other:その他 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
節電動作設定 | powersaving | string | Yes | PowerSaving:節電動作中 Normal:通常動作中 Unknown:不明 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "powersaving" : "Normal" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
powersaving | string | Yes | 節電動作設定。 PowerSaving:節電動作中 Normal:通常動作中 Unknown:不明 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
室内温度計測値 | roomtemperature | integer | Yes | -127〜125 (℃) |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "roomtemperature" : "25" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
温度設定値 | temperature | integer | Yes | 0〜50 (℃) |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "temperature" : "20" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
temperature | integer | Yes | 温度設定値。 0〜50 (℃) |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
気圧 | atmosphericPressure | float | Yes | 気圧 単位: ヘクトパスカル(hPa) |
気圧のタイムスタンプ | timeStamp | long | No | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 |
気圧のタイムスタンプ文字列 | timeStampString | dateTime | No | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "atmosphericPressure" : 1016.12, "timeStamp" : 1431856940275, "timeStampString" : "2015-05-17T10:02:20+09:00" }
Name | Type | Required | Description |
---|---|---|---|
clientId | string | Yes | クライアントID。Authorization Create Client APIで取得したclientIdを使用する。 |
applicationName | string | Yes | アプリケーション名。承認確認画面に表示するアプリケーション名を指定する。 例:「Twitterイベントプラグイン」と指定した場合は、「TwitterイベントプラグインがdConnectにアクセスする許可をしますか?」と確認メッセージが表示される。 |
scope | array(string) | Yes | スコープ。使用するプロファイルの一覧をカンマ区切りで定義する。 例)file,notification,vibration |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
アクセストークン | accessToken | string | Yes | 各プロファイルにアクセスする場合に必要になる。 | |
失効日時 | expire | float | Yes | スコープ毎のアクセストークンの失効時刻のうち、直近の時刻(UNIX時間)。 | |
スコープ配列 | scopes | array(object) | Yes | スコープの有効期限一覧を格納する配列。 | |
スコープ | scope | string | Yes | スコープのプロファイル名。 | |
スコープの有効期限 | expirePeriod | float | Yes | アクセストークンの有効期限。スコープ毎に設定されている。 アクセストークンが作成されてから使用できる間の時間(秒)を返す。 この時間を過ぎるとアクセストークンが使用できなくなる。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "accessToken" : "0a93ac0aade4e046ed63eb24d1172f5f35c88ca60daa901547c28d5827cb418a5de1d7c5f9e62405", "scopes" : [ { "scope" : "file", "expirePeriod" : 15552000 }, { "scope" : "creditcard", "expirePeriod" : 0 } ], "expire" : 1431856940275 }
Name | Type | Required | Description |
---|
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
クライアントID | clientId | string | Yes | クライアントを識別するためのID。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "clientId" : "d94da8f1-3826-4ed5-a729-2d9499e842c9" }
Name | Type | Required | Description |
---|
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
Managerの名前 | name | string | No | Managerの設定画面の「Managerの名前を表示」をONにすることで追加される。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "name" : "Manager-xxxx" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
充電状態フラグ | charging | boolean | Yes | 充電中:true 非充電中:false |
完全充電までの時間 (秒) | chargingTime | long | No | 満充電、または非充電中の場合は0。 システムとして取得出来ない場合はNumber.MAX_VALUE。 |
完全放電までの時間 (秒) | dischargingTime | long | No | 充電中、またはシステムとして取得出来ない場合はNumber.MAX_VALUE |
バッテリー残量 | level | float | No | 範囲: 0.0 <= level <= 1.0 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "charging" : true, "chargingTime" : 10, "dischargingTime" : 0, "level" : 0.8 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
充電状態フラグ | charging | boolean | Yes | 充電中:true 非充電中:false |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "charging" : true }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
完全充電までの時間 (秒) | chargingTime | long | Yes | 満充電、または非充電中の場合は0。システムとして取得出来ない場合はNumber.MAX_VALUE。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "chargingTime" : 10 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
完全放電までの時間 (秒) | dischargingTime | long | Yes | 充電中、またはシステムとして取得出来ない場合はNumber.MAX_VALUE。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "dischargingTime" : 0 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
バッテリー残量 | level | float | Yes | 範囲: 0.0 <= level <= 1.0 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "level" : 0.8 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
バッテリー情報 | battery | object | Yes | ||
完全充電までの時間 (秒) | chargingTime | long | Yes | 満充電、または非充電中の場合は0。 システムとして取得出来ない場合はNumber.MAX_VALUE。 | |
完全放電までの時間 (秒) | dischargingTime | long | Yes | 充電中、またはシステムとして取得出来ない場合はNumber.MAX_VALUE。 | |
バッテリー残量 | level | float | Yes | 範囲: 0.0 <= level <= 1.0 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "battery" : { "chargingTime" : 10, "dischargingTime" : 0, "level" : 0.8 } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | イベント受信間隔。単位:mSec |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
バッテリー情報 | battery | object | Yes | ||
完全充電までの時間 (秒) | chargingTime | long | Yes | 満充電、または非充電中の場合は0。 システムとして取得出来ない場合はNumber.MAX_VALUE。 | |
完全放電までの時間 (秒) | dischargingTime | long | Yes | 充電中、またはシステムとして取得出来ない場合はNumber.MAX_VALUE。 | |
バッテリー残量 | level | float | Yes | 範囲: 0.0 <= level <= 1.0 |
{ "serviceId" : "example-service-id", "profile" : "battery", "attribute" : "onBatteryChange", "battery" : { "chargingTime" : 10, "dischargingTime" : 0, "level" : 0.8 } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
バッテリー情報 | battery | object | Yes | ||
充電状態フラグ | charging | boolean | Yes | 充電中:true 非充電中:false |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "battery" : { "charging" : true } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | イベント受信間隔。単位:mSec |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
バッテリー情報 | battery | object | Yes | ||
充電状態フラグ | charging | boolean | Yes | 充電中:true 非充電中:false |
{ "serviceId" : "example-service-id", "profile" : "battery", "attribute" : "onChargingChange", "battery" : { "charging" : true } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
カメラの倍率 | zoomPosition | float | Yes | カメラの倍率(%) 例) QX-10の場合 0(%):拡大なし 50(%):倍率5倍での拡大 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "zoomPosition" : 0 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
direction | string | Yes | 方向。ズームの方向 in out |
movement | string | Yes | 動作。ズームの動作 in-startで開始して in-stopで終了。 1shotは開始してから所定位置まで動作する。 maxはin-startと同じ動作を行う。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mimeType | string | No | MIMEタイプ。表示する画像のMimeType。 |
data | file | No | ファイルのbinary。表示する画像ファイルのbinary。uriと同時に省略することはできない。両方指定した場合の挙動は未定義。 |
uri | string | No | ファイルのURI。表示する画像ファイルのURI。dataと同時に省略することはできない。両方指定した場合の挙動は未定義。 |
x | integer | No | デバイスが持つ空間の左上を原点としたx座標。0~デバイスの空間領域。等倍描画モードの場合のみ有効。 |
y | integer | No | デバイスが持つ空間の左上を原点としたy座標。0~デバイスの空間領域。等倍描画モードの場合のみ有効。 |
mode | string | No | 画像描画モード。(省略時):等倍描画モード。座標(x, y)に画像の左上隅がくるように描画する。 scales:スケールモード。アスペクト比を保持して最大限に拡大して画面中央に描画する。x, y座標は無効。 fills:フィルモード。等倍の画像を並べて画面全体に敷き詰めるように描画する。x, y座標は無効。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
BLE有効状態 | enable | boolean | Yes | BLE機能有効状態。 ON : true OFF : false |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "enable" : true }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
Bluetooth機能有効状態 | enable | boolean | Yes | Bluetooth機能有効状態。 ON : true OFF : false |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "enable" : true }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
NFC機能有効状態 | enable | boolean | Yes | NFC機能有効状態。 ON : true OFF : false |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "enable" : true }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
接続情報 | connectStatus | object | Yes | ||
BLE機能有効状態 | enable | boolean | Yes | BLE機能有効状態 ON: true OFF: false |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "connectStatus" : { "enable" : true } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
接続情報 | connectStatus | object | Yes | ||
BLE機能有効状態 | enable | boolean | Yes | BLE機能有効状態 ON: true OFF: false |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "connect", "attribute" : "onblechange", "connectStatus" : { "enable" : true } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
接続情報 | connectStatus | object | Yes | ||
Bluetooth機能有効状態 | enable | boolean | Yes | Bluetooth機能有効状態 ON: true OFF: false |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "connectStatus" : { "enable" : true } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
接続情報 | connectStatus | object | Yes | ||
Bluetooth機能有効状態 | enable | boolean | Yes | Bluetooth機能有効状態 ON: true OFF: false |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "connect", "attribute" : "onbluetoothchange", "connectStatus" : { "enable" : true } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
接続情報 | connectStatus | object | Yes | ||
NFC機能有効状態 | enable | boolean | Yes | NFC機能有効状態 ON: true OFF: false |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "connectStatus" : { "enable" : true } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
接続情報 | connectStatus | object | Yes | ||
NFC機能有効状態 | enable | boolean | Yes | NFC機能有効状態 ON: true OFF: false |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "connect", "attribute" : "onnfcchange", "connectStatus" : { "enable" : true } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
接続情報 | connectStatus | object | Yes | ||
WIFI機能有効状態 | enable | boolean | Yes | WIFI機能有効状態 ON: true OFF: false |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "connectStatus" : { "enable" : true } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
接続情報 | connectStatus | object | Yes | ||
WIFI機能有効状態 | enable | boolean | Yes | WIFI機能有効状態 ON: true OFF: false |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "connect", "attribute" : "onwifichange", "connectStatus" : { "enable" : true } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
WIFI機能有効状態 | enable | boolean | Yes | WIFI機能有効状態。 ON : true OFF : false |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "enable" : true }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 ペアリング対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 ペアリング解除対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | ||
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | ||
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | ||
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | ||
デバイスの向き | orientation | object | Yes | |||
インターバル | interval | long | Yes | インターバル (単位: ミリ秒) | ||
加速度 | acceleration | object | No | 加速度のオブジェクト。 | ||
x軸成分 | x | float | Yes | x軸方向への加速度(m/s2)。 | ||
y軸成分 | y | float | Yes | y軸方向への加速度(m/s2)。 | ||
z軸成分 | z | float | Yes | z軸方向への加速度(m/s2)。 | ||
重力込みの加速度 | accelerationIncludingGravity | object | No | 重力込みの加速度のオブジェクト。 | ||
x軸成分 | x | float | Yes | x軸方向への重力込みの加速度(m/s2)。 | ||
y軸成分 | y | float | Yes | y軸方向への重力込みの加速度(m/s2)。 | ||
z軸成分 | z | float | Yes | z軸方向への重力込みの加速度(m/s2)。 | ||
角速度 | rotationRate | object | No | 角速度のオブジェクト。 | ||
z軸回り成分 | alpha | float | Yes | z軸回りの角速度(degree/s)。 | ||
x軸回り成分 | beta | float | Yes | x軸回りの角速度(degree/s)。 | ||
y軸回り成分 | gamma | float | Yes | y軸回りの角速度(degree/s)。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "orientation" : { "acceleration" : { "x" : 0.12345678901234566, "y" : 0.9876543210987654, "z" : 0.24680135792468014 }, "rotationRate" : { "alpha" : -0.24680135792468014, "beta" : 0.12345678901234566, "gamma" : -0.9876543210987654 }, "accelerationIncludingGravity" : { "x" : 0.24680135792468014, "y" : 0.12345678901234566, "z" : 9.87654321098 }, "interval" : 0 } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | ||
プロファイル名 | profile | string | Yes | プロファイル名。 | ||
インターフェース名 | interface | string | Yes | インターフェース名。 | ||
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | ||
デバイスの向き | orientation | object | Yes | |||
インターバル | interval | long | Yes | インターバル (単位: ミリ秒) | ||
加速度 | acceleration | object | No | 加速度のオブジェクト。 | ||
x軸成分 | x | float | Yes | x軸方向への加速度(m/s2)。 | ||
y軸成分 | y | float | Yes | y軸方向への加速度(m/s2)。 | ||
z軸成分 | z | float | Yes | z軸方向への加速度(m/s2)。 | ||
重力込みの加速度 | accelerationIncludingGravity | object | No | 重力込みの加速度のオブジェクト。 | ||
x軸成分 | x | float | Yes | x軸方向への重力込みの加速度(m/s2)。 | ||
y軸成分 | y | float | Yes | y軸方向への重力込みの加速度(m/s2)。 | ||
z軸成分 | z | float | Yes | z軸方向への重力込みの加速度(m/s2)。 | ||
角速度 | rotationRate | object | No | 角速度のオブジェクト。 | ||
z軸回り成分 | alpha | float | Yes | z軸回りの角速度(degree/s)。 | ||
x軸回り成分 | beta | float | Yes | x軸回りの角速度(degree/s)。 | ||
y軸回り成分 | gamma | float | Yes | y軸回りの角速度(degree/s)。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "deviceorientation", "attribute" : "ondeviceorientation", "orientation" : { "acceleration" : { "x" : 0.12345678901234566, "y" : 0.9876543210987654, "z" : 0.24680135792468014 }, "rotationRate" : { "alpha" : -0.24680135792468014, "beta" : 0.12345678901234566, "gamma" : -0.9876543210987654 }, "accelerationIncludingGravity" : { "x" : 0.24680135792468014, "y" : 0.12345678901234566, "z" : 9.87654321098 }, "interval" : 100 } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
angle | float | Yes | 角度。デバイスの方向 (degree) 0~360 |
speed | float | Yes | 速度。デバイスの動く速度 0.0~1.0 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
angle | float | Yes | 角度。デバイスの方向 (degree) 0~360 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
ECG | ecg | object | Yes | ECGのオブジェクト。 | |
ECG | value | integer | Yes | ターゲットデバイスで測定した心拍数を返す。 | |
ECGのMDER Float値 | mderFloat | string | Yes | ターゲットデバイスによって測定された心拍数を、16進数のMDER Float値で表している。取得できない場合は-1の16進数文字列を返す。 | |
ECGのタイプ | type | string | Yes | この値が「ecg beat」であることを表す文字列を返す。取得できない場合は、空文字を返す。 | |
ECGのオブジェクトのタイプのコード | typeCode | string | Yes | 「663568」という「ecg beat」を意味するコードを返す。取得できない場合は、空文字を返す。 | |
ECGの単位 | unit | string | Yes | 「mVolt * miliSecond」のように人間がわかるように単位を返す。取得できない場合は、空文字を返す。 | |
ECGの単位コード | unitCode | string | Yes | 「3328」という「mVolt * miliSecond」を意味するコードを返す。取得できない場合は、空文字を返す。 | |
ECGのタイムスタンプ | timeStamp | long | Yes | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 | |
ECGのタイムスタンプ文字列 | timeStampString | dateTime | Yes | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "ecg" : { "value" : -172.40676879882812, "mderFloat" : "F68ED1CC", "type" : "ecg beat", "typeCode" : 663568, "unit" : "mVolt * milliSecond", "unitCode" : 3328, "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
ECG | ecg | object | Yes | ECGのオブジェクト。 | |
ECG | value | integer | Yes | ターゲットデバイスで測定した心拍数を返す。 | |
ECGのMDER Float値 | mderFloat | string | Yes | ターゲットデバイスによって測定された心拍数を、16進数のMDER Float値で表している。取得できない場合は-1の16進数文字列を返す。 | |
ECGのタイプ | type | string | Yes | この値が「ecg beat」であることを表す文字列を返す。取得できない場合は、空文字を返す。 | |
ECGのオブジェクトのタイプのコード | typeCode | string | Yes | 「663568」という「ecg beat」を意味するコードを返す。取得できない場合は、空文字を返す。 | |
ECGの単位 | unit | string | Yes | 「mVolt * miliSecond」のように人間がわかるように単位を返す。取得できない場合は、空文字を返す。 | |
ECGの単位コード | unitCode | string | Yes | 「3328」という「mVolt * miliSecond」を意味するコードを返す。取得できない場合は、空文字を返す。 | |
ECGのタイムスタンプ | timeStamp | long | Yes | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 | |
ECGのタイムスタンプ文字列 | timeStampString | dateTime | Yes | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "ecg", "attribute" : "onecg", "ecg" : { "value" : -172.40676879882812, "mderFloat" : "F68ED1CC", "type" : "ecg beat", "typeCode" : 663568, "unit" : "mVolt * milliSecond", "unitCode" : 3328, "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
epc | array(string) | Yes | 取得プロパティのEPC。取得するプロパティのEPCをカンマ区切りで列挙。10進または16進(0xXX)の値 |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
EPCのリスト | properties | array(object) | Yes | 指定されたEPCの配列。 | |
EPC | epc | string | Yes | ECHONET Property Code | |
設定値 | value | string | Yes | ECHONET Property Codeの設定値。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "properties" : [ { "epc" : "OperationStatus", "value" : "49" }, { "epc" : "InstallationLocation", "value" : "0" } ] }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
epc | string | Yes | EPC。 ECHONET Property Code |
value | string | Yes | EPCの設定値。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "epc" : "OperationStatus", "value" : "49" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
path | string | Yes | ファイルパス。ファイル名とパス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
MimeType | mimeType | string | Yes | URIデータのMimeType |
URI | uri | string | Yes | ContentProviderのURI このURIからデータを読み込む |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "mimeType" : "image/png", "uri" : "http://localhost:4035/gotapi/files?uri=content%3A%2F%2FTest.png" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
path | string | Yes | ファイルパス。ファイル名とパス |
mimeType | string | No | MimeType。送信するファイルのMimeType |
uri | string | No | URI。このURIに送信するデータを格納する。dataと同時に省略することはできない。両方指定した場合はdataが優先され、uriは無視される。 |
data | file | No | ファイルのbinary。送信するファイルのbinary。uriと同時に省略することはできない。両方指定した場合はdataが優先され、uriは無視される。 |
forceOverwrite | boolean | No | 上書きフラグ。 true : 既にpath名と同じファイルがある場合は上書きされる。 false : 既にpath名と同じファイルがある場合は上書きされない。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
oldPath | string | Yes | 移動前のファイル名を含んだファイルパス。ファイル名を含む。 |
newPath | string | Yes | 移動先のファイル名を含んだファイルパス。ファイル名を含まなくても良い。 |
forceOverwrite | boolean | No | 上書きフラグ。 true : 既にpath名と同じファイルがある場合は上書きされる。 false : 既にpath名と同じファイルがある場合は上書きされない。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
path | string | Yes | ファイルパス。ファイル名とパス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
path | string | No | パス。検索対象のディレクトリ。省略されたらそのデバイスプラグインのアプリがもつディレクトリのルートディレクトリを指定する。 例)/files/test/ |
mimeType | string | No | MimeType。情報を取得するファイルの種別ごとに区切りたい場合は、mimeTypeを指定する 例)image/png |
order | array(string) | No | 取得ファイルの並び順。取得する一覧のエントリの並び順。昇順はascで、降順はdescを後ろに指定する。並び順として選択する行をカンマ区切りでレスポンスの物理名を選択する。例)updateDate,asc |
offset | integer | No | 取得件数の始まり。取得できるファイル数が多いときに、表示開始位置を指定できる。例)4 |
limit | integer | No | 取得件数の制限。取得できるファイル数を制限するときに、その件数を指定できる。例)30 |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
検索結果数 | count | integer | Yes | 検索結果のファイル数 | |
検索にヒットしたファイルの情報リスト | file | array(object) | Yes | 検索にヒットしたファイルの情報を持つオブジェクト(object)の配列。 | |
ファイルパス | path | string | Yes | ファイル名を含めたファイルの存在するパス。 | |
MimeType | mimeType | string | Yes | fileのエンコードするタイプ。 | |
ファイルの種別 | fileType | string | Yes | 0: ファイル 1: ディレクトリ | |
ファイルの名前 | fileName | string | Yes | ||
更新時間 | updateDate | dateTime | Yes | RFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 | |
ファイルサイズ | fileSize | integer | Yes | 単位はbyte。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "count" : 2, "file" : [ { "path" : "/test/file1.txt", "fileName" : "file1.txt", "mimeType" : "text/plain", "updateDate" : "2015-05-17T10:02:20+09:00", "fileSize" : 123, "fileType" : 0 } ] }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
path | string | Yes | パス。作成するディレクトリのパス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
oldPath | string | Yes | 移動前のディレクトリパス。ファイル名を含まない |
newPath | string | Yes | 移動先のディレクトリパス。ファイル名を含まない |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
path | string | Yes | パス。削除するディレクトリのパス |
forceRemove | boolean | No | 強制削除フラグ。trueが指定された場合には、空ではないディレクトリも削除する。falseが指定された場合には、空でないディレクトリは削除できない。省略された場合には、falseと同じ動作となる。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
path | string | No | パス。検索対象のディレクトリ。省略されたらそのデバイスプラグインのアプリがもつディレクトリのルートディレクトリを指定する。 例)/files/test/ |
mimeType | string | No | MimeType。情報を取得するファイルの種別ごとに区切りたい場合は、mimeTypeを指定する 例)image/png |
order | array(string) | No | 取得ファイルの並び順。取得する一覧のエントリの並び順。昇順はascで、降順はdescを後ろに指定する。並び順として選択する行をカンマ区切りでレスポンスの物理名を選択する。例)updateDate,asc |
offset | integer | No | 取得件数の始まり。取得できるファイル数が多いときに、表示開始位置を指定できる。例)4 |
limit | integer | No | 取得件数の制限。取得できるファイル数を制限するときに、その件数を指定できる。例)30 |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
検索結果数 | count | integer | Yes | 検索結果のファイル数 | |
検索にヒットしたファイルの情報リスト | file | array(object) | Yes | 検索にヒットしたファイルの情報を持つオブジェクト(object)の配列。 | |
ファイルパス | path | string | Yes | ファイル名を含めたファイルの存在するパス。 | |
MimeType | mimeType | string | Yes | fileのエンコードするタイプ。 | |
ファイルの種別 | fileType | string | Yes | 0: ファイル 1: ディレクトリ | |
ファイルの名前 | fileName | string | Yes | ||
更新時間 | updateDate | dateTime | Yes | RFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 | |
ファイルサイズ | fileSize | integer | Yes | 単位はbyte。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "count" : 2, "file" : [ { "path" : "/test/file1.txt", "fileName" : "file1.txt", "mimeType" : "text/plain", "updateDate" : "2015-05-17T10:02:20+09:00", "fileSize" : 123, "fileType" : 0 } ] }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
path | string | Yes | ファイルパス。ファイルが存在するパス。ルートはデバイスプラグインごとに異なる。ディレクトリを指定した場合はエラーを返す。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "file" : { "path" : "Test1.png", "curr" : "2017-01-01T12:34:56+0900", "prev" : "2017-01-01T01:23:45+0900" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID |
プロファイル名 | profile | string | Yes | プロファイル名。 |
インターフェース名 | interface | string | Yes | インターフェース名。 |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "filedescriptor", "attribute" : "onwatchfile", "file" : { "path" : "/dir/file1.txt", "curr" : "2014-05-02 T10:32:10+0900", "prev" : "2014-05-01 T10:32:10+0900" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
path | string | Yes | ファイルパス。ファイルが存在するパス。ルートはデバイスプラグインごとに異なる。ディレクトリを指定した場合はエラーを返す。 |
flag | string | Yes | フラグ。r : 読み込みのみ rw : 読み込み&書き込み |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
path | string | Yes | ファイルパス。ファイルが存在するパス。ルートはデバイスプラグインごとに異なる。ディレクトリを指定した場合はエラーを返す。 |
length | long | Yes | 読み込みサイズ。一度の読み込みで取得する最大サイズ。length > 0 |
position | long | No | 読み込み開始位置。読み込みファイルの開始位置を指定する。省略された場合には、現在ファイルが読み込んでいる位置から読み込む。position >= 0 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
データサイズ | size | integer | Yes | 読み込んだデータのサイズ |
データ | fileData | string | Yes | 読み込んだデータをdata URI schemeの形式で設定する |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "size" : 100, "fileData" : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
path | string | Yes | ファイルパス。ファイルが存在するパス。ルートはデバイスプラグインごとに異なる。ディレクトリを指定した場合はエラーを返す。 |
uri | string | No | URI。dataと同時に省略することはできない。両方指定した場合はdataが優先され、uriは無視される。 |
data | file | No | ファイルのbinary。送信するファイルのbinary。uriと同時に省略することはできない。両方指定した場合はdataが優先され、uriは無視される。 |
position | long | No | ファイルオフセット。ファイルの書き込み開始位置を指定する。省略された場合には、現在ファイルが書き込んでいる位置から書き込む。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
highAccuracy | boolean | No | 測位精度設定。 true : 高精度 false : 通常精度 省略時はfalse |
maximumAge | double | No | 位置情報有効時間(ミリ秒単位)省略時は0mSec ※前回呼び出し時から該当時間以上経過していた場合に最新の位置情報を返す。それ以外は前回と同じ位置情報を返す。 |
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | ||
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | ||
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | ||
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | ||
位置情報 | position | object | Yes | |||
座標 | coordinates | object | Yes | 座標のオブジェクト | ||
緯度 | latitude | float | No | -180~180 単位:degree | ||
経度 | longitude | float | No | -90~90 単位:degree | ||
高度 | altitude | float | No | 単位:m | ||
緯度・経度の誤差 | accuracy | float | No | 単位:m | ||
高度の誤差 | altitudeAccuracy | float | No | 単位:m | ||
方角 | heading | float | No | 0~359 単位:degree 真北に対して右回りで 0 ≦ heading < 360 | ||
速度 | speed | float | No | 単位:m/Sec | ||
測位時刻 | timeStamp | float | Yes | エポックからのミリ秒 | ||
測位時刻 (文字列) | timeStampString | dateTime | Yes | 測位時刻を文字列表記 RFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "position" : { "coordinates" : { "latitude" : 37.52104948, "longitude" : 139.93875834, "altitude" : 285, "accuracy" : 31, "altitudeAccuracy" : 15, "heading" : 0, "speed" : 0 }, "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
highAccuracy | boolean | No | 測位精度設定。 true : 高精度 false : 通常精度 省略時はfalse |
interval | double | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | ||
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | ||
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | ||
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | ||
位置情報 | position | object | Yes | |||
座標 | coordinates | object | Yes | 座標のオブジェクト | ||
緯度 | latitude | float | No | -180~180 単位:degree | ||
経度 | longitude | float | No | -90~90 単位:degree | ||
高度 | altitude | float | No | 単位:m | ||
緯度・経度の誤差 | accuracy | float | No | 単位:m | ||
高度の誤差 | altitudeAccuracy | float | No | 単位:m | ||
方角 | heading | float | No | 0~359 単位:degree 真北に対して右回りで 0 ≦ heading < 360 | ||
速度 | speed | float | No | 単位:m/Sec | ||
測位時刻 | timeStamp | float | Yes | エポックからのミリ秒 | ||
測位時刻 (文字列) | timeStampString | dateTime | Yes | 測位時刻を文字列表記 RFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "position" : { "coordinates" : { "latitude" : 37.52104948, "longitude" : 139.93875834, "altitude" : 285, "accuracy" : 31, "altitudeAccuracy" : 15, "heading" : 0, "speed" : 0 }, "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
highAccuracy | boolean | No | 測位精度設定。 true : 高精度 false : 通常精度 省略時はfalse |
interval | double | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | ||
プロファイル名 | profile | string | Yes | プロファイル名。 | ||
インターフェース名 | interface | string | Yes | インターフェース名。 | ||
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | ||
位置情報 | position | object | Yes | |||
座標 | coordinates | object | Yes | 座標のオブジェクト | ||
緯度 | latitude | float | No | -180~180 単位:degree | ||
経度 | longitude | float | No | -90~90 単位:degree | ||
高度 | altitude | float | No | 単位:m | ||
緯度・経度の誤差 | accuracy | float | No | 単位:m | ||
高度の誤差 | altitudeAccuracy | float | No | 単位:m | ||
方角 | heading | float | No | 0~359 単位:degree 真北に対して右回りで 0 ≦ heading < 360 | ||
速度 | speed | float | No | 単位:m/Sec | ||
測位時刻 | timeStamp | float | Yes | エポックからのミリ秒 | ||
測位時刻 (文字列) | timeStampString | dateTime | Yes | 測位時刻を文字列表記 RFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "geolocation", "attribute" : "onwatchposition", "position" : { "coordinates" : { "latitude" : 37.52104948, "longitude" : 139.93875834, "altitude" : 285, "accuracy" : 31, "altitudeAccuracy" : 15, "heading" : 0, "speed" : 0 }, "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ピンから取得した値 | value | float | Yes | 指定したピンのアナログ値 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "value" : 1024 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
value | float | Yes | 値。出力するアナログ値 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ピンから取得した値 | value | float | Yes | 指定したピンのアナログ値 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "value" : 1024 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
value | float | Yes | 値。出力するアナログ値 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ピンから取得した値 | value | float | Yes | 指定したピンのアナログ値 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "value" : 1024 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
value | float | Yes | 値。出力するアナログ値 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ピンから取得した値 | value | float | Yes | 指定したピンのアナログ値 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "value" : 1024 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
value | float | Yes | 値。出力するアナログ値 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ピンから取得した値 | value | float | Yes | 指定したピンのアナログ値 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "value" : 1024 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
value | float | Yes | 値。出力するアナログ値 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ピンから取得した値 | value | float | Yes | 指定したピンのアナログ値 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "value" : 1024 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
value | float | Yes | 値。出力するアナログ値 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "value" : 1 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
value | integer | Yes | 値。出力する値 LOW(0), HIGH(1) |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ピンから取得した値 | value | float | Yes | ピンの値、HIGH(1) or LOW(0)が返ってくる。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "value" : 1 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
value | integer | Yes | 値。出力する値 LOW(0), HIGH(1) |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ピンから取得した値 | value | float | Yes | ピンの値、HIGH(1) or LOW(0)が返ってくる。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "value" : 1 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
value | integer | Yes | 値。出力する値 LOW(0), HIGH(1) |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ピンから取得した値 | value | float | Yes | ピンの値、HIGH(1) or LOW(0)が返ってくる。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "value" : 1 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
value | integer | Yes | 値。出力する値 LOW(0), HIGH(1) |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ピンから取得した値 | value | float | Yes | ピンの値、HIGH(1) or LOW(0)が返ってくる。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "value" : 1 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
value | integer | Yes | 値。出力する値 LOW(0), HIGH(1) |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ピンから取得した値 | value | float | Yes | ピンの値、HIGH(1) or LOW(0)が返ってくる。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "value" : 1 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
value | integer | Yes | 値。出力する値 LOW(0), HIGH(1) |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ピンから取得した値 | value | float | Yes | ピンの値、HIGH(1) or LOW(0)が返ってくる。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "value" : 1 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
value | integer | Yes | 値。出力する値 LOW(0), HIGH(1) |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ピンから取得した値 | value | float | Yes | ピンの値、HIGH(1) or LOW(0)が返ってくる。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "value" : 1 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
value | integer | Yes | 値。出力する値 LOW(0), HIGH(1) |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ピンから取得した値 | value | float | Yes | ピンの値、HIGH(1) or LOW(0)が返ってくる。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "value" : 1 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
value | integer | Yes | 値。出力する値 LOW(0), HIGH(1) |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ピンから取得した値 | value | float | Yes | ピンの値、HIGH(1) or LOW(0)が返ってくる。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "value" : 1 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
value | integer | Yes | 値。出力する値 LOW(0), HIGH(1) |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ピンから取得した値 | value | float | Yes | ピンの値、HIGH(1) or LOW(0)が返ってくる。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "value" : 1 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
value | integer | Yes | 値。出力する値 LOW(0), HIGH(1) |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ピンから取得した値 | value | float | Yes | ピンの値、HIGH(1) or LOW(0)が返ってくる。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "value" : 1 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
value | integer | Yes | 値。出力する値 LOW(0), HIGH(1) |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ピンから取得した値 | value | float | Yes | ピンの値、HIGH(1) or LOW(0)が返ってくる。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "value" : 1 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
value | integer | Yes | 値。出力する値 LOW(0), HIGH(1) |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ピンから取得した値 | value | float | Yes | ピンの値、HIGH(1) or LOW(0)が返ってくる。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "value" : 1 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
value | integer | Yes | 値。出力する値 LOW(0), HIGH(1) |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mode | float | Yes | モード。設定するモード 0:デジタルIN 1:デジタルOUT 2:アナログIN 3:アナログOUT |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mode | float | Yes | モード。設定するモード 0:デジタルIN 1:デジタルOUT 2:アナログIN 3:アナログOUT |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mode | float | Yes | モード。設定するモード 0:デジタルIN 1:デジタルOUT 2:アナログIN 3:アナログOUT |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mode | float | Yes | モード。設定するモード 0:デジタルIN 1:デジタルOUT 2:アナログIN 3:アナログOUT |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mode | float | Yes | モード。設定するモード 0:デジタルIN 1:デジタルOUT 2:アナログIN 3:アナログOUT |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mode | float | Yes | モード。設定するモード 0:デジタルIN 1:デジタルOUT 2:アナログIN 3:アナログOUT |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mode | float | Yes | モード。設定するモード 0:デジタルIN 1:デジタルOUT 2:アナログIN 3:アナログOUT |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mode | float | Yes | モード。設定するモード 0:デジタルIN 1:デジタルOUT 2:アナログIN 3:アナログOUT |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mode | float | Yes | モード。設定するモード 0:デジタルIN 1:デジタルOUT 2:アナログIN 3:アナログOUT |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mode | float | Yes | モード。設定するモード 0:デジタルIN 1:デジタルOUT 2:アナログIN 3:アナログOUT |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mode | float | Yes | モード。設定するモード 0:デジタルIN 1:デジタルOUT 2:アナログIN 3:アナログOUT |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mode | float | Yes | モード。設定するモード 0:デジタルIN 1:デジタルOUT 2:アナログIN 3:アナログOUT |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mode | float | Yes | モード。設定するモード 0:デジタルIN 1:デジタルOUT 2:アナログIN 3:アナログOUT |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mode | float | Yes | モード。設定するモード 0:デジタルIN 1:デジタルOUT 2:アナログIN 3:アナログOUT |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mode | float | Yes | モード。設定するモード 0:デジタルIN 1:デジタルOUT 2:アナログIN 3:アナログOUT |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mode | float | Yes | モード。設定するモード 0:デジタルIN 1:デジタルOUT 2:アナログIN 3:アナログOUT |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mode | float | Yes | モード。設定するモード 0:デジタルIN 1:デジタルOUT 2:アナログIN 3:アナログOUT |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mode | float | Yes | モード。設定するモード 0:デジタルIN 1:デジタルOUT 2:アナログIN 3:アナログOUT |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mode | float | Yes | モード。設定するモード 0:デジタルIN 1:デジタルOUT 2:アナログIN 3:アナログOUT |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mode | float | Yes | モード。設定するモード 0:デジタルIN 1:デジタルOUT 2:アナログIN 3:アナログOUT |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
ピン一覧 | pins | object | Yes | ||
ピンの値 | {ピン番号} | integer | No | 取得したピンの値 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "pins" : { "14" : 1023, "15" : 111, "16" : 201, "17" : 0, "18" : 1014, "19" : 99 } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
ピン一覧 | pins | object | Yes | ||
ピンの値 | {ピン番号} | integer | No | 取得したピンの値 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "gpio", "attribute" : "onchange", "pins" : { "14" : 1023, "15" : 111, "16" : 201, "17" : 0, "18" : 1014, "19" : 99 } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | ||
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | ||
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | ||
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | ||
心拍数計測結果 | heart | object | Yes | 検出値、検出したデバイスの情報を取得する。 | ||
心拍数オブジェクト | rate | object | Yes | 心拍数の情報を持つ。 | ||
心拍数 | value | integer | Yes | ターゲットデバイスで測定した心拍数を返す。 | ||
心拍数のMDER Float値 | mderFloat | string | Yes | ターゲットデバイスによって測定された心拍数を、16進数のMDER Float値で表している。取得できない場合は-1の16進数文字列を返す。 | ||
心拍数のタイプ | type | string | Yes | この値が「heart rate」であることを表す文字列を返す。取得できない場合は、空文字を返す。 | ||
心拍数のオブジェクトのタイプのコード | typeCode | string | Yes | 「147842」という「heart rate」を意味するコードを返す。取得できない場合は、空文字を返す。 | ||
心拍数の単位 | unit | string | Yes | 「beat per min」のように人間がわかるように単位を返す。取得できない場合は、空文字を返す。 | ||
心拍数の単位コード | unitCode | string | Yes | 「264864」という「beat per min」を意味するコードを返す。取得できない場合は、空文字を返す。 | ||
心拍数のタイムスタンプ | timeStamp | long | Yes | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 | ||
心拍数のタイムスタンプ文字列 | timeStampString | dateTime | Yes | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 | ||
RR間隔オブジェクト | rr | object | No | RR間隔値の情報を持つ。 | ||
RR間隔値 | value | integer | No | ターゲットデバイスで測定したRR間隔を返す。 | ||
RR間隔のMDER Float値 | mderFloat | string | No | RR間隔値のMDERFloat値を返す。 | ||
RR間隔のタイプ | type | string | No | RR間隔を表す「RR interval」を返す。取得できない場合は、空文字を返す。 | ||
RR間隔のオブジェクトのタイプのコード | typeCode | string | No | RR間隔を表す「147240」を返す。取得できない場合は、空文字を返す。 | ||
RR間隔の単位 | unit | string | No | RR間隔の単位を表す「ms」を返す。取得できない場合は、空文字を返す。 | ||
RR間隔の単位コード | unitCode | string | No | RR間隔の単位であるmsを表す「264338」を返す。取得できない場合は、空文字を返す。 | ||
RR間隔のタイムスタンプ | timeStamp | long | No | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 | ||
RR間隔のタイムスタンプ文字列 | timeStampString | dateTime | No | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 | ||
消費エネルギーオブジェクト | energy | object | No | 消費エネルギーの情報を持つ。 | ||
消費エネルギー | value | integer | No | ターゲットデバイスで測定した消費エネルギー値を返す。 | ||
消費エネルギーのMDER Float値 | mderFloat | string | No | 消費エネルギー値のMDERFloat値を返す。 | ||
消費エネルギーのタイプ | type | string | No | 消費エネルギー値を表す「energy expended」を返す。取得できない場合は、空文字を返す。 | ||
消費エネルギーのタイプコード | typeCode | string | No | 消費エネルギー値を表す「119」を返す。取得できない場合は、空文字を返す。 | ||
消費エネルギーの単位 | unit | string | No | 消費エネルギー値の単位を表す「Calories」を返す。取得できない場合は、空文字を返す。 | ||
消費エネルギーの単位コード | unitCode | string | No | 消費エネルギー値の単位であるCaloriesを表す「6784」を返す。取得できない場合は、空文字を返す。 | ||
消費エネルギーのタイムスタンプ | timeStamp | long | No | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 | ||
消費エネルギーのタイムスタンプ文字列 | timeStampString | dateTime | No | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 | ||
デバイスオブジェクト | device | object | Yes | 健康機器の情報を持つ。 | ||
プロダクト名 | productName | string | Yes | ターゲットデバイスの製品名。取得できない時は任意のアルゴリズムでデバイス名を生成。 | ||
メーカ名 | manufacturerName | string | Yes | ターゲットデバイスのメーカ名。取得できない場合は空文字を指定。 | ||
モデルの番号 | modelNumber | string | Yes | ターゲットデバイスのモデル番号。取得できない場合は空文字を指定 | ||
ファームウェアリビジョン | firmwareRevision | string | Yes | ターゲットデバイスのファームウェアリビジョン。取得できない場合は空文字を指定。 | ||
シリアルナンバー | serialNumber | string | Yes | ターゲットデバイスのシリアル番号。取得できない場合は空文字を指定。 | ||
ソフトウェアリビジョン | softwareRevision | string | Yes | ターゲットデバイスのソフトウェアリビジョン。取得できない場合は空文字を指定。 | ||
ハードウェアリビジョン | hardwareRevision | string | Yes | ターゲットデバイスのハードウェアリビジョン。取得できない場合は、空文字を指定。 | ||
パートナンバー | partNumber | string | Yes | ターゲットデバイスのパート番号。取得できない場合は、空文字を指定。 | ||
プロトコルリビジョン | protocolRevision | string | Yes | ターゲットデバイスのプロトコルリビジョン。取得できない場合は、空文字を指定。 | ||
システムID | systemId | string | Yes | ターゲットデバイスのシステムID。16進数。取得できない場合は「0x0」。 | ||
バッテリーレベル | batteryLevel | float | Yes | ターゲットデバイスのバッテリーレベル。取得できない場合は-1.0を返す。 範囲: 0.0〜1.0 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "heart" : { "rate" : { "value" : 60, "mderFloat" : "00000042", "type" : "heart rate", "typeCode" : 147842, "unit" : "beat per min", "unitCode" : 264864, "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" }, "rr" : { "value" : 909.1796875, "mderFloat" : "F9E9CF8B", "type" : "RR interval", "typeCode" : 147240, "unit" : "ms", "unitCode" : 264338, "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" }, "energy" : { "value" : 0, "mderFloat" : "01000000", "type" : "energy expended", "typeCode" : 119, "unit" : "Calories", "unitCode" : 6784, "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" }, "device" : { "productName" : "DUMMY DEVICE", "manufacturerName" : "", "modelNumber" : "", "firmwareRevision" : "", "serialNumber" : "", "softwareRevision" : "", "hardwareRevision" : "", "partNumber" : "", "protocolRevision" : "", "systemId" : "0x0", "batteryLevel" : -1 } } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | ||
プロファイル名 | profile | string | Yes | プロファイル名。 | ||
インターフェース名 | interface | string | Yes | インターフェース名。 | ||
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | ||
心拍数計測結果 | heart | object | Yes | 検出値、検出したデバイスの情報を取得する。 | ||
心拍数オブジェクト | rate | object | Yes | 心拍数の情報を持つ。 | ||
心拍数 | value | integer | Yes | ターゲットデバイスで測定した心拍数を返す。 | ||
心拍数のMDER Float値 | mderFloat | string | Yes | ターゲットデバイスによって測定された心拍数を、16進数のMDER Float値で表している。取得できない場合は-1の16進数文字列を返す。 | ||
心拍数のタイプ | type | string | Yes | この値が「heart rate」であることを表す文字列を返す。取得できない場合は、空文字を返す。 | ||
心拍数のオブジェクトのタイプのコード | typeCode | string | Yes | 「147842」という「heart rate」を意味するコードを返す。取得できない場合は、空文字を返す。 | ||
心拍数の単位 | unit | string | Yes | 「beat per min」のように人間がわかるように単位を返す。取得できない場合は、空文字を返す。 | ||
心拍数の単位コード | unitCode | string | Yes | 「264864」という「beat per min」を意味するコードを返す。取得できない場合は、空文字を返す。 | ||
心拍数のタイムスタンプ | timeStamp | long | Yes | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 | ||
心拍数のタイムスタンプ文字列 | timeStampString | dateTime | Yes | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 | ||
RR間隔オブジェクト | rr | object | No | RR間隔値の情報を持つ。 | ||
RR間隔値 | value | integer | No | ターゲットデバイスで測定したRR間隔を返す。 | ||
RR間隔のMDER Float値 | mderFloat | string | No | RR間隔値のMDERFloat値を返す。 | ||
RR間隔のタイプ | type | string | No | RR間隔を表す「RR interval」を返す。取得できない場合は、空文字を返す。 | ||
RR間隔のオブジェクトのタイプのコード | typeCode | string | No | RR間隔を表す「147240」を返す。取得できない場合は、空文字を返す。 | ||
RR間隔の単位 | unit | string | No | RR間隔の単位を表す「ms」を返す。取得できない場合は、空文字を返す。 | ||
RR間隔の単位コード | unitCode | string | No | RR間隔の単位であるmsを表す「264338」を返す。取得できない場合は、空文字を返す。 | ||
RR間隔のタイムスタンプ | timeStamp | long | No | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 | ||
RR間隔のタイムスタンプ文字列 | timeStampString | dateTime | No | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 | ||
消費エネルギーオブジェクト | energy | object | No | 消費エネルギーの情報を持つ。 | ||
消費エネルギー | value | integer | No | ターゲットデバイスで測定した消費エネルギー値を返す。 | ||
消費エネルギーのMDER Float値 | mderFloat | string | No | 消費エネルギー値のMDERFloat値を返す。 | ||
消費エネルギーのタイプ | type | string | No | 消費エネルギー値を表す「energy expended」を返す。取得できない場合は、空文字を返す。 | ||
消費エネルギーのタイプコード | typeCode | string | No | 消費エネルギー値を表す「119」を返す。取得できない場合は、空文字を返す。 | ||
消費エネルギーの単位 | unit | string | No | 消費エネルギー値の単位を表す「Calories」を返す。取得できない場合は、空文字を返す。 | ||
消費エネルギーの単位コード | unitCode | string | No | 消費エネルギー値の単位であるCaloriesを表す「6784」を返す。取得できない場合は、空文字を返す。 | ||
消費エネルギーのタイムスタンプ | timeStamp | long | No | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 | ||
消費エネルギーのタイムスタンプ文字列 | timeStampString | dateTime | No | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 | ||
デバイスオブジェクト | device | object | Yes | 健康機器の情報を持つ。 | ||
プロダクト名 | productName | string | Yes | ターゲットデバイスの製品名。取得できない時は任意のアルゴリズムでデバイス名を生成。 | ||
メーカ名 | manufacturerName | string | Yes | ターゲットデバイスのメーカ名。取得できない場合は空文字を指定。 | ||
モデルの番号 | modelNumber | string | Yes | ターゲットデバイスのモデル番号。取得できない場合は空文字を指定 | ||
ファームウェアリビジョン | firmwareRevision | string | Yes | ターゲットデバイスのファームウェアリビジョン。取得できない場合は空文字を指定。 | ||
シリアルナンバー | serialNumber | string | Yes | ターゲットデバイスのシリアル番号。取得できない場合は空文字を指定。 | ||
ソフトウェアリビジョン | softwareRevision | string | Yes | ターゲットデバイスのソフトウェアリビジョン。取得できない場合は空文字を指定。 | ||
ハードウェアリビジョン | hardwareRevision | string | Yes | ターゲットデバイスのハードウェアリビジョン。取得できない場合は、空文字を指定。 | ||
パートナンバー | partNumber | string | Yes | ターゲットデバイスのパート番号。取得できない場合は、空文字を指定。 | ||
プロトコルリビジョン | protocolRevision | string | Yes | ターゲットデバイスのプロトコルリビジョン。取得できない場合は、空文字を指定。 | ||
システムID | systemId | string | Yes | ターゲットデバイスのシステムID。16進数。取得できない場合は「0x0」。 | ||
バッテリーレベル | batteryLevel | float | Yes | ターゲットデバイスのバッテリーレベル。取得できない場合は-1.0を返す。 範囲: 0.0〜1.0 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "health", "attribute" : "heart", "heart" : { "rate" : { "value" : 60, "mderFloat" : "00000042", "type" : "heart rate", "typeCode" : 147842, "unit" : "beat per min", "unitCode" : 264864, "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" }, "rr" : { "value" : 909.1796875, "mderFloat" : "F9E9CF8B", "type" : "RR interval", "typeCode" : 147240, "unit" : "ms", "unitCode" : 264338, "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" }, "energy" : { "value" : 0, "mderFloat" : "01000000", "type" : "energy expended", "typeCode" : 119, "unit" : "Calories", "unitCode" : 6784, "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" }, "device" : { "productName" : "DUMMY DEVICE", "manufacturerName" : "", "modelNumber" : "", "firmwareRevision" : "", "serialNumber" : "", "softwareRevision" : "", "hardwareRevision" : "", "partNumber" : "", "protocolRevision" : "", "systemId" : "0x0", "batteryLevel" : -1 } } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
心拍数 | heartRate | integer | Yes | ターゲットデバイスで測定した心拍数を返す。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID |
プロファイル名 | profile | string | Yes | プロファイル名。 |
インターフェース名 | interface | string | Yes | インターフェース名。 |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 |
心拍数 | heartRate | integer | Yes | ターゲットデバイスで測定した心拍数を返す。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "health", "attribute" : "heartrate", "heartRate" : 80 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | ||
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | ||
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | ||
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | ||
心拍数計測結果 | heart | object | Yes | 検出値、検出したデバイスの情報を取得する。 | ||
心拍数オブジェクト | rate | object | Yes | 心拍数の情報を持つ。 | ||
心拍数 | value | integer | Yes | ターゲットデバイスで測定した心拍数を返す。 | ||
心拍数のMDER Float値 | mderFloat | string | Yes | ターゲットデバイスによって測定された心拍数を、16進数のMDER Float値で表している。取得できない場合は-1の16進数文字列を返す。 | ||
心拍数のタイプ | type | string | Yes | この値が「heart rate」であることを表す文字列を返す。取得できない場合は、空文字を返す。 | ||
心拍数のオブジェクトのタイプのコード | typeCode | string | Yes | 「147842」という「heart rate」を意味するコードを返す。取得できない場合は、空文字を返す。 | ||
心拍数の単位 | unit | string | Yes | 「beat per min」のように人間がわかるように単位を返す。取得できない場合は、空文字を返す。 | ||
心拍数の単位コード | unitCode | string | Yes | 「264864」という「beat per min」を意味するコードを返す。取得できない場合は、空文字を返す。 | ||
心拍数のタイムスタンプ | timeStamp | long | Yes | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 | ||
心拍数のタイムスタンプ文字列 | timeStampString | dateTime | Yes | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 | ||
RR間隔オブジェクト | rr | object | No | RR間隔値の情報を持つ。 | ||
RR間隔値 | value | integer | No | ターゲットデバイスで測定したRR間隔を返す。 | ||
RR間隔のMDER Float値 | mderFloat | string | No | RR間隔値のMDERFloat値を返す。 | ||
RR間隔のタイプ | type | string | No | RR間隔を表す「RR interval」を返す。取得できない場合は、空文字を返す。 | ||
RR間隔のオブジェクトのタイプのコード | typeCode | string | No | RR間隔を表す「147240」を返す。取得できない場合は、空文字を返す。 | ||
RR間隔の単位 | unit | string | No | RR間隔の単位を表す「ms」を返す。取得できない場合は、空文字を返す。 | ||
RR間隔の単位コード | unitCode | string | No | RR間隔の単位であるmsを表す「264338」を返す。取得できない場合は、空文字を返す。 | ||
RR間隔のタイムスタンプ | timeStamp | long | No | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 | ||
RR間隔のタイムスタンプ文字列 | timeStampString | dateTime | No | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 | ||
消費エネルギーオブジェクト | energy | object | No | 消費エネルギーの情報を持つ。 | ||
消費エネルギー | value | integer | No | ターゲットデバイスで測定した消費エネルギー値を返す。 | ||
消費エネルギーのMDER Float値 | mderFloat | string | No | 消費エネルギー値のMDERFloat値を返す。 | ||
消費エネルギーのタイプ | type | string | No | 消費エネルギー値を表す「energy expended」を返す。取得できない場合は、空文字を返す。 | ||
消費エネルギーのタイプコード | typeCode | string | No | 消費エネルギー値を表す「119」を返す。取得できない場合は、空文字を返す。 | ||
消費エネルギーの単位 | unit | string | No | 消費エネルギー値の単位を表す「Calories」を返す。取得できない場合は、空文字を返す。 | ||
消費エネルギーの単位コード | unitCode | string | No | 消費エネルギー値の単位であるCaloriesを表す「6784」を返す。取得できない場合は、空文字を返す。 | ||
消費エネルギーのタイムスタンプ | timeStamp | long | No | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 | ||
消費エネルギーのタイムスタンプ文字列 | timeStampString | dateTime | No | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 | ||
デバイスオブジェクト | device | object | Yes | 健康機器の情報を持つ。 | ||
プロダクト名 | productName | string | Yes | ターゲットデバイスの製品名。取得できない時は任意のアルゴリズムでデバイス名を生成。 | ||
メーカ名 | manufacturerName | string | Yes | ターゲットデバイスのメーカ名。取得できない場合は空文字を指定。 | ||
モデルの番号 | modelNumber | string | Yes | ターゲットデバイスのモデル番号。取得できない場合は空文字を指定 | ||
ファームウェアリビジョン | firmwareRevision | string | Yes | ターゲットデバイスのファームウェアリビジョン。取得できない場合は空文字を指定。 | ||
シリアルナンバー | serialNumber | string | Yes | ターゲットデバイスのシリアル番号。取得できない場合は空文字を指定。 | ||
ソフトウェアリビジョン | softwareRevision | string | Yes | ターゲットデバイスのソフトウェアリビジョン。取得できない場合は空文字を指定。 | ||
ハードウェアリビジョン | hardwareRevision | string | Yes | ターゲットデバイスのハードウェアリビジョン。取得できない場合は、空文字を指定。 | ||
パートナンバー | partNumber | string | Yes | ターゲットデバイスのパート番号。取得できない場合は、空文字を指定。 | ||
プロトコルリビジョン | protocolRevision | string | Yes | ターゲットデバイスのプロトコルリビジョン。取得できない場合は、空文字を指定。 | ||
システムID | systemId | string | Yes | ターゲットデバイスのシステムID。16進数。取得できない場合は「0x0」。 | ||
バッテリーレベル | batteryLevel | float | Yes | ターゲットデバイスのバッテリーレベル。取得できない場合は-1.0を返す。 範囲: 0.0〜1.0 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "heart" : { "rate" : { "value" : 60, "mderFloat" : "00000042", "type" : "heart rate", "typeCode" : 147842, "unit" : "beat per min", "unitCode" : 264864, "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" }, "rr" : { "value" : 909.1796875, "mderFloat" : "F9E9CF8B", "type" : "RR interval", "typeCode" : 147240, "unit" : "ms", "unitCode" : 264338, "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" }, "energy" : { "value" : 0, "mderFloat" : "01000000", "type" : "energy expended", "typeCode" : 119, "unit" : "Calories", "unitCode" : 6784, "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" }, "device" : { "productName" : "DUMMY DEVICE", "manufacturerName" : "", "modelNumber" : "", "firmwareRevision" : "", "serialNumber" : "", "softwareRevision" : "", "hardwareRevision" : "", "partNumber" : "", "protocolRevision" : "", "systemId" : "0x0", "batteryLevel" : -1 } } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | ||
プロファイル名 | profile | string | Yes | プロファイル名。 | ||
インターフェース名 | interface | string | Yes | インターフェース名。 | ||
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | ||
心拍数計測結果 | heart | object | Yes | 検出値、検出したデバイスの情報を取得する。 | ||
心拍数オブジェクト | rate | object | Yes | 心拍数の情報を持つ。 | ||
心拍数 | value | integer | Yes | ターゲットデバイスで測定した心拍数を返す。 | ||
心拍数のMDER Float値 | mderFloat | string | Yes | ターゲットデバイスによって測定された心拍数を、16進数のMDER Float値で表している。取得できない場合は-1の16進数文字列を返す。 | ||
心拍数のタイプ | type | string | Yes | この値が「heart rate」であることを表す文字列を返す。取得できない場合は、空文字を返す。 | ||
心拍数のオブジェクトのタイプのコード | typeCode | string | Yes | 「147842」という「heart rate」を意味するコードを返す。取得できない場合は、空文字を返す。 | ||
心拍数の単位 | unit | string | Yes | 「beat per min」のように人間がわかるように単位を返す。取得できない場合は、空文字を返す。 | ||
心拍数の単位コード | unitCode | string | Yes | 「264864」という「beat per min」を意味するコードを返す。取得できない場合は、空文字を返す。 | ||
心拍数のタイムスタンプ | timeStamp | long | Yes | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 | ||
心拍数のタイムスタンプ文字列 | timeStampString | dateTime | Yes | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 | ||
RR間隔オブジェクト | rr | object | No | RR間隔値の情報を持つ。 | ||
RR間隔値 | value | integer | No | ターゲットデバイスで測定したRR間隔を返す。 | ||
RR間隔のMDER Float値 | mderFloat | string | No | RR間隔値のMDERFloat値を返す。 | ||
RR間隔のタイプ | type | string | No | RR間隔を表す「RR interval」を返す。取得できない場合は、空文字を返す。 | ||
RR間隔のオブジェクトのタイプのコード | typeCode | string | No | RR間隔を表す「147240」を返す。取得できない場合は、空文字を返す。 | ||
RR間隔の単位 | unit | string | No | RR間隔の単位を表す「ms」を返す。取得できない場合は、空文字を返す。 | ||
RR間隔の単位コード | unitCode | string | No | RR間隔の単位であるmsを表す「264338」を返す。取得できない場合は、空文字を返す。 | ||
RR間隔のタイムスタンプ | timeStamp | long | No | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 | ||
RR間隔のタイムスタンプ文字列 | timeStampString | dateTime | No | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 | ||
消費エネルギーオブジェクト | energy | object | No | 消費エネルギーの情報を持つ。 | ||
消費エネルギー | value | integer | No | ターゲットデバイスで測定した消費エネルギー値を返す。 | ||
消費エネルギーのMDER Float値 | mderFloat | string | No | 消費エネルギー値のMDERFloat値を返す。 | ||
消費エネルギーのタイプ | type | string | No | 消費エネルギー値を表す「energy expended」を返す。取得できない場合は、空文字を返す。 | ||
消費エネルギーのタイプコード | typeCode | string | No | 消費エネルギー値を表す「119」を返す。取得できない場合は、空文字を返す。 | ||
消費エネルギーの単位 | unit | string | No | 消費エネルギー値の単位を表す「Calories」を返す。取得できない場合は、空文字を返す。 | ||
消費エネルギーの単位コード | unitCode | string | No | 消費エネルギー値の単位であるCaloriesを表す「6784」を返す。取得できない場合は、空文字を返す。 | ||
消費エネルギーのタイムスタンプ | timeStamp | long | No | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 | ||
消費エネルギーのタイムスタンプ文字列 | timeStampString | dateTime | No | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 | ||
デバイスオブジェクト | device | object | Yes | 健康機器の情報を持つ。 | ||
プロダクト名 | productName | string | Yes | ターゲットデバイスの製品名。取得できない時は任意のアルゴリズムでデバイス名を生成。 | ||
メーカ名 | manufacturerName | string | Yes | ターゲットデバイスのメーカ名。取得できない場合は空文字を指定。 | ||
モデルの番号 | modelNumber | string | Yes | ターゲットデバイスのモデル番号。取得できない場合は空文字を指定 | ||
ファームウェアリビジョン | firmwareRevision | string | Yes | ターゲットデバイスのファームウェアリビジョン。取得できない場合は空文字を指定。 | ||
シリアルナンバー | serialNumber | string | Yes | ターゲットデバイスのシリアル番号。取得できない場合は空文字を指定。 | ||
ソフトウェアリビジョン | softwareRevision | string | Yes | ターゲットデバイスのソフトウェアリビジョン。取得できない場合は空文字を指定。 | ||
ハードウェアリビジョン | hardwareRevision | string | Yes | ターゲットデバイスのハードウェアリビジョン。取得できない場合は、空文字を指定。 | ||
パートナンバー | partNumber | string | Yes | ターゲットデバイスのパート番号。取得できない場合は、空文字を指定。 | ||
プロトコルリビジョン | protocolRevision | string | Yes | ターゲットデバイスのプロトコルリビジョン。取得できない場合は、空文字を指定。 | ||
システムID | systemId | string | Yes | ターゲットデバイスのシステムID。16進数。取得できない場合は「0x0」。 | ||
バッテリーレベル | batteryLevel | float | Yes | ターゲットデバイスのバッテリーレベル。取得できない場合は-1.0を返す。 範囲: 0.0〜1.0 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "health", "attribute" : "heart", "heart" : { "rate" : { "value" : 60, "mderFloat" : "00000042", "type" : "heart rate", "typeCode" : 147842, "unit" : "beat per min", "unitCode" : 264864, "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" }, "rr" : { "value" : 909.1796875, "mderFloat" : "F9E9CF8B", "type" : "RR interval", "typeCode" : 147240, "unit" : "ms", "unitCode" : 264338, "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" }, "energy" : { "value" : 0, "mderFloat" : "01000000", "type" : "energy expended", "typeCode" : 119, "unit" : "Calories", "unitCode" : 6784, "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" }, "device" : { "productName" : "DUMMY DEVICE", "manufacturerName" : "", "modelNumber" : "", "firmwareRevision" : "", "serialNumber" : "", "softwareRevision" : "", "hardwareRevision" : "", "partNumber" : "", "protocolRevision" : "", "systemId" : "0x0", "batteryLevel" : -1 } } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
threshold | float | No | 検出しきい値。省略時はデバイス初期値 設定できる値の範囲:0.0~1.0 |
minWidth | float | No | 検出最小サイズ(w)。minHeight < maxHeightとすること、省略時デバイス初期値。 設定できる値の範囲:0.0~1.0 |
minHeight | float | No | 検出最小サイズ(h)。minHeight < maxHeightとすること、省略時はデバイス初期値 設定できる値の範囲:0.0~1.0 |
maxWidth | float | No | 検出最大サイズ(w)。minWidth < maxWidthとすること、省略時はデバイス初期値 設定できる値の範囲:0.0~1.0 |
maxHeight | float | No | 検出最大サイズ(h)。minHeight < maxHeightとすること、省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
options | array(string) | No | 利用するオプション機能。利用するオプション機能を指定する。複数指定可能。省略時は指定なし。 ※使用できるオプションは無し。 |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
人体検出リスト | bodyDetects | array(object) | Yes | 検出された数分出現する。 | |
検出領域の中心X座標 | x | float | Yes | 0.0~1.0 | |
検出領域の中心Y座標 | y | float | Yes | 0.0~1.0 | |
検出領域のX方向の幅 | width | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | |
検出領域のY方向の幅 | height | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | |
解析の信頼度 | confidence | float | Yes | 0.0~1.0 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "bodyDetects" : [ { "x" : 0.47291666666666665, "y" : 0.6712962962962963, "width" : 0.271875, "height" : 0.48333333333333334, "confidence" : 0.907 }, { "x" : 0.034375, "y" : 0.8925925925925926, "width" : 0.036458333333333336, "height" : 0.06481481481481481, "confidence" : 0.746 }, { "x" : 0.9515625, "y" : 0.9592592592592593, "width" : 0.03177083333333333, "height" : 0.05648148148148148, "confidence" : 0.619 } ] }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
threshold | float | No | 検出しきい値。省略時はデバイス初期値 設定できる値の範囲:0.0~1.0 |
minWidth | float | No | 検出最小サイズ(w)。minHeight < maxHeightとすること、省略時デバイス初期値。 設定できる値の範囲:0.0~1.0 |
minHeight | float | No | 検出最小サイズ(h)。minHeight < maxHeightとすること、省略時はデバイス初期値 設定できる値の範囲:0.0~1.0 |
maxWidth | float | No | 検出最大サイズ(w)。minWidth < maxWidthとすること、省略時はデバイス初期値 設定できる値の範囲:0.0~1.0 |
maxHeight | float | No | 検出最大サイズ(h)。minHeight < maxHeightとすること、省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
options | array(string) | No | 利用するオプション機能。利用するオプション機能を指定する。複数指定可能。省略時は指定なし。 ※使用できるオプションは無し。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
人体検出リスト | bodyDetects | array(object) | Yes | 検出された数分出現する。 | |
検出領域の中心X座標 | x | float | Yes | 0.0~1.0 | |
検出領域の中心Y座標 | y | float | Yes | 0.0~1.0 | |
検出領域のX方向の幅 | width | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | |
検出領域のY方向の幅 | height | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | |
解析の信頼度 | confidence | float | Yes | 0.0~1.0 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "humandetection", "attribute" : "onbodydetection", "bodyDetects" : [ { "x" : 0.47291666666666665, "y" : 0.6712962962962963, "width" : 0.271875, "height" : 0.48333333333333334, "confidence" : 0.907 }, { "x" : 0.034375, "y" : 0.8925925925925926, "width" : 0.036458333333333336, "height" : 0.06481481481481481, "confidence" : 0.746 }, { "x" : 0.9515625, "y" : 0.9592592592592593, "width" : 0.03177083333333333, "height" : 0.05648148148148148, "confidence" : 0.619 } ] }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
人検出情報 | humanDetect | object | Yes | ||
人検出フラグ | exist | boolean | Yes | 検出された : true 検出されない : false |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "humanDetect" : { "exist" : true } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
人検出情報 | humanDetect | object | Yes | ||
人検出フラグ | exist | boolean | Yes | 検出された : true 検出されない : false |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "humandetection", "attribute" : "ondetection", "humanDetect" : { "exist" : true } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
threshold | float | No | 検出しきい値。省略時はデバイス初期値 設定できる値の範囲:0.0~1.0 |
minWidth | float | No | 検出最小サイズ(w)。minHeight < maxHeightとすること、省略時デバイス初期値。 設定できる値の範囲:0.0~1.0 |
minHeight | float | No | 検出最小サイズ(h)。minHeight < maxHeightとすること、省略時はデバイス初期値 設定できる値の範囲:0.0~1.0 |
maxWidth | float | No | 検出最大サイズ(w)。minWidth < maxWidthとすること、省略時はデバイス初期値 設定できる値の範囲:0.0~1.0 |
maxHeight | float | No | 検出最大サイズ(h)。minHeight < maxHeightとすること、省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
eyeThreshold | float | No | 目の座標検出しきい値。省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
noseThreshold | float | No | 鼻の座標検出しきい値。省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
mouthThreshold | float | No | 口の座標検出しきい値。省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
blinkThreshold | float | No | 目つむり検出しきい値。省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
ageThreshold | float | No | 年齢推定しきい値。省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
genderThreshold | float | No | 性別推定しきい値。省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
faceDirectionThreshold | float | No | 顔向き推定しきい値。省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
gazeThreshold | float | No | 視線推定しきい値。省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
expressionThreshold | float | No | 表情推定しきい値。省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
options | array(string) | No | 利用するオプション機能。利用するオプション機能を指定する。複数指定可能。省略時は指定なし。 ※使用できるオプションはデバイスプラグインによって違う。 例)eye, nose, mouth, blink,age,gender,faceDirection,gaze,expressionをカンマ区切りで指定することで、それぞれの検出値がある場合はレスポンスに含めることができる。ただし、デバイスによって対応していない値がある。 |
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | ||
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | ||
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | ||
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | ||
顔検出リスト | faceDetects | array(object) | Yes | 検出された数分出現する。 | ||
検出領域の中心X座標 | x | float | Yes | 0.0~1.0 | ||
検出領域の中心Y座標 | y | float | Yes | 0.0~1.0 | ||
検出領域のX方向の幅 | width | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | ||
検出領域のY方向の幅 | height | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | ||
解析の信頼度 | confidence | float | Yes | 0.0~1.0 | ||
目検出情報 | eyePoints | object | No | |||
左目の中心座標(x) | leftEyeX | float | No | 0.0~1.0 | ||
左目の中心座標(y) | leftEyeY | float | No | 0.0~1.0 | ||
左目の領域幅(w) | leftEyeWidth | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | ||
左目の領域幅(h) | leftEyeHeight | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | ||
右目の中心座標(x) | rightEyeX | float | No | 0.0~1.0 | ||
右目の中心座標(y) | rightEyeY | float | No | 0.0~1.0 | ||
右目の領域幅(w) | rightEyeWidth | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | ||
右目の領域幅(h) | rightEyeHeight | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | ||
解析の信頼度 | confidence | float | No | 0.0~1.0 | ||
鼻検出情報 | nosePoints | object | No | |||
鼻の中心座標(x) | noseX | float | No | 0.0~1.0 | ||
鼻の中心座標(y) | noseY | float | No | 0.0~1.0 | ||
鼻の領域幅(w) | noseWidth | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | ||
鼻の領域幅(h) | noseHeight | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | ||
解析の信頼度 | confidence | float | No | 0.0~1.0 | ||
口検出情報 | mouthPoints | object | No | |||
口の中心座標(x) | mouthX | float | No | 0.0~1.0 | ||
口の中心座標(y) | mouthY | float | No | 0.0~1.0 | ||
口の領域幅(w) | mouthWidth | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | ||
口の領域幅(h) | mouthHeight | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | ||
解析の信頼度 | confidence | float | No | 0.0~1.0 | ||
まばたき検出情報 | blinkResults | object | No | |||
目つむり度合(左) | leftEye | float | No | 0.0~1.0 | ||
目つむり度合(右) | rightEye | float | No | 0.0~1.0 | ||
解析の信頼度 | confidence | float | No | 0.0~1.0 | ||
年齢判定結果 | ageResults | object | No | |||
年齢 | age | integer | No | |||
解析の信頼度 | confidence | float | No | 0.0~1.0 | ||
性別判定結果 | genderResults | object | No | |||
性別 | gender | string | No | male : 男性 female : 女性 | ||
解析の信頼度 | confidence | float | No | 0.0~1.0 | ||
顔の向き判定結果 | faceDirectionResults | object | No | |||
左右方向角度 | yaw | integer | No | -180~180[degree] | ||
上下方向角度 | pitch | integer | No | -180~180[degree] | ||
顔傾き角度 | roll | integer | No | -180~180[degree] | ||
解析の信頼度 | confidence | float | No | 0.0~1.0 | ||
目の向き判定結果 | gazeResults | object | No | |||
左右角度 | gazeLR | integer | No | -90~90[degree] | ||
上下角度 | gateUD | integer | No | -90~90[degree] | ||
解析の信頼度 | confidence | float | No | 0.0~1.0 | ||
表情判定結果 | expressionResults | object | No | |||
左右角度 | expression | string | No | unknown : 無表情 smile : 笑 い/喜び surprise : 驚き mad : 怒り sad : 悲しみ | ||
解析の信頼度 | confidence | float | No | 0.0~1.0 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "faceDetects" : [ { "x" : 0.9515625, "y" : 0.9592592592592593, "width" : 0.03177083333333333, "height" : 0.05648148148148148, "confidence" : 0.619, "ageResults" : { "age" : "35", "confidence" : "0.82" }, "genderResults" : { "gender" : "male", "confidence" : "0.75" }, "expressionResults" : { "expression" : "surprise", "confidence" : "0.69" } } ] }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
threshold | float | No | 検出しきい値。省略時はデバイス初期値 設定できる値の範囲:0.0~1.0 |
minWidth | float | No | 検出最小サイズ(w)。minHeight < maxHeightとすること、省略時デバイス初期値。 設定できる値の範囲:0.0~1.0 |
minHeight | float | No | 検出最小サイズ(h)。minHeight < maxHeightとすること、省略時はデバイス初期値 設定できる値の範囲:0.0~1.0 |
maxWidth | float | No | 検出最大サイズ(w)。minWidth < maxWidthとすること、省略時はデバイス初期値 設定できる値の範囲:0.0~1.0 |
maxHeight | float | No | 検出最大サイズ(h)。minHeight < maxHeightとすること、省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
eyeThreshold | float | No | 目の座標検出しきい値。省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
noseThreshold | float | No | 鼻の座標検出しきい値。省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
mouthThreshold | float | No | 口の座標検出しきい値。省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
blinkThreshold | float | No | 目つむり検出しきい値。省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
ageThreshold | float | No | 年齢推定しきい値。省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
genderThreshold | float | No | 性別推定しきい値。省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
faceDirectionThreshold | float | No | 顔向き推定しきい値。省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
gazeThreshold | float | No | 視線推定しきい値。省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
expressionThreshold | float | No | 表情推定しきい値。省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
options | array(string) | No | 利用するオプション機能。利用するオプション機能を指定する。複数指定可能。省略時は指定なし。 ※使用できるオプションはデバイスプラグインによって違う。 例)eye, nose, mouth, blink,age,gender,faceDirection,gaze,expressionをカンマ区切りで指定することで、それぞれの検出値がある場合はレスポンスに含めることができる。ただし、デバイスによって対応していない値がある。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | ||
プロファイル名 | profile | string | Yes | プロファイル名。 | ||
インターフェース名 | interface | string | Yes | インターフェース名。 | ||
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | ||
顔検出リスト | faceDetects | array(object) | Yes | 検出された数分出現する。 | ||
検出領域の中心X座標 | x | float | Yes | 0.0~1.0 | ||
検出領域の中心Y座標 | y | float | Yes | 0.0~1.0 | ||
検出領域のX方向の幅 | width | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | ||
検出領域のY方向の幅 | height | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | ||
解析の信頼度 | confidence | float | Yes | 0.0~1.0 | ||
目検出情報 | eyePoints | object | No | |||
左目の中心座標(x) | leftEyeX | float | No | 0.0~1.0 | ||
左目の中心座標(y) | leftEyeY | float | No | 0.0~1.0 | ||
左目の領域幅(w) | leftEyeWidth | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | ||
左目の領域幅(h) | leftEyeHeight | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | ||
右目の中心座標(x) | rightEyeX | float | No | 0.0~1.0 | ||
右目の中心座標(y) | rightEyeY | float | No | 0.0~1.0 | ||
右目の領域幅(w) | rightEyeWidth | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | ||
右目の領域幅(h) | rightEyeHeight | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | ||
解析の信頼度 | confidence | float | No | 0.0~1.0 | ||
鼻検出情報 | nosePoints | object | No | |||
鼻の中心座標(x) | noseX | float | No | 0.0~1.0 | ||
鼻の中心座標(y) | noseY | float | No | 0.0~1.0 | ||
鼻の領域幅(w) | noseWidth | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | ||
鼻の領域幅(h) | noseHeight | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | ||
解析の信頼度 | confidence | float | No | 0.0~1.0 | ||
口検出情報 | mouthPoints | object | No | |||
口の中心座標(x) | mouthX | float | No | 0.0~1.0 | ||
口の中心座標(y) | mouthY | float | No | 0.0~1.0 | ||
口の領域幅(w) | mouthWidth | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | ||
口の領域幅(h) | mouthHeight | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | ||
解析の信頼度 | confidence | float | No | 0.0~1.0 | ||
まばたき検出情報 | blinkResults | object | No | |||
目つむり度合(左) | leftEye | float | No | 0.0~1.0 | ||
目つむり度合(右) | rightEye | float | No | 0.0~1.0 | ||
解析の信頼度 | confidence | float | No | 0.0~1.0 | ||
年齢判定結果 | ageResults | object | No | |||
年齢 | age | integer | No | |||
解析の信頼度 | confidence | float | No | 0.0~1.0 | ||
性別判定結果 | genderResults | object | No | |||
性別 | gender | string | No | male : 男性 female : 女性 | ||
解析の信頼度 | confidence | float | No | 0.0~1.0 | ||
顔の向き判定結果 | faceDirectionResults | object | No | |||
左右方向角度 | yaw | integer | No | -180~180[degree] | ||
上下方向角度 | pitch | integer | No | -180~180[degree] | ||
顔傾き角度 | roll | integer | No | -180~180[degree] | ||
解析の信頼度 | confidence | float | No | 0.0~1.0 | ||
目の向き判定結果 | gazeResults | object | No | |||
左右角度 | gazeLR | integer | No | -90~90[degree] | ||
上下角度 | gateUD | integer | No | -90~90[degree] | ||
解析の信頼度 | confidence | float | No | 0.0~1.0 | ||
表情判定結果 | expressionResults | object | No | |||
左右角度 | expression | string | No | unknown : 無表情 smile : 笑 い/喜び surprise : 驚き mad : 怒り sad : 悲しみ | ||
解析の信頼度 | confidence | float | No | 0.0~1.0 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "humandetection", "attribute" : "onfacedetection", "faceDetects" : [ { "x" : 0.9515625, "y" : 0.9592592592592593, "width" : 0.03177083333333333, "height" : 0.05648148148148148, "confidence" : 0.619, "ageResults" : { "age" : "35", "confidence" : "0.82" }, "genderResults" : { "gender" : "male", "confidence" : "0.75" }, "expressionResults" : { "expression" : "surprise", "confidence" : "0.69" } } ] }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
threshold | float | No | 検出しきい値。省略時はデバイス初期値 設定できる値の範囲:0.0~1.0 |
minWidth | float | No | 検出最小サイズ(w)。minHeight < maxHeightとすること、省略時デバイス初期値。 設定できる値の範囲:0.0~1.0 |
minHeight | float | No | 検出最小サイズ(h)。minHeight < maxHeightとすること、省略時はデバイス初期値 設定できる値の範囲:0.0~1.0 |
maxWidth | float | No | 検出最大サイズ(w)。minWidth < maxWidthとすること、省略時はデバイス初期値 設定できる値の範囲:0.0~1.0 |
maxHeight | float | No | 検出最大サイズ(h)。minHeight < maxHeightとすること、省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
options | array(string) | No | 利用するオプション機能。利用するオプション機能を指定する。複数指定可能。省略時は指定なし。 ※使用できるオプションは無し。 |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
手検出リスト | handDetects | array(object) | Yes | 検出された数分出現する。 | |
検出領域の中心X座標 | x | float | Yes | 0.0~1.0 | |
検出領域の中心Y座標 | y | float | Yes | 0.0~1.0 | |
検出領域のX方向の幅 | width | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | |
検出領域のY方向の幅 | height | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | |
解析の信頼度 | confidence | float | Yes | 0.0~1.0 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "handDetects" : [ { "x" : 0.5114583333333333, "y" : 0.6018518518518519, "width" : 0.15833333333333333, "height" : 0.2814814814814815, "confidence" : 0.962 } ] }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
threshold | float | No | 検出しきい値。省略時はデバイス初期値 設定できる値の範囲:0.0~1.0 |
minWidth | float | No | 検出最小サイズ(w)。minHeight < maxHeightとすること、省略時デバイス初期値。 設定できる値の範囲:0.0~1.0 |
minHeight | float | No | 検出最小サイズ(h)。minHeight < maxHeightとすること、省略時はデバイス初期値 設定できる値の範囲:0.0~1.0 |
maxWidth | float | No | 検出最大サイズ(w)。minWidth < maxWidthとすること、省略時はデバイス初期値 設定できる値の範囲:0.0~1.0 |
maxHeight | float | No | 検出最大サイズ(h)。minHeight < maxHeightとすること、省略時はデバイス初期値。 設定できる値の範囲:0.0~1.0 |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
options | array(string) | No | 利用するオプション機能。利用するオプション機能を指定する。複数指定可能。省略時は指定なし。 ※使用できるオプションは無し。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
手検出リスト | handDetects | array(object) | Yes | 検出された数分出現する。 | |
検出領域の中心X座標 | x | float | Yes | 0.0~1.0 | |
検出領域の中心Y座標 | y | float | Yes | 0.0~1.0 | |
検出領域のX方向の幅 | width | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | |
検出領域のY方向の幅 | height | float | No | ※領域幅が提供できない場合は出現しない。 0.0~1.0 | |
解析の信頼度 | confidence | float | Yes | 0.0~1.0 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "humandetection", "attribute" : "onhanddetection", "handDetects" : [ { "x" : 0.5114583333333333, "y" : 0.6018518518518519, "width" : 0.15833333333333333, "height" : 0.2814814814814815, "confidence" : 0.962 } ] }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
湿度 | humidity | float | Yes | 湿度センサーが検知した湿度を通知する。 範囲: 0.0 ~ 1.0 |
湿度のタイムスタンプ | timeStamp | long | No | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 |
湿度のタイムスタンプ文字列 | timeStampString | dateTime | No | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "humidity" : 0.1, "timeStamp" : 1431856940275, "timeStampString" : "2015-05-17T10:02:20+09:00" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
照度 | illuminance | float | Yes | 照度センサーが検知した照度。単位はルクス(lx)。 |
照度のタイムスタンプ | timeStamp | long | No | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 |
照度のタイムスタンプ文字列 | timeStampString | dateTime | No | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "illuminance" : 240, "timeStamp" : 1431856940275, "timeStampString" : "2015-05-17T10:02:20+09:00" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
KeyEvent | keyevent | object | Yes | KeyEventのオブジェクト。 | |
離されたKeyのID | id | integer | Yes | ||
離されたKeyのConfig | config | string | No |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "keyevent" : { "config" : "5", "id" : 149 } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
KeyEvent | keyevent | object | Yes | KeyEventのオブジェクト。 | |
離されたKeyのID | id | integer | Yes | ||
離されたKeyのConfig | config | string | No |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "keyevent", "attribute" : "ondown", "keyevent" : { "config" : "5", "id" : 149 } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
KeyEvent | keyevent | object | Yes | KeyEventのオブジェクト。 | |
押された、もしくは離された時の状態 | state | string | Yes | up:Keyが離された。 down:Keyが押された。 | |
押された、もしくは離された時のKeyのID | id | integer | Yes | ||
押された、もしくは離された時のKeyのConfig | config | string | No |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "keyevent" : { "state" : "up", "config" : "5", "id" : 149 } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
KeyEvent | keyevent | object | Yes | KeyEventのオブジェクト。 | |
押された、もしくは離された時の状態 | state | string | Yes | up:Keyが離された。 down:Keyが押された。 | |
押された、もしくは離された時のKeyのID | id | integer | Yes | ||
押された、もしくは離された時のKeyのConfig | config | string | No |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "keyevent", "attribute" : "onkeychange", "keyevent" : { "state" : "up", "config" : "5", "id" : 149 } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
KeyEvent | keyevent | object | Yes | KeyEventのオブジェクト。 | |
押されたKeyのID | id | integer | Yes | ||
押されたKeyのConfig | config | string | No |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "keyevent" : { "config" : "play", "id" : 672 } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
KeyEvent | keyevent | object | Yes | KeyEventのオブジェクト。 | |
押されたKeyのID | id | integer | Yes | ||
押されたKeyのConfig | config | string | No |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "keyevent", "attribute" : "onup", "keyevent" : { "config" : "play", "id" : 672 } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
ライト一覧 | lights | array(object) | Yes | ライト一覧を格納する配列。 | |
ライトID | lightId | string | Yes | ライトを識別するID。 | |
ライト名 | name | string | Yes | ライト名。 | |
ライトの点灯状態 | on | boolean | Yes | ライトの点灯状態を示す。 true: 点灯 false: 消灯 | |
コンフィグ | config | string | Yes | ライトに設定がある場合には、ここに文字列としてデータが格納されている。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "lights" : [ { "config" : "", "on" : false, "name" : "Example Light 1", "lightId" : "0" }, { "config" : "", "on" : true, "name" : "Example Light 2", "lightId" : "1" } ] }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
lightId | string | No | ライトID。操作の対象となるライト。省略された場合、デフォルトのライトが選択される。 |
brightness | float | No | ライトの明るさ。ライトの明るさを0.0-1.0で表す。 |
color | string | No | ライトの色。RGB形式の16進数で指定。 |
flashing | array(long) | No | ライトの点滅間隔。点滅間隔をカンマ区切りの msecで点灯、消灯を繰り返し指定できる。このパラメータを指定しなかった場合は、 常時点灯。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
lightId | string | No | ライトID。操作の対象となるライト。省略された場合、デフォルトのライトが選択される。 |
name | string | Yes | ライト名。 |
brightness | float | No | ライトの明るさ。ライトの明るさを0.0-1.0で表す。 |
color | string | No | ライトの色。RGB形式の16進数で指定。 |
flashing | array(long) | No | ライトの点滅間隔。点滅間隔をカンマ区切りの msecで点灯、消灯を繰り返し指定できる。このパラメータを指定しなかった場合は、 常時点灯。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
lightId | string | No | ライトID。操作の対象となるライト。省略された場合、デフォルトのライトが選択される。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mediaId | string | Yes | メディアID。メディアを識別するID。メディアIDは同プロファイルのMediaList APIで取得する。 |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
MimeType | mimeType | string | No | 録画・録音する際のエンコードするMimeType。 | |
タイトル名 | title | string | No | 楽曲名や動画名等。 | |
タイプ名 | type | string | No | タイトルの種別。「Music」(楽曲名)、「Movie」(動画名)など。 | |
言語 | language | string | No | 言語。BCP47で定義されている文字列を設定する。(例)「ja」「en-us」。 | |
説明文 | description | string | No | 内容についての説明。 | |
画像URI | imageUri | string | No | アルバムカバーや動画サムネイルなどの画像へのURI。 | |
曲の長さ | duration | float | Yes | 秒単位。 | |
制作者情報 | creators | object | No | ||
制作者名 | creator | string | Yes | 制作を行った個人や法人の名称(楽曲のアーティスト名、動画の制作監督名、配給会社名など)。 | |
役割 | role | float | Yes | 制作者の役割。「Artist」アーティスト名。「Lyrics」作詞者名。「Composer」作曲者名。「Film distributer」映画配給会社名。※上記以外の文字列を自由に設定してもよい。※W3Cでは明確な定義が無い。 | |
キーワード | keywords | array(string) | No | 内容についての各種キーワードをstring配列で返す。 | |
ジャンル | genres | array(string) | No | ジャンルをstring配列で返す。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "mediaId" : "1234", "mimeType" : "audio/mpeg", "title" : "Test Music 1", "type" : "Music", "language" : "ja", "description" : "", "imageUri" : "", "duration" : 100, "creators" : [ { "creator" : "Tester 1", "role" : "Artist" }, { "creator" : "Tester 1", "role" : "Composer" } ], "keywords" : [ "Test1", "Sample" ], "genres" : [ "J-POP", "Sample" ] }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mediaId | string | Yes | メディアID。メディアを識別するID。メディアIDは同プロファイルのMediaList APIで取得する。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mediaId | string | No | メディアID。メディアを識別するID。メディアIDは同プロファイルのMediaList APIで取得する。 |
query | string | No | 検索する文字列。部分一致検索を行い、一致対象はレスポンスパラメータのタイトル名(title)、制作者名(creators/creator)。 |
mimeType | string | No | MimeType。情報を取得するファイルの種別ごとに区切りたい場合は、mimeTypeを指定する 例)video%2F |
order | array(string) | No | 検索結果の並び順。検索結果の並び順。辞書順ソートの基準にするレスポンスパラメータの物理名と昇順・降順をカンマ区切りで指定する。物理名を最初に指定し、次に昇順はascを、降順はdescを指定する。省略時は、order=title,ascをしたのと同等となる。例)duration,asc |
offset | integer | No | 一覧の開始エントリ位置オフセット。全検索結果エントリの内、取得する一覧の開始エントリの位置を指定する。省略時は全検索結果の先頭エントリからの取得となり、offset=0と同義。レスポンスパラメータの count と併用して、検索結果のページングを実現する。 |
limit | integer | No | 一覧エントリ数の上限。取得する一覧のエントリ数の上限。省略もしくは0が指定された場合、全検索結果エントリを返却する。レスポンスパラメータの count と併用して、検索結果のページングを実現する。 |
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | ||
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | ||
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | ||
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | ||
全検索結果の件数 | count | integer | Yes | 全検索結果の件数。リクエストパラメータの offset および limit と併用して、検索結果のページングを実現する。 | ||
検索にヒットしたメディアの情報 | media | array(object) | Yes | |||
メディアID | mediaId | string | Yes | メディアを識別するID。 | ||
MimeType | mimeType | string | No | 録画・録音する際のエンコードするMimeType。 | ||
タイトル名 | title | string | No | 楽曲名や動画名等。 | ||
タイプ名 | type | string | No | タイトルの種別。「Music」(楽曲名)、「Movie」(動画名)など。 | ||
言語 | language | string | No | 言語。BCP47で定義されている文字列を設定する。(例)「ja」「en-us」。 | ||
説明文 | description | string | No | 内容についての説明。 | ||
画像URI | imageUri | string | No | アルバムカバーや動画サムネイルなどの画像へのURI。 | ||
曲の長さ | duration | float | No | 秒単位。 | ||
制作者情報 | creators | object | No | |||
制作者名 | creator | string | Yes | 制作を行った個人や法人の名称(楽曲のアーティスト名、動画の制作監督名、配給会社名など)。 | ||
役割 | role | float | Yes | 制作者の役割。「Artist」アーティスト名。「Lyrics」作詞者名。「Composer」作曲者名。「Film distributer」映画配給会社名。※上記以外の文字列を自由に設定してもよい。※W3Cでは明確な定義が無い。 | ||
キーワード | keywords | array(string) | No | 内容についての各種キーワードをstring配列で返す。 | ||
ジャンル | genres | array(string) | No | ジャンルをstring配列で返す。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "count" : 3, "media" : [ { "mediaId" : "1234", "mimeType" : "audio/mpeg", "title" : "Test Music 1", "type" : "Music", "language" : "ja", "description" : "", "imageUri" : "", "duration" : 100, "creators" : [ { "creator" : "Tester 1", "role" : "Artist" }, { "creator" : "Tester 1", "role" : "Composer" } ], "keywords" : [ "Test1", "Sample" ], "genres" : [ "J-POP", "Sample" ] }, { "mediaId" : "2345", "mimeType" : "audio/mpeg", "title" : "Test Music 2", "type" : "Music", "language" : "ja", "description" : "", "imageUri" : "", "duration" : 200, "creators" : [ { "creator" : "Tester 2", "role" : "Artist" }, { "creator" : "Tester 2", "role" : "Composer" } ], "keywords" : [ "Test 2", "Sample" ], "genres" : [ "J-POP", "Sample" ] }, { "mediaId" : "3456", "mimeType" : "audio/mpeg", "title" : "Test Music 3", "type" : "Music", "language" : "ja", "description" : "", "imageUri" : "", "duration" : 300, "creators" : [ { "creator" : "Tester 3", "role" : "Artist" }, { "creator" : "Tester 3", "role" : "Composer" } ], "keywords" : [ "Test 3", "Sample" ], "genres" : [ "J-POP", "Sample" ] } ] }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ミュート状態 | mute | boolean | Yes | 再生音量のミュート状態を表す。 true: ミュート有り false: ミュート無し |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "mute" : false }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
Player情報 | mediaPlayer | object | Yes | ||
状態 | status | string | Yes | メディアプレイヤーの状態。 play : 再生 stop : 再生停止 mute : ミュート unmute : ミュート解除 pause : 一時停止 resume : 一時停止解除 media : 再生コンテンツ変更 volume : 音量変更 complete : 再生完了 | |
メディアID | mediaId | string | Yes | メディアを識別するID。 | |
MimeType | mimeType | string | No | 録画・録音が開始されたメディアのMimeType。このタイプで、動画、音声などを識別する。 | |
再生位置 | pos | string | No | トラックの再生位置を秒単位で返す。 | |
メディア再生音量 | volume | string | No | メディアの再生音量を0から1の割合で表す。 範囲 (0.0 <= volume <= 1.0) |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "mediaplayer", "attribute" : "onstatuschange", "mediaPlayer" : { "status" : "media", "mediaId" : "1234", "mimeType" : "application/ogg", "pos" : 0, "volume" : 1 } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
Player情報 | mediaPlayer | object | Yes | ||
状態 | status | string | Yes | メディアプレイヤーの状態。 play : 再生 stop : 再生停止 mute : ミュート unmute : ミュート解除 pause : 一時停止 resume : 一時停止解除 media : 再生コンテンツ変更 volume : 音量変更 complete : 再生完了 | |
メディアID | mediaId | string | Yes | メディアを識別するID。 | |
MimeType | mimeType | string | No | 録画・録音が開始されたメディアのMimeType。このタイプで、動画、音声などを識別する。 | |
再生位置 | pos | string | No | トラックの再生位置を秒単位で返す。 | |
メディア再生音量 | volume | string | No | メディアの再生音量を0から1の割合で表す。 範囲 (0.0 <= volume <= 1.0) |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "mediaplayer", "attribute" : "onstatuschange", "mediaPlayer" : { "status" : "media", "mediaId" : "1234", "mimeType" : "application/ogg", "pos" : 0, "volume" : 1 } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
再生状態 | status | string | Yes | ・play : 再生 ・stop : 停止 ・pause : 一時停止 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "status" : "stop" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
再生位置 | pos | integer | Yes | 秒単位。最大値はMedia API(GET)やMediaList APIで取得できるパラメータ duration に相当する。 範囲(0 ≤ pos ≤ duration) |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "pos" : 60 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
pos | long | Yes | 再生位置。秒単位。最大値はMedia API(GET)やMediaList APIで取得できるパラメータ duration に相当する。 範囲(0 ≤ pos ≤ duration) |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
設定したいメディア再生音量 | volume | float | Yes | メディアの再生音量を0から1の割合で表す。 範囲 (0.0 <= voleme <= 1.0) |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "volume" : 0.25 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
volume | float | Yes | 設定したいメディア再生音量。メディアの再生音量を0から1の割合で表す。 範囲 (0.0 <= voleme <= 1.0) |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | ||
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | ||
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | ||
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | ||
レコーダーリスト | recorders | array(object) | Yes | レコーダー情報の配列。 | ||
レコーダーID | id | string | Yes | レコーダーを識別するID。 | ||
レコーダー名 | name | string | Yes | レコーダー名。 | ||
レコーダーの状態 | state | string | Yes | レコーダーの状態。 | ||
MIME Type | mimeType | string | Yes | レコーダーのエンコードするタイプ。 | ||
コンフィグ | config | string | Yes | カメラに設定がある場合には、ここに文字列としてデータが格納されている。 | ||
画像の横幅 | imageWidth | integer | No | レコーダーの現在の横幅。単位はピクセル。録音の場合は省略可。 | ||
画像の縦幅 | imageHeight | integer | No | レコーダーの現在の縦幅。単位はピクセル。録音の場合は省略可。 | ||
プレビューの横幅 | previewWidth | integer | No | プレビューの現在の横幅。単位はピクセル。録音の場合は省略可。 | ||
プレビューの縦幅 | previewHeight | integer | No | プレビューの現在の縦幅。単位はピクセル。録音の場合は省略可。 | ||
プレビューの最大フレームレート | previewMaxFrameRate | float | No | 現在のプレビューのフレームレートの最大値。単位はfps。録音の場合は省略可。 | ||
音声情報 | audio | object | No | 録音する音声に関する情報。 | ||
チャンネル数 | channels | integer | Yes | 音声のチャンネル数。 | ||
サンプルレート | sampleRate | float | Yes | 音声のサンプルレート。単位はHz。 | ||
サンプルサイズ | sampleSize | integer | Yes | 音声のサンプルサイズ。単位はビット。 | ||
ブロックサイズ | blockSize | integer | Yes | 音声のブロックサイズ。単位はバイト。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "recorders" : [ { "id" : "photo_0", "name" : "Dummy Camera Recorder - back", "state" : "inactive", "imageWidth" : 3264, "imageHeight" : 2448, "previewWidth" : 640, "previewHeight" : 480, "previewMaxFrameRate" : 10, "mimeType" : "image/png", "config" : "" }, { "id" : "photo_1", "name" : "Dummy Camera Recorder - front", "state" : "inactive", "imageWidth" : 1280, "imageHeight" : 960, "previewWidth" : 640, "previewHeight" : 480, "previewMaxFrameRate" : 10, "mimeType" : "image/png", "config" : "" }, { "id" : "video_0", "name" : "Dummy Video Recorder - back", "state" : "inactive", "imageWidth" : 640, "imageHeight" : 480, "mimeType" : "video/3gp", "config" : "" }, { "id" : "video_1", "name" : "Dummy Video Recorder - front", "state" : "inactive", "imageWidth" : 640, "imageHeight" : 480, "mimeType" : "video/3gp", "config" : "" }, { "id" : "audio", "name" : "Dummy Audio Recorder", "state" : "inactive", "mimeType" : "audio/3gp", "config" : "" }, { "id" : "screen", "name" : "Dummy Screen", "state" : "inactive", "imageWidth" : 1080, "imageHeight" : 1776, "previewWidth" : 270, "previewHeight" : 444, "previewMaxFrameRate" : 10, "mimeType" : "video/x-mjpeg", "config" : "" } ] }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
target | string | No | ターゲット。レコーダーを識別するID。省略された場合にはデフォルトのレコーダーを使用する。デバイスが音声・動画の両方のレコーダーをサポートする場合、どちらのレコーダーが使用されるかどうかはデバイスプラグイン依存とする。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
写真データ | photo | object | Yes | 撮影された写真データ。 | |
URI | uri | string | No | 撮影された写真のURI。 | |
ファイルパス | path | string | Yes | ファイルが存在するパス。ルートはデバイスプラグインごとに異なる。File APIで使用可能。 | |
MIME Type | mimeType | string | Yes | 撮影された写真のMIME Type。動画・音声を識別するために使用する。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "uri" : "Dummy URI", "path" : "Dummy Path" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
写真データ | photo | object | Yes | 撮影された写真データ。 | |
URI | uri | string | No | 撮影された写真のURI。 | |
ファイルパス | path | string | Yes | ファイルが存在するパス。ルートはデバイスプラグインごとに異なる。File APIで使用可能。 | |
MIME Type | mimeType | string | Yes | 撮影された写真のMIME Type。動画・音声を識別するために使用する。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "mediastreamrecording", "attribute" : "onphoto", "photo" : { "uri" : "Dummy URI", "path" : "Dummy Path", "mimeType" : "image/png" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
レコーディング情報 | media | object | Yes | レコーディング情報 | |
レコーディングの状態 | status | string | Yes | レコーディングの状態を識別する文字列。 | |
URI | uri | string | No | 動画または音声のURI。 | |
ファイルパス | path | string | No | ファイルが存在するパス。ルートはデバイスプラグインごとに違う。 | |
MIME Type | mimeType | string | Yes | 録画・録音が開始されたメディアのMIME Type。このタイプで、動画、音声などを識別する。 | |
エラーメッセージ | errorMessasge | string | No | エラー、警告内容を伝える文字列。状態が error、warning の時のみ付加される。省略可能。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "media" : { "status" : "stop", "path" : "Dummy Path", "mimeType" : "video/3gp" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
レコーディング情報 | media | object | Yes | レコーディング情報 | |
レコーディングの状態 | status | string | Yes | レコーディングの状態を識別する文字列。 | |
URI | uri | string | No | 動画または音声のURI。 | |
ファイルパス | path | string | No | ファイルが存在するパス。ルートはデバイスプラグインごとに違う。 | |
MIME Type | mimeType | string | Yes | 録画・録音が開始されたメディアのMIME Type。このタイプで、動画、音声などを識別する。 | |
エラーメッセージ | errorMessasge | string | No | エラー、警告内容を伝える文字列。状態が error、warning の時のみ付加される。省略可能。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "mediastreamrecording", "attribute" : "onrecordingchange", "media" : { "status" : "stop", "path" : "Dummy Path", "mimeType" : "image/png" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
target | string | No | ターゲット。レコーダーを識別するID。省略された場合にはデフォルトのレコーダーを使用する。デバイスが音声・動画の両方のレコーダーをサポートする場合、どちらのレコーダーが使用されるかどうかはデバイスプラグイン依存とする。 |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
MIME Type | mimeType | array(string) | Yes | 録画・録音する際のエンコードするタイプの一覧 | |
撮影時の解像度の一覧 | imageSizes | array(object) | No | レコーダーのサポートする画像の解像度の一覧。録音の場合は省略可。プラグイン側でリサイズすることでサポートするサイズも含めてよい。 | |
横幅 | width | integer | Yes | 画像の横幅。単位はピクセル。 | |
縦幅 | height | integer | Yes | 画像の縦幅。単位はピクセル。 | |
プレビュー時の解像度の一覧 | previewSizes | array(object) | No | プレビューで利用可能な解像度の一覧。録音の場合、またはプレビューを 提供しない場合は省略可。プラグイン側でリサイズすることでサポートするサイズも含めてよい。 | |
横幅 | width | integer | Yes | 画像の横幅。単位はピクセル。 | |
縦幅 | height | integer | Yes | 画像の縦幅。単位はピクセル。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "imageSize" : [ { "width" : 3264, "height" : 2448 }, { "width" : 3200, "height" : 2400 }, { "width" : 2592, "height" : 1944 }, { "width" : 2048, "height" : 1536 }, { "width" : 1920, "height" : 1080 }, { "width" : 1600, "height" : 1200 }, { "width" : 1280, "height" : 960 }, { "width" : 1280, "height" : 768 }, { "width" : 1280, "height" : 720 }, { "width" : 1024, "height" : 768 }, { "width" : 800, "height" : 600 }, { "width" : 800, "height" : 480 }, { "width" : 720, "height" : 480 }, { "width" : 640, "height" : 480 }, { "width" : 352, "height" : 288 }, { "width" : 320, "height" : 240 }, { "width" : 176, "height" : 144 } ], "previewSize" : [ { "width" : 1920, "height" : 1080 }, { "width" : 1600, "height" : 1200 }, { "width" : 1280, "height" : 960 }, { "width" : 1280, "height" : 768 }, { "width" : 1280, "height" : 720 }, { "width" : 1024, "height" : 768 }, { "width" : 800, "height" : 600 }, { "width" : 800, "height" : 480 }, { "width" : 720, "height" : 480 }, { "width" : 640, "height" : 480 }, { "width" : 352, "height" : 288 }, { "width" : 320, "height" : 240 }, { "width" : 176, "height" : 144 } ], "mimeType" : [ "image/png" ] }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
target | string | No | ターゲット。レコーダーを識別するID。省略された場合にはデフォルトのレコーダーを使用する。デバイスが音声・動画の両方のレコーダーをサポートする場合、どちらのレコーダーが使用されるかどうかはデバイスプラグイン依存とする。 |
imageWidth | integer | No | 撮影時の横幅。単位はピクセル。previewHeightを指定するときは省略不可。Options API GETで返された値以外を指定した場合はパラメータエラー。 |
imageHeight | integer | No | 撮影時の縦幅。単位はピクセル。previewWidthを指定するときは省略不可。Options API GETで返された値以外を指定した場合はパラメータエラー。 |
previewWidth | integer | No | プレビュー時の横幅。単位はピクセル。previewHeightを指定するときは省略不可。Options API GETで返された値以外を指定した場合はパラメータエラー。 |
previewHeight | integer | No | プレビュー時の縦幅。単位はピクセル。previewWidthを指定するときは省略不可。Options API GETで返された値以外を指定した場合はパラメータエラー。 |
previewMaxFrameRate | float | No | プレビュー時の最大フレームレート。単位はfps。範囲は0.0より大きい小数値。 |
mimeType | string | Yes | MimeType。動画録画・音声録音するときのエンコードするタイプ。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
target | string | No | ターゲット。レコーダーを識別するID。省略された場合にはデフォルトのレコーダーを使用する。デバイスが音声・動画の両方のレコーダーをサポートする場合、どちらのレコーダーが使用されるかどうかはデバイスプラグイン依存とする。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
target | string | No | ターゲット。レコーダーを識別するID。省略された場合にはデフォルトのレコーダーを使用する。デバイスが音声・動画の両方のレコーダーをサポートする場合、どちらのレコーダーが使用されるかどうかはデバイスプラグイン依存とする。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
プレビュー画像URI | uri | string | Yes | プレビュー画像URI。形式はJPEGとする。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "uri" : "Dummy Preview URI" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
target | string | No | ターゲット。レコーダーを識別するID。省略された場合にはデフォルトのレコーダーを使用する。デバイスが音声・動画の両方のレコーダーをサポートする場合、どちらのレコーダーが使用されるかどうかはデバイスプラグイン依存とする。 |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
プレビュー配信URI | uri | string | Yes | 開始したプレビューの配信用URI。形式はMotionJPEGとする。 | |
ストリームのリスト | streams | array(object) | No | ストリーム情報の配列。 | |
ストリームのMIMEType | mimeType | string | Yes | ストリームのMIMEType。 | |
ストリームのURI | uri | string | Yes | ストリームのURI。 | |
音声配信情報 | audio | object | No | 音声配信に関する情報。音声のみの配信をサポートしない場合は省略可。 | |
音声配信URI | uri | string | Yes | 音声配信URI。 |
{ "streams" : [ { "mimeType" : "video/x-mjpeg", "uri" : "http://localhost:9000/xxxxxx" }, { "mimeType" : "video/x-rtp", "uri" : "rtsp://localhost:8086" } ], "result" : 0, "product" : "Example System", "version" : "1.0.0", "uri" : "Dummy Preview URI" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
target | string | No | ターゲット。レコーダーを識別するID。省略された場合にはデフォルトのレコーダーを使用する。デバイスが音声・動画の両方のレコーダーをサポートする場合、どちらのレコーダーが使用されるかどうかはデバイスプラグイン依存とする。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
target | string | No | ターゲット。レコーダーを識別するID。省略された場合にはデフォルトのレコーダーを使用する。デバイスが音声・動画の両方のレコーダーをサポートする場合、どちらのレコーダーが使用されるかどうかはデバイスプラグイン依存とする。 |
timeslice | long | No | タイムスライス。動画・音声入力などから得られた1フレームを新たに出力先メディアに書き出すまでの待ち時間。単位はミリ秒。1000/timesliceが出力メディアの固定フレームレート(フレーム/秒)に相当する。省略された場合には、デバイス毎の挙動でフレーム書き出しを行う。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
URI | uri | string | No | 動画または音声のURI。 |
ファイルパス | path | string | No | 動画または音声へのファイルパス。ルートはデバイスプラグインごとに異なる。File APIのパラメータとして使用可能。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "uri" : "Dummy URI", "path" : "Dummy Path" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
target | string | No | ターゲット。レコーダーを識別するID。省略された場合にはデフォルトのレコーダーを使用する。デバイスが音声・動画の両方のレコーダーをサポートする場合、どちらのレコーダーが使用されるかどうかはデバイスプラグイン依存とする。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
target | string | No | ターゲット。レコーダーを識別するID。省略された場合にはデフォルトのレコーダーを使用する。デバイスが音声・動画の両方のレコーダーをサポートする場合、どちらのレコーダーが使用されるかどうかはデバイスプラグイン依存とする。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
URI | uri | string | No | 動画または音声のURI。 |
ファイルパス | path | string | No | 動画または音声へのファイルパス。ルートはデバイスプラグインごとに異なる。File APIのパラメータとして使用可能。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
target | string | No | ターゲット。レコーダーを識別するID。省略された場合にはデフォルトのレコーダーを使用する。デバイスが音声・動画の両方のレコーダーをサポートする場合、どちらのレコーダーが使用されるかどうかはデバイスプラグイン依存とする。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
URI | uri | string | Yes | 撮影された写真のURI。 |
ファイルパス | path | string | Yes | 撮影された写真へのファイルパス。ルートはデバイスプラグインごとに異なる。File APIのパラメータとして使用可能。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "uri" : "Dummy URI", "path" : "Dummy Path" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
target | string | No | ターゲット。レコーダーを識別するID。省略された場合にはデフォルトのレコーダーを使用する。デバイスが音声・動画の両方のレコーダーをサポートする場合、どちらのレコーダーが使用されるかどうかはデバイスプラグイン依存とする。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
チャンネル | channels | array(object) | Yes | チャンネルを格納する配列。 | |
チャンネル識別子 | id | string | Yes | チャンネルを識別するID。 | |
チャンネル名 | name | string | Yes | チャンネルの名前。 | |
チャンネルタイプ | type | string | Yes | チャンネルのタイプ ・line ・slack など |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "channels" : [ { "id" : "xxxxxxxx", "name" : "名前", "type" : "slack" }, { "id" : "xxxxxxxx", "name" : "名前", "type" : "slack" } ] }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
メッセージ | messages | array(object) | Yes | メッセージ情報。 | |
メッセンジャータイプ | messagerType | string | Yes | メッセンジャーのタイプ ・line ・slack など。 | |
送信元ID | from | long | Yes | ||
チャンネルID | channelId | string | Yes | チャンネルを識別するID。 | |
投稿した時間 | timeStamp | long | Yes | ||
投稿した時間の文字列 | timeStampString | dateTime | Yes | 投稿した時間をRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 | |
チャンネル名 | text | string | No | チャンネルの名前。 | |
リソースURI | resource | string | No | 送られてきたメッセージのリソースへのURI。 メッセージが指定されていない時は省略されない。 | |
MimeType | mimeType | string | No | リソースのタイプ。 メッセージが指定されていない時は省略されない。 | |
メッセージタイプ | messageType | string | No | normal, direct, mention の文字列(複数になる場合がある「direct, mention」など) ・normal: 通常メッセージ ・direct: ダイレクトメッセージ ・mention: メンション付きメッセージ #メンション付きのメッセージのtextはメンション部分が削除されます。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "messages" : [ { "messengerType" : "facebook", "from" : "abcdef", "timeStamp" : 1234567890, "timeStampString" : "2015-05-17T10:02:20+09:00", "channelId" : "1", "text" : "ライトをつけて", "resource" : "http://www.gclue.io/a.png", "mimeType" : "image/png", "messageType" : "direct" } ] }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
channelId | string | Yes | チャンネルID。メッセージの投稿先チャンネルID。 |
text | string | No | テキスト。送信する文言。 リソースURIが指定されていない時は省略できない。 |
resource | string | No | リソースURI。画像、音声、映像などのリソースへのURI。 テキストが指定されていない時は省略できない。 |
mimeType | string | No | MimeType。送信するリソースのタイプ。 リソースURIが指定されている時は省略できない。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
メッセージ | message | object | Yes | ||
メッセンジャータイプ | messagerType | string | Yes | メッセンジャーのタイプ ・line ・slack など。 | |
送信元ID | from | long | Yes | ||
チャンネルID | channelId | string | Yes | チャンネルを識別するID。 | |
投稿した時間 | timeStamp | long | Yes | ||
投稿した時間の文字列 | timeStampString | dateTime | Yes | 投稿した時間をRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 | |
チャンネル名 | text | string | No | チャンネルの名前。 | |
リソースURI | resource | string | No | 送られてきたメッセージのリソースへのURI。 メッセージが指定されていない時は省略されない。 | |
MimeType | mimeType | string | No | リソースのタイプ。 メッセージが指定されていない時は省略されない。 | |
メッセージタイプ | messageType | string | No | normal, direct, mention の文字列(複数になる場合がある「direct, mention」など) ・normal: 通常メッセージ ・direct: ダイレクトメッセージ ・mention: メンション付きメッセージ #メンション付きのメッセージのtextはメンション部分が削除されます。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "message" : { "messengerType" : "xxxx", "from" : "abcdef", "timeStamp" : 1234567890, "timeStampString" : "2015-05-17T10:02:20+09:00", "channelId" : "1", "text" : "ライトをつけて", "resource" : "http://org.deviceconnect/test.png", "mimeType" : "image/png", "messageType" : "direct" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
メッセージ | message | object | Yes | ||
メッセンジャータイプ | messagerType | string | Yes | メッセンジャーのタイプ ・line ・slack など。 | |
送信元ID | from | long | Yes | ||
チャンネルID | channelId | string | Yes | チャンネルを識別するID。 | |
投稿した時間 | timeStamp | long | Yes | ||
投稿した時間の文字列 | timeStampString | dateTime | Yes | 投稿した時間をRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 | |
チャンネル名 | text | string | No | チャンネルの名前。 | |
リソースURI | resource | string | No | 送られてきたメッセージのリソースへのURI。 メッセージが指定されていない時は省略されない。 | |
MimeType | mimeType | string | No | リソースのタイプ。 メッセージが指定されていない時は省略されない。 | |
メッセージタイプ | messageType | string | No | normal, direct, mention の文字列(複数になる場合がある「direct, mention」など) ・normal: 通常メッセージ ・direct: ダイレクトメッセージ ・mention: メンション付きメッセージ #メンション付きのメッセージのtextはメンション部分が削除されます。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "messageHook", "attribute" : "onMessage", "message" : { "messengerType" : "xxxx", "from" : "abcdef", "timeStamp" : 1234567890, "timeStampString" : "2015-05-17T10:02:20+09:00", "channelId" : "1", "text" : "ライトをつけて", "resource" : "http://org.deviceconnect/test.png", "mimeType" : "image/png", "messageType" : "direct" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
type | integer | Yes | 通知タイプ。通知のタイプを識別する。 0: 音声通話着信 1: メール着信 2: SMS着信 3: イベント |
dir | string | No | 向き。メッセージの文字の向き。 auto: 自動 rtl: 右から左 ltr: 左から右 |
lang | string | No | 言語。メッセージの言語。 ref. BCP47 |
body | string | No | 表示させる文字列。 |
tag | string | No | タグ。任意タグ文字列 カンマ(,)区切りで任意個数指定。 |
uri | string | No | アイコン。アイコンファイルのURI。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ノーティフィケーションID | notificationId | string | Yes | ユニークな文字列。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "notificationId" : 123456 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
notificationId | string | Yes | 通知ID。ユニークな文字列。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ノーティフィケーションID | notificationId | string | Yes | ノーティフィケーションを識別するID。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "notificationId" : 123456 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID |
プロファイル名 | profile | string | Yes | プロファイル名。 |
インターフェース名 | interface | string | Yes | インターフェース名。 |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 |
ノーティフィケーションID | notificationId | string | Yes | ノーティフィケーションを識別するID。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "notification", "attribute" : "onclick", "notificationId" : 123456 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ノーティフィケーションID | notificationId | string | Yes | ノーティフィケーションを識別するID。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "notificationId" : 123456 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID |
プロファイル名 | profile | string | Yes | プロファイル名。 |
インターフェース名 | interface | string | Yes | インターフェース名。 |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 |
ノーティフィケーションID | notificationId | string | Yes | ノーティフィケーションを識別するID。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "notification", "attribute" : "onclose", "notificationId" : 123456 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ノーティフィケーションID | notificationId | string | Yes | ノーティフィケーションを識別するID。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "notificationId" : 123456 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID |
プロファイル名 | profile | string | Yes | プロファイル名。 |
インターフェース名 | interface | string | Yes | インターフェース名。 |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 |
ノーティフィケーションID | notificationId | string | Yes | ノーティフィケーションを識別するID。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "notification", "attribute" : "onerror", "notificationId" : 123456 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ノーティフィケーションID | notificationId | string | Yes | ノーティフィケーションを識別するID。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "notificationId" : 123456 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID |
プロファイル名 | profile | string | Yes | プロファイル名。 |
インターフェース名 | interface | string | Yes | インターフェース名。 |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 |
ノーティフィケーションID | notificationId | string | Yes | ノーティフィケーションを識別するID。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "notification", "attribute" : "onshow", "notificationId" : 123456 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
source | string | Yes | 全方位パノラマ画像URI。ROI画像に変換する全方位パノラマ画像のURI。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
ROI画像配信サーバURI | uri | string | Yes | ROI画像を配信するサーバのURIを示す。配信される画像の形式はMotionJPEGとする。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "uri" : "Dummy Preview URI" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
uri | string | Yes | ROI画像URI。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
uri | string | Yes | ROI画像URI。 |
x | float | No | 視点の絶対座標 (x)。ワールド座標上の視点の絶対座標(前後方向)。単位はメートル。(注1)指定なしの場合は 0.0。 |
y | float | No | 視点の絶対座標 (y)。ワールド座標上の視点の絶対座標(左右方向)。以下、同上。 |
z | float | No | 視点の絶対座標 (z)。ワールド座標上の視点の絶対座標(上下方向)。以下、同上。 |
roll | float | No | 視点の回転 (ロール)。ワールド座標系に対する視点の回転(前後方向の軸中心)。単位はdegree。角度の範囲は0.0〜360.0。0.0, 360.0は撮影時の角度とする。指定なしの場合は0.0。配信開始時の視点の向きは全方位パノラマ画像の中央点。回転の順番はroll, pitch, yawの順。 |
pitch | float | No | 視点の回転 (ピッチ)。ワールド座標系に対する視点の回転(左右方向の軸中心)。以下、同上。 |
yaw | float | No | 視点の回転 (ヨー)。ワールド座標系に対する視点の回転(上下方向の軸中心)。以下、同上。 |
fov | float | No | 視点の画角。視点の画角。角度の範囲は0.0〜180.0。単位はdegree。指定なしの場合は90度。 |
sphereSize | float | No | 天球の大きさ。天球の大きさを半径で指定。単位はメートル。(注1)指定なしの場合は 1。 |
width | integer | No | ROI画像のサイズ (横)。配信されるROI画像の横サイズ。単位はピクセル。指定なしの場合は600。ステレオ画像生成フラグがtrueの場合、左右それぞれに対しての画像のサイズとして適用される。(よって、ステレオ画像全体としての横幅は 2 * width となる) |
height | integer | No | ROI画像のサイズ (縦)。配信されるROI画像の縦サイズ。単位はピクセル。指定なしの場合は400。 |
stereo | boolean | No | ステレオ画像生成フラグ。trueの場合、ROI画像がステレオ画像形式で配信されるようになる。(ステレオ画像左右の視点が) 指定なしの場合はfalse。 |
vr | boolean | No | 仮想現実モードフラグ。trueの場合、仮想現実モード(ホストデバイスの向きとROIの向きを連動させるモード)をONにする。指定なしの場合はfalse。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
phoneNumber | string | Yes | 電話番号。電話番号を示す文字列。文字には数字の0〜9のみを使用可能。長さは11桁または13桁のいずれかとする。11桁は国内電話、13桁は国際電話として扱う。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
電話機能の状態 | phoneStatus | object | Yes | 電話機能の状態を保持するオブジェクト。特定の相手先との通話状態の変化を通知する。 | |
電話番号 | phoneNumber | string | Yes | 相手先の電話番号を示す文字列。文字には数字の0〜9のみを使用可能。長さは11桁または13桁のいずれかとする。11桁は国内電話、13桁は国際電話として扱う。 | |
通話状態 | state | float | Yes | 通話状態を示す定数。 0: 通話開始 1: 通話失敗 2: 通話終了 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "phoneStatus" : { "phoneNumber" : "01234567890", "state" : 2 } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
電話機能の状態 | phoneStatus | object | Yes | 電話機能の状態を保持するオブジェクト。特定の相手先との通話状態の変化を通知する。 | |
電話番号 | phoneNumber | string | Yes | 相手先の電話番号を示す文字列。文字には数字の0〜9のみを使用可能。長さは11桁または13桁のいずれかとする。11桁は国内電話、13桁は国際電話として扱う。 | |
通話状態 | state | float | Yes | 通話状態を示す定数。 0: 通話開始 1: 通話失敗 2: 通話終了 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "phone", "attribute" : "onconnect", "phoneStatus" : { "phoneNumber" : "01234567890", "state" : 2 } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
mode | integer | Yes | 電話のモード。電話のモードを指定 0:サイレント 1:マナー 2:音あり |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
姿勢情報 | pose | object | Yes | ||
姿勢状態 | state | string | Yes | ターゲットデバイスによって測定された姿勢状態を返す。
| |
姿勢推定のタイムスタンプ | timeStamp | long | Yes | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 | |
姿勢推定のタイムスタンプ文字列 | timeStampString | dateTime | Yes | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "pose" : { "state" : "FaceUp", "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
姿勢情報 | pose | object | Yes | ||
姿勢状態 | state | string | Yes | ターゲットデバイスによって測定された姿勢状態を返す。
| |
姿勢推定のタイムスタンプ | timeStamp | long | Yes | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 | |
姿勢推定のタイムスタンプ文字列 | timeStampString | dateTime | Yes | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "poseestimation", "attribute" : "onposeestimation", "pose" : { "state" : "FaceUp", "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
電源状態 | powerstatus | string | Yes | ON:電源オン OFF:電源オフ UNKNOWN:不明 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "powerstatus" : "OFF" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
電源状態 | powerstatus | string | Yes | 電源状態を示す文字列。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "powerstatus" : "OFF" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 取得対象スマートデバイス |
unit | string | No | 瞬時電流量単位。瞬時電流量の単位を指定。 例: 'mA' 'A' 省略時は'A' |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
瞬時電流量 | instantaneouscurrent | object | Yes | 瞬時電流量を表す実数。単位はパラメータによる。 | |
R相瞬時電流量 | rphase | double | Yes | R相の瞬時電流量を表す実数。 | |
T相瞬時電流量 | tphase | double | No | T相の瞬時電流量を表す実数。単相の場合は省略。 | |
瞬時電流量単位 | unit | string | Yes | 瞬時電流量の単位を表す。例:'mA' 'A' |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "instantaneouscurrent" : { "rphase" : 1234.5, "tphase" : -2345.6, "unit" : "mA" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 取得対象スマートデバイス |
unit | string | No | 瞬時電力量単位。瞬時電力量の単位を指定。 例: 'W' 'kW' 省略時は'W' |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
瞬時電力量 | instantaneouspower | double | Yes | 瞬時電力量を表す実数。単位はパラメータ設定による。 |
瞬時電力量単位 | unit | string | Yes | 瞬時電力量の単位を表す。例:'W' 'kW' |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "instantaneouspower" : 38.4, "unit" : "W" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 取得対象スマートデバイス |
date | dateTime | No | 取得日付。 RFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」形式 省略時はAPI実行日時が指定される |
unit | string | No | 積算電力量単位。積算電力量の単位を指定。 省略時は'Wh' |
count | integer | No | 積算電力量コマ数。24時間分の積算電力量を指定数で返す。 24: 24分割=1時間単位(デフォルト) 48: 48分割=30分単位 |
powerFlow | string | No | 積算電力量方向指定。取得する積算電力量の方向を指定。 normal : 正方向 reverse : 逆方向 省略時はnormal (正方向) |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
積算電力量 | integratedpower | array(double) | Yes | 24時間分の計測値を返す。 サイズが24または48のnumberの配列。各値は積算電力量を表す実数。単位はパラメーター設定による。時間順に格納されているため、最初の要素は24時間前のもの。 例: リクエストで date=2015-08-24T15:14:00+0900, count=24 を指定した場合、0から23までの各インデックスに対応する時間帯は下記のとおり。 0 : 2015-08-23T15:00 ~ 15:59 : 23 :2015-08-24T14:00 ~ 14:59 |
積算電力量単位 | unit | string | Yes | 積算電力量の単位を表す。例:'Wh' 'kWh' |
積算電力量コマ数 | count | integer | Yes | 積算電力量コマ数(24または48) |
積算電力量方向 | powerFlow | string | Yes | 積算電力量方向を表す。'normal' 'reverse' |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "integratedpower" : [ 0, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 2048, 1024, 512, 256, 128, 64, 32, 16, 8, 4 ], "unit" : "Wh", "count" : 24, "powerFlow" : "normal" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
近接イベント | proximity | object | Yes | ||
近接距離 | value | integer | No | cm単位の距離。 | |
近接距離最小値 | min | integer | No | cm単位の距離。 | |
近接距離最大値 | max | integer | No | cm単位の距離。 | |
閾値 | threshold | integer | No | cm単位の距離の閾値。 | |
距離識別子 | range | string | No | 距離を示す文字列。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "proximity" : { "value" : 12.3456, "min" : 1.23456, "max" : 123.456, "threshold" : 12.3456, "range" : "NEAR" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
近接イベント | proximity | object | Yes | ||
近接距離 | value | integer | No | cm単位の距離。 | |
近接距離最小値 | min | integer | No | cm単位の距離。 | |
近接距離最大値 | max | integer | No | cm単位の距離。 | |
閾値 | threshold | integer | No | cm単位の距離の閾値。 | |
距離識別子 | range | string | No | 距離を示す文字列。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "proximity", "attribute" : "ondeviceproximity", "proximity" : { "value" : 12.3456, "min" : 1.23456, "max" : 123.456, "threshold" : 12.3456, "range" : "NEAR" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
近接イベント | proximity | object | Yes | ||
近接距離 | value | integer | No | cm単位の距離。 | |
近接距離最小値 | min | integer | No | cm単位の距離。 | |
近接距離最大値 | max | integer | No | cm単位の距離。 | |
閾値 | threshold | integer | No | cm単位の距離の閾値。 | |
距離識別子 | range | string | No | 距離を示す文字列。 |
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
近接イベント | proximity | object | Yes | ||
近接の有無 | near | boolean | Yes | ユーザがデバイスに近接しているかどうか。 true: 近接している false: 近接していない |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "proximity" : { "near" : true } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
近接イベント | proximity | object | Yes | ||
近接の有無 | near | boolean | Yes | ユーザがデバイスに近接しているかどうか。 true: 近接している false: 近接していない |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "proximity", "attribute" : "onuserproximity", "proximity" : { "near" : true } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
近接イベント | proximity | object | Yes | ||
近接の有無 | near | boolean | Yes | ユーザがデバイスに近接しているかどうか。 true: 近接している false: 近接していない |
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
メッセージ(赤外線など) | message | string | Yes | 赤外線などの信号。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "message" : "{data[18031,8755,1190,1190,1190,3341,1190,3341,1190,3341,1190,1190,1190,3341,1190,3341,1190,334 1,1190,3341,1190,3341,1190,3341,1190,1190,1190,1190,1190,1190,1190,1190,1190,3341,1190,3341,1190,1190,1190,3 341,1190,1190,1190,1190,1190,1190,1190,1190,1190,1190,1190,1190,1190,1190,1190,1190,1190,3341,1190,3341,1190 ,3341,1190,3341,1190,3341,1190,65535,0,9379,18031,4400,1190]}" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
message | string | Yes | メッセージ(赤外線など)。赤外線などの信号。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
サービス一覧 | services | array(object) | Yes | DeviceConnectサービスの配列。 | |
サービスID | id | string | Yes | サービスを識別するためのID。 | |
サービス名 | name | string | Yes | サービスの名前。 | |
ネットワーク種別 | type | string | No | ホストデバイスと接続するためのネットワークの種別。 | |
利用可能状態 | online | boolean | Yes | サービスが利用可能であるかどうかを示すフラグ。 | |
コンフィグ | config | string | No | サービス固有の設定がある場合には、ここに文字列として格納される。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "services" : [ { "id" : "example-service-id", "name" : "Example Service", "online" : true } ] }
Name | Type | Required | Description |
---|
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | ||
プロファイル名 | profile | string | Yes | プロファイル名。 | ||
インターフェース名 | interface | string | Yes | インターフェース名。 | ||
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | ||
オブジェクト | networkService | object | Yes | イベントの内容を保持するオブジェクト。 | ||
サービス一覧 | services | array(object) | Yes | DeviceConnectサービスの配列。 | ||
サービスID | id | string | Yes | サービスを識別するためのID。 | ||
サービス名 | name | string | Yes | サービスの名前。 | ||
ネットワーク種別 | type | string | No | ホストデバイスと接続するためのネットワークの種別。 | ||
利用可能状態 | online | boolean | Yes | サービスが利用可能であるかどうかを示すフラグ。 | ||
コンフィグ | config | string | No | サービス固有の設定がある場合には、ここに文字列として格納される。 |
{ "profile" : "serviceDiscovery", "attribute" : "onServiceChange", "networkService" : { "services" : [ { "id" : "example-service-id", "name" : "Example Service", "online" : true } ] } }
Name | Type | Required | Description |
---|
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
オブジェクト | connect | object | Yes | ネットワークの接続状態 | |
Wi-Fi接続フラグ | wifi | boolean | No | Wi-Fiの接続を提供しない場合は省略。 | |
Bluetooth接続フラグ | bluetooth | boolean | No | Bluetoothの接続を提供しない場合は省略。 | |
BLE接続フラグ | ble | boolean | No | BLEの接続を提供しない場合は省略。 | |
NFC接続フラグ | NFC | boolean | No | NFCの接続を提供しない場合は省略。 | |
プロファイル一覧 | supports | array(string) | Yes | サポートしているプロファイル名の配列。 | |
各プロファイルのDeviceConnectAPI仕様定義 | supportApis | object | No | 指定されたサービスのサポートするプロファイル名をキーとして、そのプロファイルのAPIを定義するSwagger 2.0ドキュメントを提供する。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "connect" : { "ble" : true }, "supports" : [ "example" ], "supportApis" : { "example" : { "swagger" : "2.0", "basePath" : "/gotapi/example", "info" : { "title" : "Example Profile", "version" : "1.0", "description" : "" }, "paths" : { "/message" : { "post" : { "x-type" : "one-shot", "summary" : "Post a message.", "parameters" : [ { "name" : "serviceId", "in" : "query", "required" : true, "type" : "string" }, { "name" : "message", "in" : "query", "required" : true, "type" : "string" } ], "responses" : { "200" : { "description" : "" } } } } } } } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
日付 | date | dateTime | Yes | RFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式の日付。 例: 2015-05-17T10:02:20+09:00 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "date" : "2015-05-17T10:02:20+09:00" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
date | dateTime | Yes | RFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式の日付。 例: 2015-05-17T10:02:20+09:00 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
輝度 | level | float | Yes | ディスプレイの輝度を割合で示す 範囲 (0.0 <= level <= 1.0) |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "level" : 0.5 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
level | float | Yes | ディスプレイの輝度を割合で示す 範囲 (0.0 <= level <= 1.0) |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
消灯するまでの時間 | time | long | Yes | ディスプレイが消灯するまでの時間 (ミリ秒) |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "time" : 120000 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
time | long | Yes | ディスプレイが消灯するまでの時間 (ミリ秒) |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
kind | integer | Yes | |Value|Description| |:-----|:-----| |1|Alarm| |2|Voice Volume| |3|Ring Alert| |4|Incoming Mail Alert| |5|Media Player| |6|Other| |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
音量 | level | float | Yes | 音量を割合で示す。(0.0 <= level <= 1.0) |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "level" : 1 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
kind | integer | Yes | |Value|Description| |:-----|:-----| |1|Alarm| |2|Voice Volume| |3|Ring Alert| |4|Incoming Mail Alert| |5|Media Player| |6|Other| |
level | float | Yes | 音量を割合で示す。(0.0 <= level <= 1.0) |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | ||
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | ||
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | ||
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | ||
衝突イベント | collision | object | Yes | 衝突イベントオブジェクト。 | ||
衝突加速度 | impactAcceleration | object | No | 衝突加速度。 | ||
x成分 | x | float | Yes | x軸方向への加速度(cm/s2) | ||
y成分 | y | float | Yes | y軸方向への加速度(cm/s2) | ||
z成分 | z | float | Yes | z軸方向への加速度(cm/s2) | ||
衝突軸 | impactAxis | object | No | 衝突軸。 | ||
x成分 | x | boolean | Yes | x成分。 | ||
y成分 | y | boolean | Yes | y成分。 | ||
衝突力 | impactPower | object | No | 衝突力。 | ||
x成分 | x | float | Yes | x成分。 | ||
y成分 | y | float | Yes | y成分。 | ||
衝突速度 | impactSpeed | float | No | 衝突速度(単位: cm/s) | ||
衝突時刻 | impactTimeStamp | long | No | 衝突した時間のタイムスタンプ(単位: ミリ秒) | ||
衝突時刻の文字列 | impactTimeStampString | dateTime | No | 衝突した時間のタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "collision" : { "impactAxis" : { "x" : true, "y" : false }, "impactPower" : { "x" : 152, "y" : 75 }, "impactSpeed" : 0, "impactTimestamp" : 1483241696789, "impactTimeStampString" : "2015-05-17T10:02:20+09:00", "impactAcceleration" : { "x" : -1.57421875, "y" : -1.53076171875, "z" : 0 } } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
interval | long | No | イベント受信間隔。単位:mSec |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | ||
プロファイル名 | profile | string | Yes | プロファイル名。 | ||
インターフェース名 | interface | string | Yes | インターフェース名。 | ||
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | ||
衝突イベント | collision | object | Yes | 衝突イベントオブジェクト。 | ||
衝突加速度 | impactAcceleration | object | No | 衝突加速度。 | ||
x成分 | x | float | Yes | x軸方向への加速度(cm/s2) | ||
y成分 | y | float | Yes | y軸方向への加速度(cm/s2) | ||
z成分 | z | float | Yes | z軸方向への加速度(cm/s2) | ||
衝突軸 | impactAxis | object | No | 衝突軸。 | ||
x成分 | x | boolean | Yes | x成分。 | ||
y成分 | y | boolean | Yes | y成分。 | ||
衝突力 | impactPower | object | No | 衝突力。 | ||
x成分 | x | float | Yes | x成分。 | ||
y成分 | y | float | Yes | y成分。 | ||
衝突速度 | impactSpeed | float | No | 衝突速度(単位: cm/s) | ||
衝突時刻 | impactTimeStamp | long | No | 衝突した時間のタイムスタンプ(単位: ミリ秒) | ||
衝突時刻の文字列 | impactTimeStampString | dateTime | No | 衝突した時間のタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "sphero", "interface" : "collision", "attribute" : "oncollision", "collision" : { "impactAxis" : { "x" : true, "y" : false }, "impactPower" : { "x" : 152, "y" : 75 }, "impactSpeed" : 0, "impactTimeStamp" : 1483241696789, "impactTimeStampString" : "2015-05-17T10:02:20+09:00", "impactAcceleration" : { "x" : -1.57421875, "y" : -1.53076171875, "z" : 0 } } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
位置 | locator | object | Yes | Spheroの位置座標オブジェクト。 | |
x座標 | positionX | float | Yes | 位置のx座標 (単位: cm) | |
y座標 | positionY | float | Yes | 位置のy座標 (単位: cm) | |
x成分 | velocityX | float | Yes | 速度のx成分 (単位:cm/s) | |
y成分 | velocityY | float | Yes | 速度のy成分 (単位:cm/s) |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "locator" : { "positionX" : -3, "positionY" : 5, "velocityX" : -10, "velocityY" : -1.5 } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
interval | long | No | イベント受信間隔。単位:mSec |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
位置 | locator | object | Yes | Spheroの位置座標オブジェクト。 | |
x座標 | positionX | float | Yes | 位置のx座標 (単位: cm) | |
y座標 | positionY | float | Yes | 位置のy座標 (単位: cm) | |
x成分 | velocityX | float | Yes | 速度のx成分 (単位:cm/s) | |
y成分 | velocityY | float | Yes | 速度のy成分 (単位:cm/s) |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "sphero", "interface" : "locator", "attribute" : "onlocator", "locator" : { "positionX" : -3, "positionY" : 5, "velocityX" : -10, "velocityY" : -1.5 } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
四元数 | quaternion | object | Yes | 四元数オブジェクト。 | |
i軸 | q0 | float | Yes | i軸 | |
j軸 | q1 | float | Yes | j軸 | |
k軸 | q2 | float | Yes | k軸 | |
s軸 | q3 | float | Yes | s軸 | |
インターバル | interval | long | Yes | 計測のインターバル。(単位: ミリ秒) |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "quaternion" : { "q0" : 0.9998000264167786, "q1" : -0.0027000000700354576, "q2" : -0.010099999606609344, "q3" : 0.010900000110268593, "interval" : 220 } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
interval | long | No | イベント受信間隔。単位:mSec |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
四元数 | quaternion | object | Yes | 四元数オブジェクト。 | |
i軸 | q0 | float | Yes | i軸 | |
j軸 | q1 | float | Yes | j軸 | |
k軸 | q2 | float | Yes | k軸 | |
s軸 | q3 | float | Yes | s軸 | |
インターバル | interval | long | Yes | 計測のインターバル。(単位: ミリ秒) |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "sphero", "interface" : "quaternion", "attribute" : "onquaternion", "quaternion" : { "q0" : 0.9998000264167786, "q1" : -0.0027000000700354576, "q2" : -0.010099999606609344, "q3" : 0.010900000110268593, "interval" : 220 } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
ストレス情報 | stress | object | Yes | ||
LFHF値 | lfhf | float | Yes | ターゲットデバイスによって測定されたLFHF値。 | |
タイムスタンプ (Unix時刻) | timeStamp | long | Yes | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 | |
タイムスタンプ (日付) | timeStampString | dateTime | Yes | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "stress" : { "lfhf" : 0.5, "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
interval | long | No | イベント受信間隔。単位:mSec |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
ストレス情報 | stress | object | Yes | ||
LFHF値 | lfhf | float | Yes | ターゲットデバイスによって測定されたLFHF値。 | |
タイムスタンプ (Unix時刻) | timeStamp | long | Yes | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 | |
タイムスタンプ (日付) | timeStampString | dateTime | Yes | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "stressestimation", "attribute" : "onstressestimation", "stress" : { "lfhf" : 0.5, "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
プロファイル一覧 | supports | array(string) | Yes | Device Connect Managerのサポートするプロファイル名の配列。 | |
プラグイン一覧 | plugins | array(object) | Yes | DeviceConnectシステムにインストールされているプラグインについての情報の配列。 | |
ID | id | string | Yes | DeviceConnectシステム上でプラグインを識別するためのID。 | |
名前 | name | string | Yes | プラグインの名前。 | |
バージョン | version | string | Yes | プラグインのバージョン名。 | |
プロファイル一覧 | supports | array(string) | Yes | プラグインのサポートするプロファイル名の配列。 | |
パッケージ名 | packageName | string | No | DeviceConnectシステムの実行環境(例:Android)でプラグインを識別するための名前。 |
Name | Type | Required | Description |
---|---|---|---|
pluginId | string | Yes |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
Name | Type | Required | Description |
---|
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
Name | Type | Required | Description |
---|
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
type | integer | No | 1:摂氏、2:華氏 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
温度 | tempareture | float | Yes | 温度の値。 |
単位 | type | integer | Yes | 1:摂氏、2:華氏 |
温度のタイムスタンプ | timeStamp | long | No | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 |
温度のタイムスタンプ文字列 | timeStampString | dateTime | No | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 |
{ "product" : "Example System", "version" : "1.0", "result" : 0, "temperature" : 25, "type" : 1, "timeStamp" : 1431856940275, "timeStampString" : "2015-05-17T10:02:20+09:00" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
temperature | integer | Yes | 温度の値。 |
type | integer | No | 1:摂氏、2:華氏 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "product" : "Example System", "version" : "1.0", "result" : 0 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | ||
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | ||
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | ||
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | ||
タッチイベント | touch | object | Yes | イベントの内容を保持するオブジェクト。 | ||
タッチ情報の配列 | touches | array(object) | Yes | 各タッチに関する情報の配列。 | ||
ID | id | integer | Yes | タッチを開始すると割り振られる、ユニーク(唯一)な識別番号。 | ||
x座標 | x | integer | Yes | デバイスが持つ空間の左上を原点としたx座標。 | ||
y座標 | y | integer | Yes | デバイスが持つ空間の左上を原点としたy座標。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "touch" : { "touches" : [ { "x" : 192, "y" : 168, "id" : 0 }, { "x" : 54, "y" : 200, "id" : 1 } ] } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
interval | long | No | イベント受信間隔。単位:mSec |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | ||
プロファイル名 | profile | string | Yes | プロファイル名。 | ||
インターフェース名 | interface | string | Yes | インターフェース名。 | ||
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | ||
タッチイベント | touch | object | Yes | イベントの内容を保持するオブジェクト。 | ||
タッチ情報の配列 | touches | array(object) | Yes | 各タッチに関する情報の配列。 | ||
ID | id | integer | Yes | タッチを開始すると割り振られる、ユニーク(唯一)な識別番号。 | ||
x座標 | x | integer | Yes | デバイスが持つ空間の左上を原点としたx座標。 | ||
y座標 | y | integer | Yes | デバイスが持つ空間の左上を原点としたy座標。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "touch", "attribute" : "ondoubletap", "touch" : { "touches" : [ { "x" : 192, "y" : 168, "id" : 0 }, { "x" : 54, "y" : 200, "id" : 1 } ] } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | ||
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | ||
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | ||
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | ||
タッチイベント | touch | object | Yes | イベントの内容を保持するオブジェクト。 | ||
タッチ情報の配列 | touches | array(object) | Yes | 各タッチに関する情報の配列。 | ||
ID | id | integer | Yes | タッチを開始すると割り振られる、ユニーク(唯一)な識別番号。 | ||
x座標 | x | integer | Yes | デバイスが持つ空間の左上を原点としたx座標。 | ||
y座標 | y | integer | Yes | デバイスが持つ空間の左上を原点としたy座標。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "touch" : { "touches" : [ { "x" : 256, "y" : 128, "id" : 0 }, { "x" : 64, "y" : 32, "id" : 1 } ] } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
interval | long | No | イベント受信間隔。単位:mSec |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | ||
プロファイル名 | profile | string | Yes | プロファイル名。 | ||
インターフェース名 | interface | string | Yes | インターフェース名。 | ||
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | ||
タッチイベント | touch | object | Yes | イベントの内容を保持するオブジェクト。 | ||
タッチ情報の配列 | touches | array(object) | Yes | 各タッチに関する情報の配列。 | ||
ID | id | integer | Yes | タッチを開始すると割り振られる、ユニーク(唯一)な識別番号。 | ||
x座標 | x | integer | Yes | デバイスが持つ空間の左上を原点としたx座標。 | ||
y座標 | y | integer | Yes | デバイスが持つ空間の左上を原点としたy座標。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "touch", "attribute" : "ontouch", "touch" : { "touches" : [ { "x" : 256, "y" : 128, "id" : 0 }, { "x" : 64, "y" : 32, "id" : 1 } ] } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | ||
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | ||
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | ||
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | ||
タッチイベント | touch | object | Yes | イベントの内容を保持するオブジェクト。 | ||
タッチ情報の配列 | touches | array(object) | Yes | 各タッチに関する情報の配列。 | ||
ID | id | integer | Yes | タッチを開始すると割り振られる、ユニーク(唯一)な識別番号。 | ||
x座標 | x | integer | Yes | デバイスが持つ空間の左上を原点としたx座標。 | ||
y座標 | y | integer | Yes | デバイスが持つ空間の左上を原点としたy座標。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "touch" : { "touches" : [ { "x" : 384, "y" : 192, "id" : 0 }, { "x" : 512, "y" : 256, "id" : 1 } ] } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
interval | long | No | イベント受信間隔。単位:mSec |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | ||
プロファイル名 | profile | string | Yes | プロファイル名。 | ||
インターフェース名 | interface | string | Yes | インターフェース名。 | ||
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | ||
タッチイベント | touch | object | Yes | イベントの内容を保持するオブジェクト。 | ||
タッチ情報の配列 | touches | array(object) | Yes | 各タッチに関する情報の配列。 | ||
ID | id | integer | Yes | タッチを開始すると割り振られる、ユニーク(唯一)な識別番号。 | ||
x座標 | x | integer | Yes | デバイスが持つ空間の左上を原点としたx座標。 | ||
y座標 | y | integer | Yes | デバイスが持つ空間の左上を原点としたy座標。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "touch", "attribute" : "ontouchcancel", "touch" : { "touches" : [ { "x" : 384, "y" : 192, "id" : 0 }, { "x" : 512, "y" : 256, "id" : 1 } ] } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
タッチの状態 | state | string | No | start:タッチを開始した。 end:タッチが終了した。 doubletap:ダブルタップが行われた。 move:タッチされ続けている。 cancel:タッチが中断された。 | |
タッチ情報の配列 | touches | array(object) | Yes | 各タッチに関する情報の配列。 | |
ID | id | integer | Yes | タッチを開始すると割り振られる、ユニーク(唯一)な識別番号。 | |
x座標 | x | integer | Yes | デバイスが持つ空間の左上を原点としたx座標。 | |
y座標 | y | integer | Yes | デバイスが持つ空間の左上を原点としたy座標。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "touch" : { "touches" : [ { "x" : 192, "y" : 168, "id" : 0 }, { "x" : 54, "y" : 200, "id" : 1 } ] } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
interval | long | No | イベント受信間隔。単位:mSec |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
タッチの状態 | state | string | No | start:タッチを開始した。 end:タッチが終了した。 doubletap:ダブルタップが行われた。 move:タッチされ続けている。 cancel:タッチが中断された。 | |
タッチ情報の配列 | touches | array(object) | Yes | 各タッチに関する情報の配列。 | |
ID | id | integer | Yes | タッチを開始すると割り振られる、ユニーク(唯一)な識別番号。 | |
x座標 | x | integer | Yes | デバイスが持つ空間の左上を原点としたx座標。 | |
y座標 | y | integer | Yes | デバイスが持つ空間の左上を原点としたy座標。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "touch", "attribute" : "ondoubletap", "touch" : { "touches" : [ { "x" : 192, "y" : 168, "id" : 0 }, { "x" : 54, "y" : 200, "id" : 1 } ] } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | ||
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | ||
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | ||
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | ||
タッチイベント | touch | object | Yes | イベントの内容を保持するオブジェクト。 | ||
タッチ情報の配列 | touches | array(object) | Yes | 各タッチに関する情報の配列。 | ||
ID | id | integer | Yes | タッチを開始すると割り振られる、ユニーク(唯一)な識別番号。 | ||
x座標 | x | integer | Yes | デバイスが持つ空間の左上を原点としたx座標。 | ||
y座標 | y | integer | Yes | デバイスが持つ空間の左上を原点としたy座標。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "touch" : { "touches" : [ { "x" : 384, "y" : 512, "id" : 0 }, { "x" : 512, "y" : 768, "id" : 1 } ] } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
interval | long | No | イベント受信間隔。単位:mSec |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | ||
プロファイル名 | profile | string | Yes | プロファイル名。 | ||
インターフェース名 | interface | string | Yes | インターフェース名。 | ||
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | ||
タッチイベント | touch | object | Yes | イベントの内容を保持するオブジェクト。 | ||
タッチ情報の配列 | touches | array(object) | Yes | 各タッチに関する情報の配列。 | ||
ID | id | integer | Yes | タッチを開始すると割り振られる、ユニーク(唯一)な識別番号。 | ||
x座標 | x | integer | Yes | デバイスが持つ空間の左上を原点としたx座標。 | ||
y座標 | y | integer | Yes | デバイスが持つ空間の左上を原点としたy座標。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "touch", "attribute" : "ontouchend", "touch" : { "touches" : [ { "x" : 384, "y" : 512, "id" : 0 }, { "x" : 512, "y" : 768, "id" : 1 } ] } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | ||
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | ||
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | ||
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | ||
タッチイベント | touch | object | Yes | イベントの内容を保持するオブジェクト。 | ||
タッチ情報の配列 | touches | array(object) | Yes | 各タッチに関する情報の配列。 | ||
ID | id | integer | Yes | タッチを開始すると割り振られる、ユニーク(唯一)な識別番号。 | ||
x座標 | x | integer | Yes | デバイスが持つ空間の左上を原点としたx座標。 | ||
y座標 | y | integer | Yes | デバイスが持つ空間の左上を原点としたy座標。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "touch" : { "touches" : [ { "x" : 16, "y" : 32, "id" : 0 }, { "x" : 32, "y" : 64, "id" : 1 } ] } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
interval | long | No | イベント受信間隔。単位:mSec |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | ||
プロファイル名 | profile | string | Yes | プロファイル名。 | ||
インターフェース名 | interface | string | Yes | インターフェース名。 | ||
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | ||
タッチイベント | touch | object | Yes | イベントの内容を保持するオブジェクト。 | ||
タッチ情報の配列 | touches | array(object) | Yes | 各タッチに関する情報の配列。 | ||
ID | id | integer | Yes | タッチを開始すると割り振られる、ユニーク(唯一)な識別番号。 | ||
x座標 | x | integer | Yes | デバイスが持つ空間の左上を原点としたx座標。 | ||
y座標 | y | integer | Yes | デバイスが持つ空間の左上を原点としたy座標。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "touch", "attribute" : "ontouchmove", "touch" : { "touches" : [ { "x" : 16, "y" : 32, "id" : 0 }, { "x" : 32, "y" : 64, "id" : 1 } ] } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | ||
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | ||
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | ||
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | ||
タッチイベント | touch | object | Yes | イベントの内容を保持するオブジェクト。 | ||
タッチ情報の配列 | touches | array(object) | Yes | 各タッチに関する情報の配列。 | ||
ID | id | integer | Yes | タッチを開始すると割り振られる、ユニーク(唯一)な識別番号。 | ||
x座標 | x | integer | Yes | デバイスが持つ空間の左上を原点としたx座標。 | ||
y座標 | y | integer | Yes | デバイスが持つ空間の左上を原点としたy座標。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "touch" : { "touches" : [ { "x" : 64, "y" : 32, "id" : 0 }, { "x" : 128, "y" : 256, "id" : 1 } ] } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
interval | long | No | イベント受信間隔。単位:mSec |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | ||
---|---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | ||
プロファイル名 | profile | string | Yes | プロファイル名。 | ||
インターフェース名 | interface | string | Yes | インターフェース名。 | ||
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | ||
タッチイベント | touch | object | Yes | イベントの内容を保持するオブジェクト。 | ||
タッチ情報の配列 | touches | array(object) | Yes | 各タッチに関する情報の配列。 | ||
ID | id | integer | Yes | タッチを開始すると割り振られる、ユニーク(唯一)な識別番号。 | ||
x座標 | x | integer | Yes | デバイスが持つ空間の左上を原点としたx座標。 | ||
y座標 | y | integer | Yes | デバイスが持つ空間の左上を原点としたy座標。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "touch", "attribute" : "ontouchstart", "touch" : { "touches" : [ { "x" : 64, "y" : 32, "id" : 0 }, { "x" : 128, "y" : 256, "id" : 1 } ] } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
電源状態 | powerstatus | string | Yes | ON:電源オン OFF:電源オフ UNKNOWN:不明 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
select | string | Yes | 放送波選択。 DTV : 地上波デジタル放送 BS : BS放送波 CS : CS放送波 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
tuning | string | No | 選局。1〜12:チャンネル番号 |
control | string | No | 操作。 next : 次局選局 previous : 前局選局 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
epc | array(string) | No | 取得プロパティのEPC。取得するプロパティのEPCをカンマ区切りで列挙。 |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
EPCのリスト | properties | array(object) | Yes | 指定されたEPCの配列。 | |
EPC | epc | string | Yes | ECHONET Property Code | |
設定値 | value | string | Yes | ECHONET Property Codeの設定値。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "properties" : [ { "epc" : "OperationStatus", "value" : "49" }, { "epc" : "InstallationLocation", "value" : "0" } ] }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
epc | string | Yes | EPC。 ECHONET Property Code |
value | string | Yes | EPCの設定値。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "epc" : "OperationStatus", "value" : "49" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
control | string | Yes | 操作。 up : ボリュームを上げる down : ボリュームを下げる |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象デバイス |
pattern | array(long) | No | バイブレーションのパターン。カンマ区切りで、震える、止まるを繰り返しバイブレーションする。カンマ区切りされていない場合は、そのms分バイブレーションする。省略された場合は、デバイス毎のMax値分バイブレーションする。デバイス毎にMax値が設定されていない場合は、500ms分バイブレーションする。 例) 100, 100, 100, 100 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象デバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0: 正常応答 0以外: 異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
addressId | string | No | アドレスID。指定しない場合は、接続できるすべてのアドレスを返却する。指定した場合は、接続先アドレスに対応する情報のみ取得できる。 |
config | string | No | コンフィグ。必要に応じてAPIキーなどを格納する任意の文字列。 |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
アドレス一覧 | addresses | array(object) | Yes | ||
デバイス名 | name | string | Yes | 接続先のデバイス名。 | |
アドレスID | addressId | string | Yes | 接続先のアドレスID。 | |
状態 | status | string | Yes | デバイスの状態
|
{ "product" : "Example System", "version" : "1.0", "result" : 0, "addresses" : [ { "name" : "Sample 1", "addressId" : "xxxxxx", "status" : "idle" }, { "name" : "Sample 2", "addressId" : "xxxxx", "status" : "calling" }, { "name" : "Sample 3", "addressId" : "xxxxx", "status" : "talking" } ] }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID |
addressId | string | Yes | 接続先のアドレス。 |
video | string | No | 映像リソースURI。
省略された場合は、trueと同じ扱い。 |
audio | string | No | 音声リソースURI。
省略された場合は、trueと同じ扱い。 |
config | string | No | コンフィグ。必要に応じてAPIキーなどを格納する任意の文字列。必要に応じてAPIキーなどを格納する任意の文字列。 |
outputs | string | No | 出力設定。
ホストデバイスの画面上に表示する場合はhostを指定する。省略された場合はhost指定として動作する。アプリケーション等でURIを参照して表示する場合は、appを指定する。 |
audioSampleRate | integer | No | サンプリング周波数。
サンプリング周波数を設定する。省略された場合は48000。 |
audioBitDepth | string | No | 量子化ビット数。
量子化ビット数を設定する。省略された場合はPCM_FLOAT。 |
audioChannel | string | No | チャンネル数。
チャンネル数を設定する。省略され場合は、Monaural。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "product" : "Example System", "version" : "1.0", "result" : 0 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
addressId | string | Yes | 接続先のアドレス。 |
config | string | No | コンフィグ。必要に応じてAPIキーなどを格納する任意の文字列。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "product" : "Example System", "version" : "1.0", "result" : 0 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
config | string | No | コンフィグ。必要に応じてAPIキーなどを格納する任意の文字列。 |
Logical Name | Physical Name | Type | Required | Description | |||
---|---|---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |||
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |||
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |||
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |||
発信元情報 | oncall | object | Yes | ||||
デバイス名 | name | string | Yes | 発信元のデバイス名。 | |||
アドレスID | addressId | string | Yes | 発信元のアドレスID。 | |||
相手局リソース情報 | remote | object | No | 相手局リソース情報 | |||
映像関連情報 | video | object | No | 映像関連情報 | |||
映像リソースURI | uri | string | No | 映像のリソースURI。省略された場合は映像無し。但し、videoとaudioの両方が省略されることは無い | |||
MIMEタイプ | mimeType | string | No | 映像リソースのMIMEタイプ。 | |||
フレームレート | frameRate | float | No | 映像リソースのフレームレート。 | |||
幅 | width | integer | No | 通知時点での幅(可変) | |||
高さ | height | integer | No | 通知時点での高さ(可変) | |||
音声関連情報 | audio | object | No | 音声関連情報 | |||
音声リソースURI | uri | string | No | 音声のリソースURI。省略された場合は音声無し。但し、videoとaudioの両方が省略されることは無い。 | |||
MIMEタイプ | mimeType | string | No | 音声リソースのMIMEタイプ。 | |||
サンプルレート | sampleRate | integer | No | 音声リソースのサンプルレート。 | |||
チャンネル数 | channels | integer | No | 音声リソースのチャンネル数。 | |||
サンプルサイズ | sampleSize | integer | No | 音声リソースのサンプルサイズ。 | |||
ブロックサイズ | blockSize | integer | No | 音声リソースのブロックサイズ。 | |||
自局リソース情報 | local | object | No | 自局リソース情報 | |||
映像関連情報 | video | object | No | 映像関連情報 | |||
映像リソースURI | uri | string | No | 映像のリソースURI。省略された場合は映像無し。但し、videoとaudioの両方が省略されることは無い | |||
MIMEタイプ | mimeType | string | No | 映像リソースのMIMEタイプ。 | |||
フレームレート | frameRate | float | No | 映像リソースのフレームレート。 | |||
幅 | width | integer | No | 通知時点での幅(可変) | |||
高さ | height | integer | No | 通知時点での高さ(可変) | |||
音声関連情報 | audio | object | No | 音声関連情報 | |||
音声リソースURI | uri | string | No | 音声のリソースURI。省略された場合は音声無し。但し、videoとaudioの両方が省略されることは無い。 | |||
MIMEタイプ | mimeType | string | No | 音声リソースのMIMEタイプ。 | |||
サンプルレート | sampleRate | integer | No | 音声リソースのサンプルレート。 | |||
チャンネル数 | channels | integer | No | 音声リソースのチャンネル数。 | |||
サンプルサイズ | sampleSize | integer | No | 音声リソースのサンプルサイズ。 | |||
ブロックサイズ | blockSize | integer | No | 音声リソースのブロックサイズ。 |
{ "product" : "Example System", "version" : "1.0", "result" : 0, "oncall" : [ { "name" : "xxxx", "addressId" : "xxxx" } ] }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
config | string | No | コンフィグ。必要に応じてAPIキーなどを格納する任意の文字列。 |
interval | long | No | イベント受信間隔。単位:mSec |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "product" : "Example System", "version" : "1.0", "result" : 0 }
Logical Name | Physical Name | Type | Required | Description | |||
---|---|---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |||
プロファイル名 | profile | string | Yes | プロファイル名。 | |||
インターフェース名 | interface | string | Yes | インターフェース名。 | |||
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |||
発信元情報 | oncall | object | Yes | ||||
デバイス名 | name | string | Yes | 発信元のデバイス名。 | |||
アドレスID | addressId | string | Yes | 発信元のアドレスID。 | |||
相手局リソース情報 | remote | object | No | 相手局リソース情報 | |||
映像関連情報 | video | object | No | 映像関連情報 | |||
映像リソースURI | uri | string | No | 映像のリソースURI。省略された場合は映像無し。但し、videoとaudioの両方が省略されることは無い | |||
MIMEタイプ | mimeType | string | No | 映像リソースのMIMEタイプ。 | |||
フレームレート | frameRate | float | No | 映像リソースのフレームレート。 | |||
幅 | width | integer | No | 通知時点での幅(可変) | |||
高さ | height | integer | No | 通知時点での高さ(可変) | |||
音声関連情報 | audio | object | No | 音声関連情報 | |||
音声リソースURI | uri | string | No | 音声のリソースURI。省略された場合は音声無し。但し、videoとaudioの両方が省略されることは無い。 | |||
MIMEタイプ | mimeType | string | No | 音声リソースのMIMEタイプ。 | |||
サンプルレート | sampleRate | integer | No | 音声リソースのサンプルレート。 | |||
チャンネル数 | channels | integer | No | 音声リソースのチャンネル数。 | |||
サンプルサイズ | sampleSize | integer | No | 音声リソースのサンプルサイズ。 | |||
ブロックサイズ | blockSize | integer | No | 音声リソースのブロックサイズ。 | |||
自局リソース情報 | local | object | No | 自局リソース情報 | |||
映像関連情報 | video | object | No | 映像関連情報 | |||
映像リソースURI | uri | string | No | 映像のリソースURI。省略された場合は映像無し。但し、videoとaudioの両方が省略されることは無い | |||
MIMEタイプ | mimeType | string | No | 映像リソースのMIMEタイプ。 | |||
フレームレート | frameRate | float | No | 映像リソースのフレームレート。 | |||
幅 | width | integer | No | 通知時点での幅(可変) | |||
高さ | height | integer | No | 通知時点での高さ(可変) | |||
音声関連情報 | audio | object | No | 音声関連情報 | |||
音声リソースURI | uri | string | No | 音声のリソースURI。省略された場合は音声無し。但し、videoとaudioの両方が省略されることは無い。 | |||
MIMEタイプ | mimeType | string | No | 音声リソースのMIMEタイプ。 | |||
サンプルレート | sampleRate | integer | No | 音声リソースのサンプルレート。 | |||
チャンネル数 | channels | integer | No | 音声リソースのチャンネル数。 | |||
サンプルサイズ | sampleSize | integer | No | 音声リソースのサンプルサイズ。 | |||
ブロックサイズ | blockSize | integer | No | 音声リソースのブロックサイズ。 |
{ "servieId" : "xxxxx", "profile" : "videochat", "attribute" : "oncall", "oncall" : [ { "name" : "xxxx", "addressId" : "xxxx" } ] }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "product" : "Example System", "version" : "1.0", "result" : 0 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID |
config | string | No | コンフィグ。必要に応じてAPIキーなどを格納する任意の文字列。 |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
接続先情報 | hangup | object | Yes | 接続先のデバイスの情報を格納したオブジェクト。 | |
アドレス | addressId | string | Yes | 接続先のアドレスID。 |
{ "product" : "Example System", "version" : "1.0", "result" : 0, "hangup" : { "addressId" : "xxxx" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
config | string | No | コンフィグ。必要に応じてAPIキーなどを格納する任意の文字列。 |
interval | long | No | イベント受信間隔。単位:mSec |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "product" : "Example System", "version" : "1.0", "result" : 0 }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
接続先情報 | hangup | object | Yes | 接続先のデバイスの情報を格納したオブジェクト。 | |
アドレス | addressId | string | Yes | 接続先のアドレスID。 |
{ "servieId" : "xxxxx", "profile" : "videochat", "attribute" : "hangup", "hangup" : { "addressId" : "xxxx" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "product" : "Example System", "version" : "1.0", "result" : 0 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
config | string | No | コンフィグ。必要に応じてAPIキーなどを格納する任意の文字列。 |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
発信元情報 | incoming | object | Yes | 発信元デバイスの情報を格納したオブジェクト。 | |
デバイス名 | name | string | Yes | 発信元のデバイス名。 | |
アドレスID | addressId | string | Yes | 発信元のアドレスID。 |
{ "product" : "Example System", "version" : "1.0", "result" : 0, "incoming" : { "name" : "xxxx", "addressId" : "xxxx" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
config | string | No | イベント受信間隔。単位:mSec |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "product" : "Example System", "version" : "1.0", "result" : 0 }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
発信元情報 | incoming | object | Yes | 発信元デバイスの情報を格納したオブジェクト。 | |
デバイス名 | name | string | Yes | 発信元のデバイス名。 | |
アドレスID | addressId | string | Yes | 発信元のアドレスID。 |
{ "servieId" : "xxxxx", "profile" : "videochat", "attribute" : "incoming", "incoming" : { "name" : "xxxx", "addressId" : "xxxx" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "product" : "Example System", "version" : "1.0", "result" : 0 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
config | string | No | コンフィグ。必要に応じてAPIキーなどを格納する任意の文字列。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
名前 | name | string | Yes | デバイス自身の名前。 |
アドレスID | addressId | string | Yes | デバイス自身のアドレスID。 |
{ "product" : "Example System", "version" : "1.0", "result" : 0, "name" : "WebRTC Service", "addressId" : "xxxxx" }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。 |
name | string | Yes | デバイスに付ける新規の名前 |
config | string | No | コンフィグ。必要に応じてAPIキーなどを格納する任意の文字列 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "product" : "Example System", "version" : "1.0", "result" : 0 }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 | |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 | |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 | |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 | |
歩行情報 | walk | object | Yes | ||
歩数 | step | double | Yes | 歩数。単位は歩。 | |
歩行状態 | state | string | Yes |
| |
速度 | speed | double | Yes | 速度。単位はkm/h。 | |
距離 | distance | double | No | 距離。単位はkm。 | |
左右バランス | balance | double | Yes | 左右のバランス。1に近いほど左右のバランスが良い。 -1.0〜1.0 | |
タイムスタンプ (Unix時刻) | timeStamp | long | Yes | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 | |
タイムスタンプ (日付) | timeStampString | dateTime | Yes | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "walk" : { "step" : 123456, "state" : "Walking", "speed" : 5.799, "distance" : 12.3456, "balance" : 0.16, "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
interval | long | No | デバイスプラグインがイベントを送信する間隔。 |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
Logical Name | Physical Name | Type | Required | Description | |
---|---|---|---|---|---|
サービスID | serviceId | string | Yes | イベントを送信したサービスのID | |
プロファイル名 | profile | string | Yes | プロファイル名。 | |
インターフェース名 | interface | string | Yes | インターフェース名。 | |
アトリビュート名 | attribute | string | Yes | アトリビュート名。 | |
歩行情報 | walk | object | Yes | ||
歩数 | step | double | Yes | 歩数。単位は歩。 | |
歩行状態 | state | string | Yes |
| |
速度 | speed | double | Yes | 速度。単位はkm/h。 | |
距離 | distance | double | No | 距離。単位はkm。 | |
左右バランス | balance | double | Yes | 左右のバランス。1に近いほど左右のバランスが良い。 -1.0〜1.0 | |
タイムスタンプ (Unix時刻) | timeStamp | long | Yes | 測定が行われた測定時間。ミリ秒のUnixタイムスタンプで返す。 | |
タイムスタンプ (日付) | timeStampString | dateTime | Yes | タイムスタンプと同じタイムスタンプをRFC3339「yyyy-MM-dd'T'HH:mm:ssZZZZZ」の形式で返す。 |
{ "serviceId" : "Host.dummyId.localhost.deviceconnect.org", "profile" : "walkstate", "attribute" : "onwalkstate", "walk" : { "step" : 123456, "state" : "Walking", "speed" : 5.799, "distance" : 12.3456, "balance" : 0.16, "timeStamp" : 1483241696789, "timeStampString" : "2015-05-17T10:02:20+09:00" } }
Name | Type | Required | Description |
---|---|---|---|
serviceId | string | Yes | サービスID。取得対象スマートデバイス |
Logical Name | Physical Name | Type | Required | Description |
---|---|---|---|---|
処理結果 | result | integer | Yes | 0:正常応答 0以外:異常応答 |
システム名 | product | string | Yes | DeviceConnectシステムの名前。 |
システムバージョン | version | string | Yes | DeviceConnectシステムのバージョン名。 |
署名 | hmac | string | No | レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }